Skip to content

Conversation

@calinalexandru
Copy link

If you're using webpack 5 and try to install packages normally you'll get this error

npm ERR! Found: webpack@5.74.0
npm ERR! node_modules/webpack
npm ERR!   dev webpack@"^5.74.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer webpack@"^3.0.0 || ^4.0.0-alpha.0 || ^4.0.0" from worklet-loader@2.0.0
npm ERR! node_modules/worklet-loader

To fix this, you will have to install npm dependencies with --legacy-peer-deps
I've tested the worklet-loader with webpack 5 and it seems to work fine, so I've made this PR to update the peer dependencies accordingly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant