#npx trigger.dev@latest dev not working for the tutorial

1 messages · Page 1 of 1 (latest)

true egret
#

Hi, I have a question.
npx trigger.dev@latest init -p xxx
no error and get

├── src
│   └── trigger
│       └── example.ts
└── trigger.config.ts

then run
npx trigger.dev@latest dev
get

Trigger.dev (3.0.10)
------------------------------------------------------
Key: Version | Task | Run
------------------------------------------------------
○ Building background worker…
✘ [ERROR] Could not resolve "trigger/**/*.ts"


✘ [ERROR] Could not resolve "trigger/**/*.js"


✘ [ERROR] Could not resolve "trigger/**/*.tsx"


✘ [ERROR] Could not resolve "trigger/**/*.mts"


✘ [ERROR] Could not resolve "trigger/**/*.cts"


✘ [ERROR] Could not resolve "trigger/**/*.mjs"


✘ [ERROR] Could not resolve "trigger/**/*.jsx"


✘ [ERROR] Could not resolve "trigger/**/*.cjs"


X Error: Failed to build

what's the problem? I am on ubuntu.

#

npx trigger.dev@latest dev not working for the tutorial

manic storm
#

Can you run this and share the output?

npx envinfo --system --binaries

elfin bear
#

I've seen this error before, tends to happen when there's to package.json - could you share more details about your directory structure and repo setup? @true egret