Error during deployment
ashmit-verma
TRIALOP

a year ago

Error: No start command could be found
this is the error I'm getting even though my package.json file has start scripts

View Deploy details

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

2 Replies

brody
EMPLOYEE

a year ago

Please attach your package.json


ashmit-verma
TRIALOP

a year ago

{
  "name": "backend",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "start": "node index.js",
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "author": "",
  "license": "ISC",
  "type": "module",
  "dependencies": {
    "@adminjs/express": "^6.1.0",
    "@adminjs/sequelize": "^4.1.1",
    "adminjs": "^7.8.1",
    "bcrypt": "^5.1.1",
    "cors": "^2.8.5",
    "dotenv": "^16.4.5",
    "express": "^4.19.2",
    "express-mysql-session": "^3.0.2",
    "express-session": "^1.18.0",
    "mysql": "^2.18.1",
    "mysql2": "^3.9.7",
    "nodemailer": "^6.9.13",
    "sequelize": "^6.37.3",
    "speakeasy": "^2.0.0"
  },
  "devDependencies": {
    "sequelize-cli": "^6.6.2"
  }
}
this is my package.json for backend

Loading...