问答详情
源自:-

安装webpack-dev-server报错这样的怎么解决呀?

C:\Users\Administrator\Desktop\WebpackVue-demo2>npm install --save-dev webpack-dev-server

npm ERR! Unexpected end of JSON input while parsing near '...2rWjgi\nkOT9gmhR/sZA2'


npm ERR! A complete log of this run can be found in:

npm ERR!     C:\Users\Administrator\AppData\Roaming\npm-cache\_logs\2019-07-20T03_07_02_862Z-debug.log

https://img2.mukewang.com/5d3c0ea40001ada609960169.jpg

https://img3.mukewang.com/5d3c3b5e00011fd509890335.jpg

https://img4.mukewang.com/5d3c3b5e00012dac10160368.jpg


提问者:未来99 2019-07-20 11:29

个回答

  • 慕沐8789467
    2019-07-27 10:05:08
    已采纳

    参考下我的配置文件把

    https://github.com/carrieguo/vue.js-todolist/blob/master/package.json