yarn storybook
-
yarn storybook error const stringWidth = require('string-width')Project/Figma+Storybook 2023. 11. 9. 17:47
react에 rollup.js를 설정하고 storybook을 설치하고 $ yarn storybook 했더니 에러가 발생하였고, 해결방식을 정리해 본다. 이슈 URL https://github.com/storybookjs/storybook/issues/22431#issuecomment-1630086092 [Bug]: string-width dependency stops storybook from executing · Issue #22431 · storybookjs/storybook Describe the bug I am using Storybook 7 with the automatically generated vite-react setup. When installing Storybook 7, yarn yi..