6 months ago
Hi!
deployment id: 39042c42-7ff3-446f-9d88-866acc362d7d
Moving from nixpack to railpack. I configured railpack.json because I need to omit some conflicting dependency with --legacy-peer-deps, but now I am getting an error that package.json not found?
{
"$schema": "https://schema.railpack.com",
"steps": {
"install": {
"commands": ["npm install --legacy-peer-deps"]
},
"build": {
"inputs": [{ "step": "install" }],
"commands": ["...", "./my-custom-build.sh"]
}
},
"deploy": {
"startCommand": "node dist/index.js"
}
}
I set RAILPACKS_NODE_VERSION=24.5.0
I'm stuck. What am I missing?
3 Replies
6 months ago
Hey there! We've found the following might help you get unblocked faster:
If you find the answer from one of these, please let us know by solving the thread!
6 months ago
Please file this issue on the github.com/railwayapp/railpack repo and we will have a look!
Status changed to Awaiting User Response Railway • 6 months ago
jake
Please file this issue on the github.com/railwayapp/railpack repo and we will have a look!
6 months ago
https://github.com/railwayapp/railpack/issues/211
I have also update the env variable from the plural to the singular form.
New deployment: 723c1e90-1b09-4cd6-8749-5a5094926203
Status changed to Awaiting Railway Response Railway • 6 months ago
Status changed to Solved parmstar • 6 months ago
