Error: Cannot find module '/app/src/app.js' on deploy
i have this script on my package.json
"start": "cross-env NODE_ENV=production node ./src/app.js",
9 Replies
Project ID:
N/A
You might find these helpful:
- how to deploy an app with node. I'm a beginner
- Deploy nuxt 3 in node-mode
- Error generating domain
⚠️ experimental feature
ID: 072ec81
that's not the id btw
also, you probably don't need cross-env as NODE_ENV will be set to production on railway by default. so just try your start command as
node src/app.js
i think that script it wrong. i fixed here, i will try
just try what I said
worked
ty
bruh
why are people so stubborn