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

Warning appears in terminal when using @storybook/addon-postcss with Storybook 7.0.2 #45

Open
justtoconfirm opened this issue Apr 5, 2023 · 9 comments
Labels
bug Something isn't working

Comments

@justtoconfirm
Copy link

Describe the bug

Warning in the CLI when using @storybook/addon-postcss with the latest version of Storybook version 7.0.2. Warning in the terminal:

Attention: We've detected that you're using the following addons in versions which are known to be incompatible with Storybook 7

Currently using: @storybook/addon-postcss@2.0.0

Steps to reproduce the behavior

  1. Install or update all Storybook packages to the latest version of 7.0.2.
  2. Amend the Storybook main.js file, as this has now changed, to ensure the Storybook configuration is correct.
  3. Amend the scripts in the package.json file to run Storybook.
  4. Warning should appear within the terminal.

Expected behavior

Warning is not showing within the terminal.

Environment

  • macOS Ventura 13.2 on MacBook Pro (Apple M1 Pro)
  • Node version 18.15.0

Additional context

Storybook does run without issues, but the warning appears within the terminal.

@justtoconfirm justtoconfirm added the bug Something isn't working label Apr 5, 2023
@justtoconfirm justtoconfirm changed the title [Bug] Warning appears in terminal when using @storybook/addon-postcss with Storybook 7.0.2 Apr 5, 2023
@danni-popova
Copy link

I can confirm the same happening for me.

@justtoconfirm
Copy link
Author

Bumped the package(s) version to 7.0.5 and the warning still appears.

@amerllica
Copy link

I've got the same issue and nothing be found to fix this issue.

@VasiliyTelyatnikovTakeda

The issue same for me and I rolled back to 6.5

@Foxious
Copy link

Foxious commented May 10, 2023

from this project's README:

DEPRECATED: This package in unmaintained and deprecated in favor of @storybook/addon-styling

I changed to addon-styling and my storybook install works again

@TappDS
Copy link

TappDS commented Jun 13, 2023

Any fixes for this?

@Foxious
Copy link

Foxious commented Jun 13, 2023

Any fixes for this?

addon-postcss is deprecated, use @storybook/addon-styling instead

@adbutterfield
Copy link

Any fixes for this?

addon-postcss is deprecated, use @storybook/addon-styling instead

Look like addon-styling is also deprecated: https://github.com/storybookjs/addon-styling

@gandhirahul
Copy link

@storybook/addon-styling: This addon is officially deprecated.
But it's split into two separate addons, @storybook/addon-styling-webpack and @storybook/addon-themes.

yarn add @storybook/addon-styling-webpack @storybook/addon-themes

You can read more here: https://storybook.js.org/addons/@storybook/addon-styling

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

8 participants