"This deployment failed" without any further information
This is everything it shows. Wrangler and the dashboard (other than this one icon) don't give any clue as to why it is not working. Running the SvelteKit project locally works fine. What is the issue?
Deployment ID: ee81c27c-41f0-49e0-b0e1-b663981dfe11
2 Replies
The error for that deployment is
Uncaught Error: No such module "node:path". imported from "bundledWorker-0.7143084531785224.mjs"There is a known limitation where these error messages are not shown to the user in some cases that the team are aware of. As for why that is happening, I suspect you need to add the
nodejs_compat
compatability flag to the project in the dashboard?
https://developers.cloudflare.com/workers/runtime-apis/nodejs/#enable-nodejs-with-pages-functionsThat was it thank you very much!