npm ERR! code ELIFECYCLE
npm ERR! errno 126
npm ERR! project1@0.1.0 serve: vue-cli-service serve
npm ERR! Exit status 126
npm ERR!
npm ERR! Failed at the project1@0.1.0 serve script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2020-01-17T08_26_17_316Z-debug.log
解决办法,依次输入
rm -rf node_modules
rm package-lock.json
npm cache clear --force
npm install
npm run serve // 启动成功