Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

addon-interactions 6.4.19 breaks Storybook... #17686

Open
totszwai opened this issue Mar 10, 2022 · 3 comments
Open

addon-interactions 6.4.19 breaks Storybook... #17686

totszwai opened this issue Mar 10, 2022 · 3 comments

Comments

@totszwai
Copy link

Follow this guide: https://storybook.js.org/docs/react/writing-stories/play-function

Installed the package: npm install @storybook/addon-interactions @storybook/testing-library --save-dev

configured the package:


module.exports = {
  stories: ['../src/**/*.stories.mdx', '../src/**/*.stories.@(js|jsx|ts|tsx)'],
  addons: [
    '@storybook/preset-create-react-app',
    {
      name: '@storybook/addon-storysource',
      options: {
        loaderOptions: {
          injectStoryParameters: false
        }
      }
    },
    '@storybook/addon-essentials',
    '@storybook/addon-toolbars',
    '@storybook/addon-links',
    'storybook-addon-designs',
    'storybook-react-i18next',
    //'@storybook/addon-interactions' // <= Will cause everything to fail
  ],

Greeted by error messages like these:
image
image
image

Using pretty much everything latest... here is the versions in my package.json:

    "@storybook/addon-actions": "^6.4.19",
    "@storybook/addon-essentials": "^6.4.19",
    "@storybook/addon-interactions": "^6.4.19",
    "@storybook/addon-links": "^6.4.19",
    "@storybook/addon-storysource": "^6.4.19",
    "@storybook/preset-create-react-app": "^3.2.0",
    "@storybook/react": "6.4.19",
    "@storybook/testing-library": "0.0.9",


    "storybook": "^6.4.19",
    "storybook-addon-designs": "6.2.1",
    "storybook-react-i18next": "1.0.17",
@mikaelboff
Copy link

facing this problem too 😢

@StuckInSprings
Copy link

This also happened for me when implementing interactions. Same console error as well.

@DzmVasileusky
Copy link

Experience almost the same, just error is different

Снимок экрана 2022-11-25 в 18 50 32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants