Closed bartelemi closed 1 year ago
Can you share what version you use ? @storybook/*
and the addon.
Apologies for raising this issue, turns out it was a problem with my local node_modules/ directory which somehow got corrupted. npm
was assuming that there are some incompatible deps and started throwing errors.
However, I still think it's better to rely on stable versions of libraries when available (non release-candidates), so in my opinion the peer dependencies of your package would benefit from being updated.
Having said that, feel free to close this issue as it is actually resolved.
I'm facing the same issue. Peer dependency resolution is breaking since this package specifies the rc version of various storybook packages.
Yes, facing the same. @JesusTheHun
I.e.
npm ERR! Could not resolve dependency:
npm ERR! peer @storybook/components@"^7.0.0-rc.3" from storybook-addon-react-router-v6@1.0.0
npm ERR! node_modules/storybook-addon-react-router-v6
npm ERR! dev storybook-addon-react-router-v6@"^1.0.0" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: @storybook/components@7.0.12
npm ERR! node_modules/@storybook/components
npm ERR! peer @storybook/components@"^7.0.0-rc.3" from storybook-addon-react-router-v6@1.0.0
npm ERR! node_modules/storybook-addon-react-router-v6
npm ERR! dev storybook-addon-react-router-v6@"^1.0.0" from the root project
I'm using the latest version of the storybook, 7.0.12.
Same problem :(
@Neurrone @pinetree @noveogroup-amorgunov Can you try this version and tell me if it resolves the issue :
npm i -D storybook-addon-react-router-v6@1.0.1--canary.a8c156e.0
yarn add -D storybook-addon-react-router-v6@1.0.1--canary.a8c156e.0
@JesusTheHun hello, no changes. But I'm not sure what the problem in this package
Your issue seems to come from react-inspector
. Can you try version storybook-addon-react-router-v6@1.0.1--canary.e7845b3.0
?
@JesusTheHun now it's all okay, thanks
@bartelemi @noveogroup-amorgunov @pinetree @Neurrone Dependencies have been updated with version 1.0.1
I am facing same/similar issue with storybook 8
Could not resolve dependency:
npm ERR! peer @storybook/blocks@"^8.0.0" from storybook-addon-remix-react-router@3.0.0
npm ERR! node_modules/storybook-addon-remix-react-router
npm ERR! dev storybook-addon-remix-react-router@"3.0.0" from the root project
@EldinZaimovic this is unrelated, @storybook/blocks
is a peer dependency so you must install it as part of your project.
Peer dependencies are too strict and currently do not allow using stable version of @storybook packages.