Port Listening issue with Deployment

Hi, my project id is: 6610ed88-7e24-4d2e-9ac6-0d37f09700cc My repo address is here: https://github.com/OVArchitect/DCL-Studio-Challenge_3D-Modeling I am new to coding and trying to deploy my first nodejs npm project here at railway but kept getting the: "Looks like your app is listening on 127.0.0.1. You may need to listen on 0.0.0.0 instead." error. I tried changing the port on my package.json file to 3000, setting env variable "PORT" to 3000 and the error is gone but keep getting this loop of warning in the deploy log instead. See below. npm WARN config production Use --omit=dev instead.
[email protected] start CI=true npm run start -p ${PORT:=3000}
npm WARN config production Use --omit=dev instead.
[email protected] start CI=true npm run start -p ${PORT:=3000} 3000
npm WARN config production Use --omit=dev instead.
[email protected] start CI=true npm run start -p ${PORT:=3000} 3000 3000
npm WARN config production Use --omit=dev instead.
[email protected] start CI=true npm run start -p ${PORT:=3000} 3000 3000 3000
npm WARN config production Use --omit=dev instead.
[email protected] start CI=true npm run start -p ${PORT:=3000} 3000 3000 3000 3000
npm WARN config production Use --omit=dev instead.
[email protected] start CI=true npm run start -p ${PORT:=3000} 3000 3000 3000 3000 3000
npm WARN config production Use --omit=dev instead.
[email protected] start CI=true npm run start -p ${PORT:=3000} 3000 3000 3000 3000 3000 3000
npm WARN config production Use --omit=dev instead.
[email protected] start CI=true npm run start -p ${PORT:=3000} 3000 3000 3000 3000 3000 3000 3000
npm WARN config production Use --omit=dev instead.
[email protected] start CI=true npm run start -p ${PORT:=3000} 3000 3000 3000 3000 3000 3000 3000 3000
Please help. Thank you in advance!
GitHub
GitHub - OVArchitect/DCL-Studio-Challenge_3D-Modeling: This scene i...
This scene is built for Decentraland Studio Verification Process Challenges - 3D Modeling - GitHub - OVArchitect/DCL-Studio-Challenge_3D-Modeling: This scene is built for Decentraland Studio Verifi...
8 Replies
Percy
Percy17mo ago
Project ID: 6610ed88-7e24-4d2e-9ac6-0d37f09700cc
Brody
Brody17mo ago
you want the syntax ${PORT-3000}
ova.design
ova.design17mo ago
Still getting these warnings on my deploy log...😭
Brody
Brody17mo ago
whats the memory metrics look like?
ova.design
ova.design17mo ago
ova.design
ova.design17mo ago
512 mb?
Brody
Brody17mo ago
your app is simply crashing you only have 512mb of ram on the trial plan, just upgrade to the dev plan and redeploy
ova.design
ova.design17mo ago
ohh I see Thanks
Want results from more Discord servers?
Add your server