关于vue报错收集
报错1
- 没有脚本的问题
npm ERR! Missing script: "server"
npm ERR!
npm ERR! Did you mean this?
npm ERR! npm run serve # run the "serve" package script
npm ERR!
npm ERR! To see a list of scripts, run:
npm ERR! npm run
npm ERR! A complete log of this run can be found in:
- 解决
在package.json中查看scripts对应的的配置项目名
也有可能server的关键字换成更接近语义的词(如下图)
如若有不好的地方请大家能指出,觉得有帮助请给个顶😁

浙公网安备 33010602011771号