R
Railway•12mo ago
yuyu

Build Fail

When i dowload cookie parser build fails
{
"name": "gildnovel",
"version": "1.0.0",
"description": "",
"main": "index.js",
"engines": {
"node": "18.x"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "node ."
},
"repository": {
"type": "git",
"url": "git+https://github.com/yuyulbm/novels.git"
},
"keywords": [],
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/yuyulbm/novels/issues"
},
"homepage": "https://github.com/yuyulbm/novels",
"dependencies": {
"axios": "^0.27.2",
"cookie-parser": "^1.4.6",
"cors": "^2.8.5",
"cypress": "^13.1.0",
"dotenv": "^16.3.1",
"express": "^4.18.1",
"jsonwebtoken": "^8.5.1",
"mongoose": "^6.0.12",
"multer": "^1.4.3",
"node": "^17.3.0",
"nodemon": "^3.0.1",
"path": "^0.12.7"
}
}
{
"name": "gildnovel",
"version": "1.0.0",
"description": "",
"main": "index.js",
"engines": {
"node": "18.x"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "node ."
},
"repository": {
"type": "git",
"url": "git+https://github.com/yuyulbm/novels.git"
},
"keywords": [],
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/yuyulbm/novels/issues"
},
"homepage": "https://github.com/yuyulbm/novels",
"dependencies": {
"axios": "^0.27.2",
"cookie-parser": "^1.4.6",
"cors": "^2.8.5",
"cypress": "^13.1.0",
"dotenv": "^16.3.1",
"express": "^4.18.1",
"jsonwebtoken": "^8.5.1",
"mongoose": "^6.0.12",
"multer": "^1.4.3",
"node": "^17.3.0",
"nodemon": "^3.0.1",
"path": "^0.12.7"
}
}
No description
25 Replies
Percy
Percy•12mo ago
Project ID: N/A
yuyu
yuyuOP•12mo ago
n/a
yuyu
yuyuOP•12mo ago
Oh kk I'm on mobile rn despair
yuyu
yuyuOP•12mo ago
got em
Brody
Brody•12mo ago
`npm ci` can only install packages when your package.json and package-lock.json or npm-shrinkwrap.json are in sync. Please update your lock file with `npm install` before continuing.
`npm ci` can only install packages when your package.json and package-lock.json or npm-shrinkwrap.json are in sync. Please update your lock file with `npm install` before continuing.
yuyu
yuyuOP•12mo ago
Hmm 🤔 How do you do npm install in railway?
Brody
Brody•12mo ago
you do it locally and then push the changes to github
yuyu
yuyuOP•12mo ago
Okay I'll see what I can do Okay so sorry to bother more but I want able to do anything since idk what to put in the lock file only on the normal one
Brody
Brody•12mo ago
you simply delete your lock file and run npm install to regen it, then push the changes
yuyu
yuyuOP•12mo ago
Oh alr alr Ima have to run on replit since I don't have vsc Gimme a sec
Brody
Brody•12mo ago
why do you need vscode?
yuyu
yuyuOP•12mo ago
To run the command Right? I got the code on github That's where I mostly do everything
Brody
Brody•12mo ago
no? just clone the repo locally, delete the file, run the command, push the changes
yuyu
yuyuOP•12mo ago
On GitHub?
Brody
Brody•12mo ago
locally
yuyu
yuyuOP•12mo ago
I don't understand sorry
Brody
Brody•12mo ago
have you ever cloned a repo to your computer
yuyu
yuyuOP•12mo ago
Not really I mostly do everything on my phone And the more complicated stuff on pc I edit everything on GitHub.dev
Brody
Brody•12mo ago
then do it that way then?
yuyu
yuyuOP•12mo ago
I'll try I never ran commands on GitHub.dev Cause here's the like the one where you can see console It I use the one where you can't see console
Brody
Brody•12mo ago
well ive told you what needs to be done, you are free to do it locally or on github.dev
yuyu
yuyuOP•12mo ago
I'll try GitHub.dev idk how to do it locally Thank you I got it to work on github.dev you create a codespace and install btw do you know if theres a cmd to update node?
Brody
Brody•12mo ago
like to change what version of node railway runs your app with?
Want results from more Discord servers?
Add your server