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 ran npx storybook@next upgrade --config-dir apps/my-app/.storybook on a Nx monorepo. I got this error:
❌ error when running viteConfigFile migration
Error: Invariant failed: run method should be available in fix.
at invariant (/Users/fileas/.npm/_npx/eb8bf615e50a412a/node_modules/tiny-invariant/dist/tiny-invariant.cjs.js:14:11)
at runFixes (/Users/fileas/.npm/_npx/eb8bf615e50a412a/node_modules/@storybook/cli/dist/generate.js:569:1598)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async automigrate (/Users/fileas/.npm/_npx/eb8bf615e50a412a/node_modules/@storybook/cli/dist/generate.js:567:1525)
at async doUpgrade (/Users/fileas/.npm/_npx/eb8bf615e50a412a/node_modules/@storybook/cli/dist/generate.js:583:1625)
at async withTelemetry (/Users/fileas/.npm/_npx/eb8bf615e50a412a/node_modules/@storybook/core-server/dist/index.js:28:3579)
at async upgrade (/Users/fileas/.npm/_npx/eb8bf615e50a412a/node_modules/@storybook/cli/dist/generate.js:583:2063)
Unable to find .eslintrc config file, skipping
Describe the bug
I ran
npx storybook@next upgrade --config-dir apps/my-app/.storybook
on a Nx monorepo. I got this error:Rest of the migrations worked successfully.
To Reproduce
Here is my reproduction repository: https://github.com/mandarini/storybook-upgrade-latest-nx
I have detailed steps on the README.
Here is the migration-storybook.log, where the error appears.
System
The text was updated successfully, but these errors were encountered: