No such module "wrangler:modules-watch"

Anyone seen this before? No such module "wrangler:modules-watch"
⎔ Starting local server...
[wrangler:inf] Ready on http://localhost:5010
✘ [ERROR] service core:user:phosphor-server: Uncaught Error: No such module "wrangler:modules-watch".

imported from "_worker.js"


✘ [ERROR] MiniflareCoreError [ERR_RUNTIME_FAILURE]: The Workers runtime failed to start. There is likely additional logging output above.
⎔ Starting local server...
[wrangler:inf] Ready on http://localhost:5010
✘ [ERROR] service core:user:phosphor-server: Uncaught Error: No such module "wrangler:modules-watch".

imported from "_worker.js"


✘ [ERROR] MiniflareCoreError [ERR_RUNTIME_FAILURE]: The Workers runtime failed to start. There is likely additional logging output above.
No description
2 Replies
Cole
ColeOP4mo ago
GitHub
🐛 BUG: Wrangler is injecting development code in production builds ...
Which Cloudflare product(s) does this pertain to? Wrangler core What version(s) of the tool(s) are you using? 3.14.0 What version of Node are you using? v18.17.0 What operating system are you using...
Cole
ColeOP4mo ago
If I include terser plugin, I don't get this error, so it must be kinda similar to the above issue, where this import should have been dropped out of the build.
Want results from more Discord servers?
Add your server