17 days ago
I'm trying to run the npx prisma migrate status command—it doesn't work; it says bash: npx: command not found. Even the node -v command doesn't work. I open the console in the Nest.js service. I used to do the same thing and it worked, but now it doesn't.
Pinned Solution
16 days ago
You can try run it with mise exec command
mise exec -- npx prisma migrate status
11 Replies
Status changed to Awaiting Railway Response Railway • 17 days ago
17 days ago
This is the kind of problem the Railway community is well placed to help with, so we'd like to open your thread as a community bounty. Railway pays a bounty to the community member who solves it, and threads like this usually get picked up quickly.
Opening it makes this entire thread public, including everything already posted. Nothing becomes public until you decide. Use the buttons below.
- Open to the community - Before you click, take a moment to edit or remove anything you'd rather not share. The thread becomes publicly visible right away.
- Keep it private and close the thread - Nothing becomes public and the thread closes.
Status changed to Awaiting User Response Railway • 17 days ago
16 days ago
This thread has been opened as a public bounty so the community can help solve it. The thread and any further activity are now visible to everyone.
Status changed to Open Railway • 16 days ago
16 days ago
Have you tried selecting your service, then press Cmd/Ctrl + K, then deploy latest commit?
16 days ago
yes, the same problem
0x5b62656e5d
Have you tried selecting your service, then press Cmd/Ctrl + K, then deploy latest commit?
16 days ago
yes, the same problem
16 days ago
Try creating a new service and see if running Node commands work in Console.
0x5b62656e5d
Try creating a new service and see if running Node commands work in Console.
16 days ago
no, the same
0x5b62656e5d
Are you using Railpack as the builder?
16 days ago
yes, Railpack
16 days ago
Try using a custom Dockerfile setup and see if the Node commands work in Console.
16 days ago
You can try run it with mise exec command
mise exec -- npx prisma migrate status
mayori
You can try run it with mise exec command `mise exec -- npx prisma migrate status`
16 days ago
It works!!! Thank you
Status changed to Solved 0x5b62656e5d • 16 days ago