3 years ago
Node.js v18.18.2
npm WARN config production Use --omit=dev instead.
[email protected] start
node server.js
node:internal/modules/cjs/loader:1080
throw err;
^
Error: Cannot find module '/app/server.js'
at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15)
at Module._load (node:internal/modules/cjs/loader:922:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:86:12)
at node:internal/main/run_main_module:23:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
i get this error then the app crashes not too sure how to deploy first time trying to do his
ⓘ Deployment information is only viewable by Project members and Railway admins.
12 Replies
3 years ago
i don't have access to change it to public
3 years ago
i could share the zip file if thats any use?
3 years ago
No thank you, please let me know when you can make the repo public so that I can help you further.
3 years ago
ah no worries
3 years ago
its a school thing so i dont have full access
3 years ago
im not sure if this repo is helpful though