-
-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conflict peer-dependencies of latest Storybook 7 @7.0.21 when install latest loki@0.32.0 #464
Comments
I am also facing the same issue when trying to install the latest loki and storybook. Any one find a solution to this yet? |
For me works add overrides to package.json: |
nice! |
ty man! |
Works for me, thanks man! |
I don't think we should accept overrides as a solution when there is a pull request waiting to get approved that could solve this issue? |
it's work. Thanks! |
This should no longer be an issue now that https://github.com/oblador/loki/releases/tag/v0.33.0 is released |
There's still peer dependency issue when installing
Created #491 hoping that it can fix it. |
It looks like it was updated in on the main |
Got not warning, but error installing loki@0.34.0 npm WARN ERESOLVE overriding peer dependency
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: loki@0.34.0
npm ERR! Found: @storybook/react@8.0.2
npm ERR! node_modules/@storybook/react
npm ERR! peerOptional @storybook/react@"^5 || ^6 || ^7" from @loki/integration-react@0.34.0
npm ERR! node_modules/loki/node_modules/@loki/integration-react
npm ERR! @loki/integration-react@"^0.34.0" from loki@0.34.0
npm ERR! node_modules/loki
npm ERR! dev loki@"^0.34.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peerOptional @storybook/react@"^5 || ^6 || ^7" from loki@0.34.0
npm ERR! node_modules/loki
npm ERR! dev loki@"^0.34.0" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: @storybook/react@7.6.17
npm ERR! node_modules/@storybook/react
npm ERR! peerOptional @storybook/react@"^5 || ^6 || ^7" from loki@0.34.0
npm ERR! node_modules/loki
npm ERR! dev loki@"^0.34.0" 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!
npm ERR!
npm ERR! For a full report see:
npm ERR! C:\Users\user\AppData\Local\npm-cache\_logs\2024-03-21T09_17_19_110Z-eresolve-report.txt
npm ERR! A complete log of this run can be found in: C:\Users\user\AppData\Local\npm-cache\_logs\2024-03-21T09_17_19_110Z-debug-0.log So there still peer dependency issue |
When you install the latest version of storybook@7.0.21 and then install the latest version of loki@0.32.0, installing loki gives an error in peer-dependencies of @storybook/react. Storybook installing @storybook/react@^7, loki installing @storybook/react@^6.
The text was updated successfully, but these errors were encountered: