I have a react/webpack5 storybook project that had babelModeV7 storyStoreV7 already enabled and tried updating storybook through the npx cli.
And i get the following error when trying to run storybook dev. I had already gone through the migration guide as well and updated what i saw i needed to change. But this error is so cryptic and i have no idea what is actually causing this.
Does anyone have an idea what this could be ?
ERR! TypeError: previewBuilder.getConfig is not a function
ERR! at storybookDevServer (/Users/sindris/Work/tui/node_modules/@storybook/core-server/dist/index.js:27:6175)
ERR! at async buildDevStandalone (/Users/sindris/Work/tui/node_modules/@storybook/core-server/dist/index.js:40:2724)
ERR! at async withTelemetry (/Users/sindris/Work/tui/node_modules/@storybook/core-server/dist/index.js:27:3469)
ERR! at async dev (/Users/sindris/Work/tui/node_modules/@storybook/cli/dist/generate.js:439:400)
ERR! at async Command.<anonymous> (/Users/sindris/Work/tui/node_modules/@storybook/cli/dist/generate.js:441:327)