Skip to content
This repository has been archived by the owner on Jul 27, 2021. It is now read-only.

Peer Dependency issue with Webpack v5.x #123

Open
BrekiTomasson opened this issue Nov 5, 2020 · 4 comments · May be fixed by #126
Open

Peer Dependency issue with Webpack v5.x #123

BrekiTomasson opened this issue Nov 5, 2020 · 4 comments · May be fixed by #126

Comments

@BrekiTomasson
Copy link

Since this package has "^4.0.0" as the given webpack peer dependency version, newer versions of Node/NPM break when attempting to install this package together with Webpack 5:

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [redacted]@1.0.7
npm ERR! Found: webpack@5.4.0
npm ERR! node_modules/webpack
npm ERR!   webpack@"^5.3" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer webpack@"^4.0.0" from friendly-errors-webpack-plugin@2.0.0-beta.2
npm ERR! node_modules/friendly-errors-webpack-plugin
npm ERR!   friendly-errors-webpack-plugin@"2.0.0-beta.2" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
@otakustay
Copy link

This is blocking upgrade to npm 7, if acceptable I'd like to send a PR to fix this.

@strarsis
Copy link

strarsis commented Jan 1, 2021

Everything seems to work even with webpack v5, but getting warnings from npm (--force).

@strarsis
Copy link

@geowarin: Would it be possible to bump the webpack dependency to 5 in the near future?

@IlCallo
Copy link

IlCallo commented Apr 19, 2021

There is currently a fork which support v5: https://github.com/sodatea/friendly-errors-webpack-plugin

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants