Deploy Next JS
Hello all, please, I'm trying to deploy a next app and it keeps failing with
ERROR: failed to solve: process "/bin/bash -ol pipefail -c npm ci"
I have tried deleting my package-json.lock
and also changed the scripts in package.json
and no luck.13 Replies
Project ID:
b4d30bfa-5ca3-4c7c-a171-4184576ea060
b4d30bfa-5ca3-4c7c-a171-4184576ea060
full build logs please https://bookmarklets.up.railway.app/log-downloader/
make sure your lock file is in sync
you can delete the lock file and then run
npm install
to generate a new lock fileI have done that and still not working!
does it still say your lock file is out of sync?
The logs right? yeah it does
what version of node are you using locally
Am I supposed to change my scripts away from the default "next build"?
v18.16.1
install the 18 LTS version of node, railway uses a higher version than what you have installed
Alright
upgrading node has only caused me more issues that i'm still trying to debug. I'm seeing menory leak errors
thats not good