vue-element-admin第一次运行报错

vue-element-admin第一次运行报错

npm运行vue-element-admin报错:

> vue-element-admin@4.4.0 dev

> vue-cli-service serve

INFO Starting development server...

98% after emitting CopyPlugin

ERROR Failed to compile with 1 error 下午5:22:04

error in ./src/main.js

Syntax Error: Error: [BABEL] E:\testCode\vue-element-admin-master\src\main.js: Failed to resolve "@babel/runtime" relative to "E:\testCode\vue-element-admin-master\node_modules\_@babel_runtime@7.15.4@@babel\runtime" (While processing: "E:\\testCode\\vue-element-admin-master\\node_modules\\_@vue_cli-plugin-babel@4.4.4@@vue\\cli-plugin-babel\\preset.js.overrides[0]$4")

at Generator.next (<anonymous>)

at Generator.next (<anonymous>)

at Generator.next (<anonymous>)

@ multi ./node_modules/_webpack-dev-server@3.11.2@webpack-dev-server/client?http://192.168.5.40:9527&sockPath=/sockjs-node ./node_modules/_webpack@4.46.0@webpack/hot/dev-server.js ./src/main.js

./src/main.js

第一次运行项目,天啊,我快被逼疯了,一直报错!!!一直改!!!眼看就要胜利了,结果又报错了,求大神指教,感谢~
还有个小问题,思否为什么图片上传不了,还是对图片上传的大小有限制?

以上是 vue-element-admin第一次运行报错 的全部内容, 来源链接: utcz.com/p/936311.html

回到顶部