R
Railway•11mo 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•11mo ago
Project ID: N/A
yuyu
yuyu•11mo ago
n/a
yuyu
yuyu•11mo ago
Oh kk I'm on mobile rn despair
yuyu
yuyu•11mo ago
got em
Brody
Brody•11mo 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
yuyu•11mo ago
Hmm 🤔 How do you do npm install in railway?
Brody
Brody•11mo ago
you do it locally and then push the changes to github
yuyu
yuyu•11mo 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•11mo ago
you simply delete your lock file and run npm install to regen it, then push the changes
yuyu
yuyu•11mo ago
Oh alr alr Ima have to run on replit since I don't have vsc Gimme a sec
Brody
Brody•11mo ago
why do you need vscode?
yuyu
yuyu•11mo ago
To run the command Right? I got the code on github That's where I mostly do everything
Brody
Brody•11mo ago
no? just clone the repo locally, delete the file, run the command, push the changes
yuyu
yuyu•11mo ago
On GitHub?
Brody
Brody•11mo ago
locally
yuyu
yuyu•11mo ago
I don't understand sorry
Brody
Brody•11mo ago
have you ever cloned a repo to your computer
yuyu
yuyu•11mo 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•11mo ago
then do it that way then?
yuyu
yuyu•11mo 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•11mo ago
well ive told you what needs to be done, you are free to do it locally or on github.dev
yuyu
yuyu•11mo 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•11mo ago
like to change what version of node railway runs your app with?
Want results from more Discord servers?
Add your server