Webpack 压缩网页包插件-安装错误
我正在尝试安装压缩网页包插件,因为它是为我的porfolio网站,我有到PDF的链接。我在终端中不断收到此错误:Webpack 压缩网页包插件-安装错误,webpack,compression,webpack-plugin,Webpack,Compression,Webpack Plugin,我正在尝试安装压缩网页包插件,因为它是为我的porfolio网站,我有到PDF的链接。我在终端中不断收到此错误: code ERESOLVE ERESOLVE unable to resolve dependency tree while resolving:new-project@2.0.0 Found: webpack@4.46.0 node_modules/webpack dev webpack@ "^4.46.0" from the root project Coul
code ERESOLVE
ERESOLVE unable to resolve dependency tree
while resolving:new-project@2.0.0
Found: webpack@4.46.0
node_modules/webpack
dev webpack@ "^4.46.0" from the root project
Could not resolve dependency:
peer webpack @"^5.1.0" from compression-webpack-plugin@8.0
我已经尝试过——强制和——传统的对等DEP,但这只会导致更多的问题
这与我使用的网页版本有关吗
非常感谢您的建议
非常感谢,
多里安