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