You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
after running npm install I'm currently getting this error.
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! Found: webpack@5.28.0
npm ERR! node_modules/webpack
npm ERR! dev webpack@"5.28.0" from the root project
npm ERR! peer webpack@"^4.0.0 || ^5.0.0-rc.1" from @relative-ci/agent@1.5.0
npm ERR! node_modules/@relative-ci/agent
npm ERR! dev @relative-ci/agent@"1.5.0" from the root project
npm ERR! 6 more (babel-loader, directory-named-webpack-plugin, ...)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer webpack@"^4.0.0" from grunt-webpack@4.0.2
npm ERR! node_modules/grunt-webpack
npm ERR! dev grunt-webpack@"4.0.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.
I wonder if allowing an additional v in the peer deps would do the trick? I'm not certain if npm is able to pickup the -rc.1 version as being the same as the following full release version
Hi @eric-blue! ^4.0.0 || ^5.0.0-rc.1 will match all webpack 5 versions according to the semver rules. However, if you want to test it, try using @relative-ci/agent@1.5.1-beta.1.
Assuming that you are using npm v7 and peer dependencies are installed automatically, i think the error is pointing to grunt-webpack which is not supporting v5. You might be able to get the previous behaviour running npm install --legacy-peer-deps
after running
npm install
I'm currently getting this error.I wonder if allowing an additional v in the peer deps would do the trick? I'm not certain if npm is able to pickup the
-rc.1
version as being the same as the following full release versionThe text was updated successfully, but these errors were encountered: