Problem with npm run dev missing script issues?

I am trying to use npm to run my application. I’m getting the error below:

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:UsersFatiihAppDataLocalnpm-cache_logs2024-10-17T12_19_10_496Z-debug-0.log

Below is 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"
    }
}

Because of this error, my localhost cannot run. How can I fix it?