trigger.dev
trigger.dev copied to clipboard
[TRI-4726] Deploys don't work on Windows if there's a space in the project path
If you try and do a deploy and there's a space character anywhere in the path the deploy will fail with an error like this:
Error: Cannot find module '/YOUR%20PROJECT/trigger.config.mjs' imported from .../Local/npm-cache/_npx/f51a09bd0abf5f10/node_modules/trigger.dev/dist/esm/entryPoints/deploy-index-worker.mjs'
Temporary fix: don't have a space in the file path on Windows.
this is happening for me too. took me 2 hours to get here :(