Build failed for node js backend app
judono
PROOP

2 years ago

Hello, I try to push my node js express app, as you see from my account I have several projects for backend using nodejs and mongodb, I am using all the same settings but this time it failed to build, I am using node 18 and here is the package.json for my nodejs app

{

"name": "backend",

"version": "1.0.0",

"description": "backend for alcohol delivery",

"main": "server.js",

"scripts": {

"test": "echo "Error: no test specified" && exit 1",

"dev": "nodemon server.js",

"start": "node server.js"

},

"author": "Robert J",

"license": "ISC",

"dependencies": {

"aws-sdk": "^2.1685.0",

"bcrypt": "^5.1.1",

"bcryptjs": "^2.4.3",

"cors": "^2.8.5",

"dotenv": "^16.4.5",

"express": "^4.19.2",

"express-async-handler": "^1.2.0",

"jsonwebtoken": "^9.0.2",

"mongodb": "^6.8.0",

"mongoose": "^8.6.0",

"multer": "^1.4.5-lts.1",

"multer-s3": "^3.0.1",

"nodemon": "^3.1.4"

}

}

please help me

View Deploy details

ⓘ Deployment information is only viewable by project members and Railway employees.

1 Replies

judono
PROOP

2 years ago

issue is now resolved, all I needed to do was just npm install @aws-sdk/client-s3 and it fixed the issue


Welcome!

Sign in to your Railway account to join the conversation.

Loading...