Closed yaodongzhi closed 2 years ago
请问你解决了吗
98% after emitting CopyPlugin
ERROR Failed to compile with 1 error 21:57:29
error in ./node_modules/_vue-particles@1.0.9@vue-particles/src/vue-particles/vue-particles.vue
Syntax Error: TypeError: Cannot read property 'styles' of undefined
@ ./node_modules/_vue-particles@1.0.9@vue-particles/src/vue-particles/index.js 2:0-43 7:39-48 @ ./src/main.js @ multi ./node_modules/_webpack-dev-server@3.11.3@webpack-dev-server/client?http://172.20.10.6:9527&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js 我也出现这个问题
找了我们公司的前端大佬给看了看,是版本问题,用yarn装就好了
是的,我前天使用 yarn 安装已经可以运行了,cnpm源应该是有点问题的
98% after emitting CopyPlugin
ERROR Failed to compile with 1 error 3:15:14 PM
error in ./node_modules/_vue-particles@1.0.9@vue-particles/src/vue-particles/vue-particles.vue
Syntax Error: TypeError: Cannot read property 'styles' of undefined
@ ./node_modules/_vue-particles@1.0.9@vue-particles/src/vue-particles/index.js 2:0-43 7:39-48 @ ./src/main.js @ multi ./node_modules/_webpack-dev-server@3.11.3@webpack-dev-server/client?http://192.168.0.102:9528&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js