You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to run storybook init, storybook upgrade, or storybook automigrate in a Yarn Modern monorepo that uses workspaces I get an error like this:
> npx storybook@next init
storybook init - the simplest way to add a Storybook to your project.
(node:21880) ExperimentalWarning: The Fetch API is an experimental feature. This feature could change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
• Detecting project type. ✓
Detected webpack project. Setting builder to webpack
• Adding Storybook support to your "Webpack React" app
Unknown Syntax Error: Unsupported option name ("-W").
$ yarn add [--json] [-E,--exact] [-T,--tilde] [-C,--caret] [-D,--dev] [-P,--peer] [-O,--optional] [--prefer-dev] [-i,--interactive] [--cached] [--mode #0] ...
An error occurred while installing dependencies.
Describe the bug
When trying to run
storybook init
,storybook upgrade
, orstorybook automigrate
in a Yarn Modern monorepo that uses workspaces I get an error like this:To Reproduce
Clone https://github.com/Methuselah96/StorybookCLIYarnWorkspaces and run
npx storybook@next init
.System
Additional context
No response
The text was updated successfully, but these errors were encountered: