vue Syntax Error: Unexpected token {
Posted 小小猫钓小小鱼
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了vue Syntax Error: Unexpected token {相关的知识,希望对你有一定的参考价值。
> [email protected] dev F:\music\music
> node build/dev-server.js
> Starting dev server...
ERROR Failed to compile with 2 errors14:30:11
error in ./src/App.vue
Syntax Error: Unexpected token {
@ ./src/main.js 4:0-24
@ multi ./build/dev-client ./src/main.js
error in ./src/components/HelloWorld.vue
Syntax Error: Unexpected token {
@ ./src/router/index.js 3:0-49
@ ./src/main.js
@ multi ./build/dev-client ./src/main.js
> Listening at http://localhost:8080
安装"vue-loader": "11.1.4",可解决
npm uninstall --save-dev vue-loader //删除vue-loader
npm install --save-dev [email protected] //安装vue-loader
以上是关于vue Syntax Error: Unexpected token {的主要内容,如果未能解决你的问题,请参考以下文章
Syntax Error: TypeError: this.getOptions is not a function
Syntax Error: Error: No ESLint configuration found in /status/Git/mib/src.
Web前端-Syntax Error: Error: Node Sass version 6.0.0 is incompatible with ^4.0.0
Syntax Error: TypeError: this.getOptions is not a function
fastjson 错误解决方案详情 com.alibaba.fastjson.JSONException: syntax error, expect {, actual EOF, pos 1410
dbType postgresql, , druid-version 1.2.5, syntax error: syntax error, error in :‘desc LIMIT ?,?,