Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deploy it by railway.app #5

Open
aikojiang opened this issue Apr 13, 2023 · 1 comment
Open

deploy it by railway.app #5

aikojiang opened this issue Apr 13, 2023 · 1 comment

Comments

@aikojiang
Copy link

I tried to deploy it by railway.app. Everything seems fine, but nothing come up at the web page, I got the message 'This application failed to respond'.

I tried to setup it with the following,
╔══════════════ Nixpacks v1.5.1 ══════════════╗
║ setup │ nodejs-16_x, yarn-1_x ║
║─────────────────────────── ║
║ install │ yarn install --frozen-lockfile ║
║─────────────────────────── ║
║ build │ yarn ║
║─────────────────────────── ║
║ start │ yarn dev ║
╚══════════════════════════════════════╝

Would you be so kind as to tell me how to set it up with railway.app. I'm really new in all this. Thanks in advance.

@GautamYadav19
Copy link

GautamYadav19 commented Jun 26, 2023

"scripts": {

"start": "node  server/server.js"

},
use this ,in your "package.json" file
this will resolve the problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants