trigger.dev icon indicating copy to clipboard operation
trigger.dev copied to clipboard

bug: Add deno support for the cli

Open hongkongkiwi opened this issue 9 months ago • 1 comments

Provide environment information

I'm using deno and I'd like to run the CLI, but I don't see any examples and can't seem to make it work.

Is it possible to update the documentation onw how to do this?

Describe the bug

I've tried this, but it doesn't seem to work:

deno run -A --node-modules-dir npm:trigger.dev dev
error: [ERR_MODULE_NOT_FOUND] Cannot find module 'file:///Users/andy/Development/patrol6/trigger-ai-report/node_modules/.deno/[email protected]/node_modules/xdg-app-paths/src/mod.deno.ts' imported from 'file:///Users/andy/Development/patrol6/trigger-ai-report/node_modules/.deno/[email protected]/node_modules/trigger.dev/dist/esm/imports/xdg-app-paths.js'

I couldn't find any examples of using deno to run the trigger.dev cli.

Reproduction repo

Trigger.dev CLI run with Deno?

To reproduce

As above

Additional information

No response

hongkongkiwi avatar Mar 29 '25 17:03 hongkongkiwi

bumping this

Ltony2022 avatar Jul 22 '25 05:07 Ltony2022