Dcatfly / rename-webpack-plugin

Webpack plugin for rename files.
MIT License
2 stars 4 forks source link

Installation error with webpack 5 #4

Open jjacob15 opened 9 months ago

jjacob15 commented 9 months ago

I'm getting "unable to resolve dependency tree" error while installing this package with webpack >= 5

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: sample-ui-project@1.0.0
npm ERR! Found: webpack@5.90.0
npm ERR! node_modules/webpack
npm ERR!   dev webpack@"^5" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer webpack@"^4.0.0" from rename-webpack-plugin@2.0.0
npm ERR! node_modules/rename-webpack-plugin
npm ERR!   dev rename-webpack-plugin@"*" from the root project
gustawdaniel commented 7 months ago

I am using this package with webpack 5 so probably we should add info to package.json that this plugin works with both webpack versions.