You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Deploy fails when there is a file that exports only a type in a trigger directory.
TypeError: Cannot convert undefined or null to object
at Function.keys (<anonymous>)
at getExportNames (file:///.npm/_npx/b408398ddf001950/node_modules/trigger.dev/src/indexing/registerTasks.ts:76:19)
at registerTasks (file:///.npm/_npx/b408398ddf001950/node_modules/trigger.dev/src/indexing/registerTasks.ts:28:30)
at bootstrap (file:///.npm/_npx/b408398ddf001950/node_modules/trigger.dev/src/entryPoints/deploy-index-worker.ts:89:24)
at file:///.npm/_npx/b408398ddf001950/node_modules/trigger.dev/src/entryPoints/deploy-index-worker.ts:99:49
Provide environment information
System:
OS: macOS 15.3
CPU: (12) arm64 Apple M4 Pro
Memory: 267.28 MB / 24.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 22.12.0 - ~/.nvm/versions/node/v22.12.0/bin/node
Yarn: 1.22.22 - ~/.nvm/versions/node/v22.12.0/bin/yarn
npm: 11.0.0 - ~/.nvm/versions/node/v22.12.0/bin/npm
Describe the bug
Deploy fails when there is a file that exports only a type in a trigger directory.
Reproduction repo
.
To reproduce
Use the default
trigger.config.ts
file with:Add a
trigger/HelloWorld.ts
file with the following contents :Deploy
npx [email protected] deploy
Additional information
No response
The text was updated successfully, but these errors were encountered: