run-p: command not found

Viewed 38496

after installing 'npm install webpack-dev-server -g' not able to start expressjs project.

I am using below script:

"scripts": {
    "start": "run-p watch dev-server",
    "watch": "webpack --config webpack.config.js --watch --mode development",
    "dev-server": "BABEL_ENV=dev nodemon --exec 'babel-node' src/server/index.js --config nodemon.json"
}
2 Answers

Maybe you are not in the correct folder path in the terminal. Check it once and move to the correct project folder and run the desired command

Related