Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 630 Bytes

README.md

File metadata and controls

27 lines (19 loc) · 630 Bytes

Repro repo

This is to reproduce an issue in storybook-builder-vite that occurs when using pnpm but not when using yarn (and presumably npm). (storybookjs/builder-vite#55)

Running pnpm

rm -rf node_modules
pnpm install
pnpm run storybook

The browser should open, but in the console, you'll see an error like:

Uncaught SyntaxError: The requested module '/node_modules/.pnpm/util-deprecate@1.0.2/node_modules/util-deprecate/browser.js?v=fc8f78f8' does not provide an export named 'default'

Running yarn

This should work

rm -rf node_modules
yarn
yarn storybook