(pnpm
) Error: command storybook not found
#381
Replies: 6 comments 2 replies
-
Hey @adrianaferrugento! Can you tell me more about the steps you took to install? Is the CLI installed globally (highly discouraged)? A reproduction would be helpful, if possible The error is suggesting the storybook CLI plugin can't register with the CLI, likely because they're in different locations |
Beta Was this translation helpful? Give feedback.
-
CLI is not installed globally. I just created a new project using create-react-app and this wasn't an issue there. The only difference between the 2 repos is that I'm using |
Beta Was this translation helpful? Give feedback.
-
Ah, that's the problem here. This is pretty similar to Yarn 2's PnP: percy/cli#295 (comment) We currently don't support non-standard package managers. |
Beta Was this translation helpful? Give feedback.
-
Ah I see, so I'm not going to be able to update this package in a while? Are you going to support it eventually? |
Beta Was this translation helpful? Give feedback.
-
Not likely, it's not supported by dependencies we rely on and it's kind of at odds with how the ecosystem works. If/when it gains mass support across the npm registry, we'll circle back around. |
Beta Was this translation helpful? Give feedback.
-
@Robdel12 I actually got this working in rush/pnpm today by hacking the unregistered plugin discovery code in It's a bit rough at the moment but is this something you'd be interested in a PR for? Otherwise I can just apply the fix locally via |
Beta Was this translation helpful? Give feedback.
-
The problem
I've upgraded the @percy/storybook using the following instructions - https://github.com/percy/percy-storybook#upgrading. The command I'm now using to run percy is
percy storybook ./storybook-static
and this is complaining thatcommand storybook not found
.Environment
@percy/cli
version: 1.0.0-beta.65@percy/storybook
: 4.0.1Debug logs
› Error: command storybook not found
Beta Was this translation helpful? Give feedback.
All reactions