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
Percy2y ago
Project ID: 6610ed88-7e24-4d2e-9ac6-0d37f09700cc
Brody
Brody2y ago
you want the syntax ${PORT-3000}
ova.design
ova.designOP2y ago
Still getting these warnings on my deploy log...😭
Brody
Brody2y ago
whats the memory metrics look like?
ova.design
ova.designOP2y ago
ova.design
ova.designOP2y ago
512 mb?
Brody
Brody2y 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.designOP2y ago
ohh I see Thanks
Want results from more Discord servers?
Add your server