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
Describe the bug
start-storybook and build-storybook scripts disappears after using npm sb upgrade --prelease
To Reproduce
Seems like it's unable to create a reproduction also, after using upgrade, it tries to use both yarn and npm, even though my packages are installed with npm.
Both start-storybook and build-storybook are replaced1 to sb dev and sb build in Storybook v7.0.0-alpha.0. You may also need to install @storybook/cli package2.
It would be really nice if those deprecated scripts were replaced by shells that told you what the new commands were, and that you'd need to install a new package. It took a while to find this bug.
@ggascoigne
I believe #18421 (migration command that replaces start-/build-storybook inside package.json#scripts) would solve the problem you stated. What do you think?
Describe the bug
start-storybook and build-storybook scripts disappears after using
npm sb upgrade --prelease
To Reproduce
Seems like it's unable to create a reproduction also, after using upgrade, it tries to use both yarn and npm, even though my packages are installed with npm.
System
Environment Info:
System:
OS: macOS 12.3.1
CPU: (16) x64 Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz
Binaries:
Node: 18.4.0 - ~/.nvm/versions/node/v18.4.0/bin/node
Yarn: 1.22.19 - ~/.nvm/versions/node/v18.4.0/bin/yarn
npm: 8.12.1 - ~/.nvm/versions/node/v18.4.0/bin/npm
Browsers:
Chrome: 103.0.5060.114
Firefox: 89.0.2
Safari: 15.4
npmPackages:
@storybook/addon-actions: ^7.0.0-alpha.12 => 7.0.0-alpha.12
@storybook/addon-essentials: ^7.0.0-alpha.12 => 7.0.0-alpha.12
@storybook/addon-interactions: ^7.0.0-alpha.12 => 7.0.0-alpha.12
@storybook/addon-links: ^7.0.0-alpha.12 => 7.0.0-alpha.12
@storybook/builder-vite: ^0.2.0-beta.2 => 0.2.0-beta.2
@storybook/testing-library: ^0.0.14-next.0 => 0.0.14-next.0
@storybook/vue3: ^7.0.0-alpha.12 => 7.0.0-alpha.12
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: