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
I am creating a npm package and now I want to upgrade the storybook to the latest version but it's giving an error.
To Reproduce
Runt the below command to your old project npx storybook@latest upgrade
System
npx storybook@8.0.9 upgrade
SB_CLI_UPGRADE_0004 (UpgradeStorybookToSameVersionError): You are trying to upgrade Storybook to the same version that is currently installed in the project, version 7.6.18. This is not supported.
This usually happens when running the upgrade command without a version specifier, e.g. "npx storybook upgrade".
This will cause npm to run the globally cached storybook binary, which might be the same version that you already have.
This also happens if you're running the Storybook CLI that is locally installed in your project.If you intended to upgrade to the latest version, you should always run the Storybook CLI with a version specifier to force npm to download the latest version:"npx storybook@latest upgrade"If you intended to re-run automigrations, you should run the "automigrate" command directly instead:"npx storybook@7.6.18 automigrate" at doUpgrade (.\node_modules\@storybook\cli\dist\generate.js:456:5122) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async withTelemetry (.\node_modules\@storybook\core-server\dist\index.js:65:3948) at async upgrade (.\node_modules\@storybook\cli\dist\generate.js:463:1752)
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
I am creating a npm package and now I want to upgrade the storybook to the latest version but it's giving an error.
To Reproduce
Runt the below command to your old project
npx storybook@latest upgrade
System
Additional context
No response
The text was updated successfully, but these errors were encountered: