安装vue依赖时报错如下:
npm WARN pdfjs-dist@2.2.228 requires a peer of webpack@^3.0.0 || ^4.0.0-alpha.0 || ^4.0.0 but none is installed. You must install peer dependencies yourself.
解决方法:
最好安装版本比较低点的webpack
npm install webpack@3.0.0 -g
npm WARN pdfjs-dist@2.2.228 requires a peer of webpack@^3.0.0 || ^4.0.0-alpha.0 || ^4.0.0 but none is installed. You must install peer dependencies yourself.
最好安装版本比较低点的webpack
npm install webpack@3.0.0 -g