vue-loader在webpack4下安装失败
报错如下:
➜ webpack_vue npm install --save-dev vue-loader
npm ERR! Unexpected end of JSON input while parsing near '...5.4","html-loader":"^'
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/stevenqqq/.npm/_logs/2018-08-30T05_23_23_769Z-debug.log
请问这是我少安装了什么依赖?或者有什么插件版本不对?
运行一下npm cache clean --force再装就好了