一个新的鸡蛋的博客webpackHtmlWebpackPlugin报错 --TypeError: The ‘compilation’ argument must be an instance of Compilation 问题: 在打包html文件时,HtmlWebpackPlugin插件报错。 我使用的各依赖版本: "dependencies": { ...
键盘小码哥的博客TypeError: The 'compilation' argument must be an instance of Compilation",主要由版本冲突引起。检测发现项目同时存在webpack@5和fa-toolkit依赖的webpack@4。解决方案:1)删除node_modules和package-...
weixin_41814408的博客标题 TypeError: The ‘compilation’ argument must be an instance of CompilationHtmlWebpackPlugin: TypeError: The ‘compilation’ argument must be an instance of Compilation ...
小妖666的博客webpack5报错: TypeError: The 'compilation' argument must be an instance of Compilation 似乎是webpack5和HtmlWebpackPlugin的兼容性问题 解决办法可以安装4.X的wepback,或是安装5.X的html-webpack-plugin ...
zyj12138的博客我们在webpack.config.js使用HtmlWebpackPlugin时,webpack打包会碰见TypeError: The ‘compilation’ argument must be an instance of Compilation弹错,并且无法打包 经过资料查询,大概率和版本有关系,这里给一...
谢去非的博客ERROR in TypeError: The 'compilation' argument must be an instance of Compilation - JavascriptModulesPlugin.js:119 getCompilationHooks [webpack]/[_webpack@5.20.2@webpack]/lib/javascript/...