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
Percy
Percy14mo ago
Project ID: b4d30bfa-5ca3-4c7c-a171-4184576ea060
Duckworth
DuckworthOP14mo ago
b4d30bfa-5ca3-4c7c-a171-4184576ea060
Brody
Brody14mo ago
make sure your lock file is in sync you can delete the lock file and then run npm install to generate a new lock file
Duckworth
DuckworthOP14mo ago
I have done that and still not working!
Brody
Brody14mo ago
does it still say your lock file is out of sync?
Duckworth
DuckworthOP14mo ago
The logs right? yeah it does
Brody
Brody14mo ago
what version of node are you using locally
Duckworth
DuckworthOP14mo ago
Am I supposed to change my scripts away from the default "next build"? v18.16.1
Brody
Brody14mo ago
install the 18 LTS version of node, railway uses a higher version than what you have installed
Duckworth
DuckworthOP14mo ago
Alright upgrading node has only caused me more issues that i'm still trying to debug. I'm seeing menory leak errors
Brody
Brody14mo ago
thats not good
Want results from more Discord servers?
Add your server