0
点赞
收藏
分享

微信扫一扫

【Webpack】TypeError: Cannot read property ‘tap‘ of undefined at HtmlWebpackPlugin.

【Webpack】TypeError: Cannot read property ‘tap’ of undefined at HtmlWebpackPlugin.

报错如下:
【Webpack】TypeError: Cannot read property ‘tap‘ of undefined at HtmlWebpackPlugin._node.js
解决办法:
下载安装指定版本的 html-webpack-plugin,使它和webpack版本版本相匹配
【Webpack】TypeError: Cannot read property ‘tap‘ of undefined at HtmlWebpackPlugin._node.js_02

npm install --save-dev  html-webpack-plugin@4.3.0


举报

相关推荐

0 条评论