October 21, 2024
Chicago 12, Melborne City, USA
javascript

Problem with npm run dev missing script issues?


npm run dev
npm error Missing script: "dev"
npm error
npm error To see a list of scripts, run:
npm error npm run
npm error A complete log of this run can be found in: C:\Users\Fatiih\AppData\Local\npm-cache_logs\2024-10-17T12_19_10_496Z-debug-0.log

My package.json file:
{
"name": "pay",
"version": "1.0.0",
"main": "index.js",
"scripts": {
"start": "node index.js",
"dev": "nodemon index.js",
"test": "jest"
},
"keywords": [],
"author": "",
"license": "ISC",
"description": "",
"dependencies": {
"bcryptjs": "^2.4.3",
"dotenv": "^16.4.5",
"express": "^4.21.1",
"jsonwebtoken": "^9.0.2",
"passport": "^0.7.0",
"passport-jwt": "^4.0.1",
"passport-oauth2": "^1.8.0",
"pg": "^8.13.0",
"pg-hstore": "^2.3.4",
"sequelize": "^6.37.4"
},
"devDependencies": {
"nodemon": "^3.1.7"
}
}

My localhost can’t run



You need to sign in to view this answers

Leave feedback about this

  • Quality
  • Price
  • Service

PROS

+
Add Field

CONS

+
Add Field
Choose Image
Choose Video