Closed hwookim closed 2 years ago
@shilman any thoughts here?
yes, you need to add a direct dependency on @storybook/addon-actions
if you want to access it directly in your code OR if another package like this one has it as a peer dependency. i believe this has always been the case, but only recently package managers have gotten more strict about enforcing it. if you want to be safe, add it to the addon's installation instructions
@shilman thx!
Come to think of it, it would be better to specify the necessary packages. I should be careful from now on. 😄
I have an error while building storybook. There's
@storybook/addon-actions
under@storybook/addon-essentials
. Butstorybook-addon-next-router
can't access that package.Should I install
@storybook/addon-actions
even if@storybook/addon-essentials
installed?Could it be yarn-beery problem? It's running with yarn-berry.