webpack编译失败

Errors:
  9  http://eslint.org/docs/rules/indent
  2  http://eslint.org/docs/rules/object-curly-spacing
  1  http://eslint.org/docs/rules/space-before-blocks
  1  http://eslint.org/docs/rules/prefer-const
 @ ./src/router/index.js 10:0-37
 @ ./src/main.js
 @ multi ./build/dev-client ./src/main.js
Child html-webpack-plugin for "index.html":
         Asset     Size  Chunks  Chunk Names
    index.html  1.45 MB       0
       [0] ./node_modules/html-webpack-plugin/lib/loader.js!./index.html 583 bytes {0} [built]
       [1] ./node_modules/lodash/lodash.js 540 kB {0} [built]
       [2] (webpack)/buildin/global.js 509 bytes {0} [built]
       [3] (webpack)/buildin/module.js 517 bytes {0} [built]
i 「wdm」: Failed to compile.
> Listening at http://localhost:8088

如上所示 npm run dev后打不开页面

阅读 2.3k
1 个回答

有eslint的Errors呀,解决完再试试

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题