webpack
许哞哞
这个作者很懒,什么都没留下…
展开
-
requires a peer of webpack@^2.0.0 || ^3.0.0 || ^4.0.0 but none is installed.版本兼容问题
这是webpack版本不兼容引起的,重新安装正确版本的webpack $ npm install webpack@x.x.x -g原创 2018-11-20 09:09:41 · 23436 阅读 · 0 评论 -
Cannot destructure property `createHash` of 'undefined' or 'null'.
就今天在安装了 mini-css-extract-plugin这个插件以后用webpack打包的时候一直报 Cannot destructure property createHash of ‘undefined’ or ‘null’.,查了半天, mini-css-extract-plugin这个插件是webpack4更新的插件,所以如果因为 mini-css-extract-plugin导致出...原创 2018-11-20 12:41:37 · 9090 阅读 · 1 评论 -
npm WARN deprecated socks@1.1.10:
错误信息: npm WARN deprecated socks@1.1.10: If using 2.x branch, please upgrade to at least 2.1.6 to avoid a serious bug with socket data flow and an import issue introduced in 2.1.0 解决方法: npm install npm...原创 2018-12-01 18:15:53 · 2107 阅读 · 0 评论