2 years ago
Node.js v18.18.2
npm WARN config production Use --omit=dev instead.
client-app2022@0.0.0 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
2 years ago
i don't have access to change it to public
2 years ago
i could share the zip file if thats any use?
2 years ago
No thank you, please let me know when you can make the repo public so that I can help you further.
2 years ago
ah no worries
2 years ago
its a school thing so i dont have full access
2 years ago
i made a clone of the repo
2 years ago
im not sure if this repo is helpful though