trying to deploy my angular project

s00213947
HOBBYOP

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

at node:internal/main/runmainmodule:23:47 {

code: 'MODULENOTFOUND',

requireStack: []

}

i get this error then the app crashes not too sure how to deploy first time trying to do his

View Deploy details

ⓘ Deployment information is only viewable by Project members and Railway admins.

12 Replies

2 years ago

Can you please share your repo?



2 years ago

It's private.


s00213947
HOBBYOP

2 years ago

i don't have access to change it to public


2 years ago

I would be left guessing on how to help you deploy this properly then.


s00213947
HOBBYOP

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.


s00213947
HOBBYOP

2 years ago

ah no worries


2 years ago

If you want to add me, that can work too.


s00213947
HOBBYOP

2 years ago

its a school thing so i dont have full access


s00213947
HOBBYOP

2 years ago


s00213947
HOBBYOP

2 years ago

im not sure if this repo is helpful though


Loading...
trying to deploy my angular project - Railway Help Station