报错情况:Module build failed (from ./node_modules/vue-loader/lib/index.js
原因:vue-loader的版本和vue-template-compiler版本不匹配
解决:
1、把node_modules 删除之后,输入以下命令(一定这个顺序):
2、
1 npm install vue-template-compiler -D
2 npm install
3 npm run serve
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)