4 months ago
fullstack-project@1.0.0 start:backend
[1] > cd server && npm install && nodemon app.js
[1]
[0] npm warn config production Use --omit=dev
instead.
[1] npm warn config production Use --omit=dev
instead.
[1]
[1] up to date, audited 1515 packages in 8s
[1]
[1] 276 packages are looking for funding
[1] run npm fund
for details
[1]
[1] 12 vulnerabilities (2 moderate, 9 high, 1 critical)
[1]
[1] To address all issues possible (including breaking changes), run:
[1] npm audit fix --force
[1]
[1] Some issues need review, and may require choosing
[1] a different dependency.
[1]
[1] Run npm audit
for details.
[1] sh: 1: nodemon: not found
[1] npm run start:backend exited with code 127
[0]
[0] up to date, audited 1514 packages in 8s
[0]
[0] 275 packages are looking for funding
[0] run npm fund
for details
[0]
[0] 12 vulnerabilities (2 moderate, 9 high, 1 critical)
[0]
[0] To address all issues possible (including breaking changes), run:
[0] npm audit fix --force
[0]
[0] Some issues need review, and may require choosing
[0] a different dependency.
[0]
[0] Run npm audit
for details.
[0] npm warn config production Use --omit=dev
instead.
[0]
[0] > fullstack-project@1.0.0 start
[0] > react-scripts start
[0]
[0] sh: 1: react-scripts: Permission denied
[0] npm run start:frontend exited with code 126
ⓘ Deployment information is only viewable by project members and Railway employees.
1 Replies
4 months ago
Hello,
Given this is a monorepo, please see our docs on how to set it up -
https://docs.railway.com/tutorials/deploying-a-monorepo
And you will also need to make sure you are deploying a production ready frontend, but thats simple enough -
https://github.com/brody192/create-react-app-starter
Copy the nixpacks.toml and Caddyfile into your frontend's folder.