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

[TRI-4726] Deploys don't work on Windows if there's a space in the project path

Open matt-aitken opened this issue 10 months ago • 1 comments

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.

TRI-4726

matt-aitken avatar Mar 05 '25 17:03 matt-aitken

this is happening for me too. took me 2 hours to get here :(

MendyLanda avatar Apr 03 '25 19:04 MendyLanda