Open Drew-Daniels opened 6 months ago
@Drew-Daniels Are you using Storybook v.7? I am and just tried to install @storybook/addon-a11y
and got the same icons
error. I was able to get it spun up by installing a V7 version of addon-a11y
from https://www.npmjs.com/package/@storybook/addon-a11y/v/7.6.16
I was able to get it spun up by installing a V7 version of
addon-a11y
from https://www.npmjs.com/package/@storybook/addon-a11y/v/7.6.16
Thanks @robmaurizi , this worked!
@Drew-Daniels thanks for reaching out to us with your issue. We appreciate it 🙏 ! I'm aware of the situation, and the tutorials still need some work done (including templates). I've been unable to commit to it as other priorities took precedence before I could commit to it. Hopefully, this situation will be addressed soon, and you and any other user who follows said tutorials can go through them without the issue you've reported.
@robmaurizi appreciate the assistance and helping @Drew-Daniels and @n8finch solve it.
Hope you have a fantastic day.
Stay safe
@jonniebigodes Sure thing, thanks for the confirmation and for looking into this. It's nbd just wanted to put something out there in case others ran into a similar issue 👍🏻
Appreciate all the work you and everyone else do with storybook!
@Drew-Daniels Are you using Storybook v.7? I am and just tried to install
@storybook/addon-a11y
and got the sameicons
error. I was able to get it spun up by installing a V7 version ofaddon-a11y
from https://www.npmjs.com/package/@storybook/addon-a11y/v/7.6.16
I had the same problem today. Confirm running yarn add --dev @storybook/addon-a11y@7.6.16
resolved the issue.
It also happens in version 8.1.7, vite react setup, reported by @storybook+addon-onboarding@8.1.10
.
Seems like you guys misplaced @storybook/icons as a dev-dependency.
@Drew-Daniels Are you using Storybook v.7? I am and just tried to install
@storybook/addon-a11y
and got the sameicons
error. I was able to get it spun up by installing a V7 version ofaddon-a11y
from https://www.npmjs.com/package/@storybook/addon-a11y/v/7.6.16
I'd just like to chime in and say I had the same issue with @storybook/test
with a lot of errors telling me that I
can mark the path "storybook/internal/client-logger" as external to exclude it from the bundle, which will remove this error.
and other storybook/internal packages.
I had accidentally installed @storybook/test@8 while still being on Storybook 7. Downgrading @storybook/test to 7 solved my issues.
Describe the bug
I am following this tutorial, and after getting to the "Catch Accessibility Issues" section, and installing
@storybook/addon-a11y
, when I then runyarn storybook
, I get a build error saying the following:To Reproduce
Complete the aforementioned tutorial up through the "Catch Accountability Issues" section, and after installing
@storybook/addon-a11y
, try runningyarn storybook
.You should get an error saying that the
@storybook/images
module can't be found.System
Additional context
I have tried:
@storybook/icons
withyarn add -D @storybook/icons
, but after I do this, and re-runyarn storybook
, I get another error saying:When I then run
npx storybook@latest doctor
, I get: