npm start
npm ERR! Missing script: "start"
npm ERR!
npm ERR! Did you mean one of these?
npm ERR! npm star # Mark your favorite packages
npm ERR! npm stars # View packages marked as favorites
npm ERR!
npm ERR! To see a list of scripts, run:
npm ERR! npm run
检查 package.json 文件是否有如下所示的脚本?
{ “名称”:“示例”, “版本”:“1.0.0”, “描述”:“描述”, “脚本”:{ "test": "echo "错误:未指定测试" && exit 1", "start": "节点index.js", } }