🔎 checking possible migrations.. Unable to find .eslintrc config file, skipping 🔎 found a 'webpack5-compiler-setup' migration: ╭ Automigration detected ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │ │ │ Storybook's Webpack5 builder is now compiler agnostic, meaning you can choose a compiler addon that best fits your project: │ │ │ │ - Babel: A vast ecosystem and is battle-tested. It's a robust choice if you have an extensive Babel setup or need specific Babel plugins for your project. │ │ - SWC: Fast and easy to configure. Ideal if you want faster builds and have a straightforward configuration without the need for Babel's extensibility. │ │ │ │ In the next step, Storybook will ask you to choose a compiler to automatically set it up for you. │ │ │ │ After the migration, you can switch Webpack5 compilers by swapping the addon in your project. │ │ You can find more information here: https://storybook.js.org/docs/8.0/builders/webpack#compiler-support │ │ │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ? Do you want to run the 'webpack5-compiler-setup' migration on your project? › (Y/n)✔ Do you want to run the 'webpack5-compiler-setup' migration on your project? … yes ? Which compiler would you like to use? › - Use arrow-keys. Return to submit. ❯ Babel - Choose Babel for a vast ecosystem and battle-tested reliability. SWC ✔ Which compiler would you like to use? › Babel Verifying @storybook/addon-webpack5-compiler-babel Installing @storybook/addon-webpack5-compiler-babel@^3.0.3 Adding '@storybook/addon-webpack5-compiler-babel' to main.js addons field. ✅ ran webpack5-compiler-setup migration 🔎 found a 'visual-tests-addon' migration: ╭ Automigration detected ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │ │ │ New to Storybook 8: Storybook's Visual Tests addon helps you catch unintentional changes/bugs in your stories. The addon is powered by Chromatic, a cloud-based testing tool │ │ developed by Storybook's core team. │ │ │ │ Learn more: storybook.js.org/docs/writing-tests/visual-testing │ │ │ │ Install Visual Tests addon in your project? │ │ │ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ? Do you want to run the 'visual-tests-addon' migration on your project? › (Y/n)✔ Do you want to run the 'visual-tests-addon' migration on your project? … yes An error occurred while installing dependencies: YARN1 error: @chromatic-com/storybook@1.3.3: The engine "yarn" is incompatible with this module. Expected version ">=1.22.18". Got "1.16.0" Please check the logfile generated at ./storybook.log for troubleshooting and try again. ❌ error when running visual-tests-addon migration HandledError: Error: YARN1 error: @chromatic-com/storybook@1.3.3: The engine "yarn" is incompatible with this module. Expected version ">=1.22.18". Got "1.16.0" Please check the logfile generated at ./storybook.log for troubleshooting and try again. at Yarn1Proxy.addDependencies (/Users/roderickhsiao/.npm/_npx/bc7e1e37fcb46ffc/node_modules/@storybook/core-common/dist/index.js:33:75) at async Object.run (/Users/roderickhsiao/.npm/_npx/bc7e1e37fcb46ffc/node_modules/@storybook/cli/dist/generate.js:539:141) ... 4 lines matching cause stack trace ... at async upgrade (/Users/roderickhsiao/.npm/_npx/bc7e1e37fcb46ffc/node_modules/@storybook/cli/dist/generate.js:618:2097) { handled: true, cause: Error: YARN1 error: @chromatic-com/storybook@1.3.3: The engine "yarn" is incompatible with this module. Expected version ">=1.22.18". Got "1.16.0" Please check the logfile generated at ./storybook.log for troubleshooting and try again. at Yarn1Proxy.runAddDeps (/Users/roderickhsiao/.npm/_npx/bc7e1e37fcb46ffc/node_modules/@storybook/core-common/dist/index.js:46:2210) at async Yarn1Proxy.addDependencies (/Users/roderickhsiao/.npm/_npx/bc7e1e37fcb46ffc/node_modules/@storybook/core-common/dist/index.js:32:927) at async Object.run (/Users/roderickhsiao/.npm/_npx/bc7e1e37fcb46ffc/node_modules/@storybook/cli/dist/generate.js:539:141) at async runFixes (/Users/roderickhsiao/.npm/_npx/bc7e1e37fcb46ffc/node_modules/@storybook/cli/dist/generate.js:604:1794) at async automigrate (/Users/roderickhsiao/.npm/_npx/bc7e1e37fcb46ffc/node_modules/@storybook/cli/dist/generate.js:602:1629) at async doUpgrade (/Users/roderickhsiao/.npm/_npx/bc7e1e37fcb46ffc/node_modules/@storybook/cli/dist/generate.js:618:1628) at async withTelemetry (/Users/roderickhsiao/.npm/_npx/bc7e1e37fcb46ffc/node_modules/@storybook/core-server/dist/index.js:28:3579) at async upgrade (/Users/roderickhsiao/.npm/_npx/bc7e1e37fcb46ffc/node_modules/@storybook/cli/dist/generate.js:618:2097) } ╭ Migration check ran with failures ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │ │ │ Successful migrations: │ │ │ │ webpack5-compiler-setup │ │ │ │ Failed migrations: │ │ │ │ visual-tests-addon: │ │ Error: YARN1 error: @chromatic-com/storybook@1.3.3: The engine "yarn" is incompatible with this module. Expected version ">=1.22.18". Got "1.16.0" │ │ │ │ Please check the logfile generated at ./storybook.log for troubleshooting and try again. │ │ │ │ You can find the full logs in /Users/roderickhsiao/git/react-in-viewport/migration-storybook.log │ │ │ │ ───────────────────────────────────────────────── │ │ │ │ If you'd like to run the migrations again, you can do so by running 'npx storybook automigrate' │ │ │ │ The automigrations try to migrate common patterns in your project, but might not contain everything needed to migrate to the latest version of Storybook. │ │ │ │ Please check the changelog and migration guide for manual migrations and more information: https://storybook.js.org/docs/8.0/migration-guide │ │ And reach out on Discord if you need help: https://discord.gg/storybook │ │ │ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯