zfile-dev / zfile-vue

zfile 前端工程
MIT License
473 stars 275 forks source link

请教下启动的时候报错了 #20

Open mikolaje opened 3 years ago

mikolaje commented 3 years ago

启动命令npm run serve

13% building 32/33 modules 1 active ...les/_babel-loader@8.2.2@babel-loader/lib/index.js!/Users/xifeng.li/opt/zfile-vue/node_modules/_eslint-loader@2.2.1@eslint-loader/index.js??ref--13-0!/Users/xifeng.li/opt/zfile-vue/src/main.js(node:25012) ExperimentalWarning: Package name self resolution is an experimental feature. This feature could change at any time
40% building 120/142 modules 22 active ...eng.li/opt/zfile-vue/node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js??ref--6-oneOf-3-2!/Users/xifeng.li/opt/zfile-vue/node_modules/_animate.css@4.1.1@animate.css/animate.css(node:25012) ExperimentalWarning: Conditional exports is an experimental feature. This feature could change at any time
98% after emitting CopyPlugin

 ERROR  Failed to compile with 1 error                                                                                                                                                                                       5:42:52 PM

 error  in ./src/assets/common.scss

Syntax Error: Error: PostCSS received undefined instead of CSS string

 @ ./src/assets/common.scss 4:14-283 14:3-18:5 15:22-291
 @ ./src/main.js
 @ multi ./node_modules/_webpack-dev-server@3.11.2@webpack-dev-server/client?http://192.168.10.177:8080/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
qingshanking commented 2 years ago

我也遇到这个问题了,好像是版本太高了吧。

qingshanking commented 2 years ago

试试这个 https://blog.csdn.net/weixin_46778896/article/details/117092506