在安装webpack时报错,提示:
npm ERR! Unexpected end of JSON input while parsing near '...bpack-core":"~0.6.0"}
解决方法,输入命令:
npm cache clean --force
安装webpack 命令行语句为:
npm install webpack -g
在安装webpack时报错,提示:
npm ERR! Unexpected end of JSON input while parsing near '...bpack-core":"~0.6.0"}
解决方法,输入命令:
npm cache clean --force
安装webpack 命令行语句为:
npm install webpack -g