Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/vue.js/6.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Vue.js VUE CLI3.0创建演示无法使用编译_Vue.js_Vue Cli 3 - Fatal编程技术网

Vue.js VUE CLI3.0创建演示无法使用编译

Vue.js VUE CLI3.0创建演示无法使用编译,vue.js,vue-cli-3,Vue.js,Vue Cli 3,我的操作环境: 节点v10.15.2 npm 6.6.0 vue cli 3.3.0 vue创建verdemo 巴布尔路由器Vuex触针eslint 报告错误 默认部署不报告错误 以下是您想要的答案检查这是npm的问题,解决方法是使用纱线或降级到webpack 4.28欢迎使用StackOverflow。这里不鼓励只包含链接的答案。通过此处的链接提供基本信息,以改进您的答案,并使其有助于自己解决问题。 INFO Starting development server... 95% emit

我的操作环境: 节点v10.15.2 npm 6.6.0 vue cli 3.3.0

vue创建verdemo 巴布尔路由器Vuex触针eslint 报告错误

默认部署不报告错误


以下是您想要的答案

检查这是npm的问题,解决方法是使用纱线或降级到webpack 4.28欢迎使用StackOverflow。这里不鼓励只包含链接的答案。通过此处的链接提供基本信息,以改进您的答案,并使其有助于自己解决问题。
INFO  Starting development server...

 95% emitting CopyPlugin ERROR  Failed to compile with 1 errors12:29:34


 error  in ./src/router.js

Module parse failed: Unexpected token (17:13)
You may need an appropriate loader to handle this file type.
|     // which is lazy-loaded when the route is visited.
|     component: function component() {
>       return import(
|       /* webpackChunkName: "about" */
|       './views/About.vue');

 @ ./src/main.js 6:0-30 10:10-16
 @ multi (webpack)-dev-server/client?http://192.168.75.129:8080/sockjs-node (webpack)/hot/dev-server.js ./src/main.js


{ [Error: EACCES: permission denied, open '/home/dollarkiller/demo/testdemo/node_modules/.stats-serve.json']
  errno: -13,
  code: 'EACCES',
  syscall: 'open',
  path:
   '/home/dollarkiller/demo/testdemo/node_modules/.stats-serve.json' }