简体   繁体   中英

Why is my 'npm start' script resulting in the error: 'run' is not recognized as an internal or external command, operable program or batch file

while giving command- npm start the result goes with this and I am not able to get the local host ip

git-test@1.0.0 start run npm lite

'run' is not recognized as an internal or external command, operable program or batch file.**

also added- "scripts": { "start": "run npm lite", "test": "echo "Error: no test specified" && exit 1", "lite":"lite-server" }, in package.json file, but;

It's npm run lite no run npm lite

try npm install then npm start

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM