Replies: 1 comment
-
Hi @mary-ext! I'm Dosu and I’m helping the storybook team. The sudo prompt appears because Playwright tries to install browser binaries, which can require elevated permissions. You can skip installing Playwright (and Vitest) during Storybook setup by using the
If you use the interactive setup, make sure not to select any testing features—this will also prevent Playwright and Vitest from being installed. There isn’t a config file or environment variable to skip these; the CLI flag and setup prompts are the way to control it. To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
I'm setting up Storybook on this project for the first time with the
pnpm create storybook@latest
command as instructed in the getting started page, and I'm faced with a sudo promptit does seem that this is coming from the Playwright installation
is there a way to skip this? I'm not confident on giving Playwright CLI sudo access to install Chromium, and I don't currently plan on doing any sort of browser testing with Vitest and Playwright, so I'd rather skip this.
Additional information
No response
Create a reproduction
No response
Beta Was this translation helpful? Give feedback.
All reactions