-
-
Notifications
You must be signed in to change notification settings - Fork 9.1k
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
[Bug]: Updating to 8.1.0 of addon-controls or addon-essentials is causing an error with ARGTYPES_INFO_REQUEST #27158
Comments
Did you upgrade with |
I did yeah, I get the same error. Tried the usual suspects, such as doing a full delete of |
Hmm. That's strange. Can you prune your lock file or run |
We encounter the same issue after upgrading to the newest version. |
Edit: Pruning the lock file did not work. |
@valentinpalkovic @vanessayuenn Anything else you recommend here? Could this issue stem from the web-components package? |
@JamesIves what happens when you |
Output:
|
It seems that If you are using yarn >= v2 as a package manager, you could run |
Removed that addon, still getting the error with the following. 🤔 ├─┬ @storybook/addon-actions@8.1.4
│ └── @storybook/core-events@8.1.4
├─┬ @storybook/addon-controls@8.1.4
│ └─┬ @storybook/blocks@8.1.4
│ └── @storybook/core-events@8.1.4 deduped
├─┬ @storybook/addon-docs@8.1.4
│ └─┬ @storybook/preview-api@8.1.4
│ └── @storybook/core-events@8.1.4 deduped
├─┬ @storybook/addon-essentials@8.1.4
│ └─┬ @storybook/core-common@8.1.4
│ └── @storybook/core-events@8.1.4 deduped
├─┬ @storybook/manager-api@8.1.4
│ ├─┬ @storybook/channels@8.1.4
│ │ └── @storybook/core-events@8.1.4 deduped
│ └── @storybook/core-events@8.1.4 deduped
├─┬ @storybook/web-components-webpack5@8.1.4
│ └─┬ @storybook/builder-webpack5@8.1.4
│ └── @storybook/core-events@8.1.4 deduped
├─┬ @storybook/web-components@8.1.4
│ └─┬ @storybook/docs-tools@8.1.4
│ └── @storybook/core-events@8.1.4 deduped
└─┬ storybook-addon-mock@5.0.0
├─┬ @storybook/channels@8.0.9
│ └── @storybook/core-events@8.0.9 deduped
├── @storybook/core-events@8.0.9
└─┬ storybook@8.0.9
└─┬ @storybook/cli@8.0.9
├─┬ @storybook/codemod@8.0.9
│ └─┬ @storybook/types@8.0.9
│ └─┬ @storybook/channels@8.0.9
│ └── @storybook/core-events@8.0.9
├─┬ @storybook/core-common@8.0.9
│ └── @storybook/core-events@8.0.9 deduped
├── @storybook/core-events@8.0.9
├─┬ @storybook/core-server@8.0.9
│ ├─┬ @storybook/builder-manager@8.0.9
│ │ └─┬ @storybook/core-common@8.0.9
│ │ ├── @storybook/core-events@8.0.9
│ │ └─┬ @storybook/types@8.0.9
│ │ └─┬ @storybook/channels@8.0.9
│ │ └── @storybook/core-events@8.0.9 deduped
│ ├─┬ @storybook/channels@8.0.9
│ │ └── @storybook/core-events@8.0.9 deduped
│ ├─┬ @storybook/core-common@8.0.9
│ │ └── @storybook/core-events@8.0.9 deduped
│ ├── @storybook/core-events@8.0.9
│ ├─┬ @storybook/manager-api@8.0.9
│ │ └── @storybook/core-events@8.0.9 deduped
│ └─┬ @storybook/preview-api@8.0.9
│ └── @storybook/core-events@8.0.9 deduped
├─┬ @storybook/csf-tools@8.0.9
│ └─┬ @storybook/types@8.0.9
│ └─┬ @storybook/channels@8.0.9
│ └── @storybook/core-events@8.0.9
├─┬ @storybook/telemetry@8.0.9
│ └─┬ @storybook/core-common@8.0.9
│ ├── @storybook/core-events@8.0.9
│ └─┬ @storybook/types@8.0.9
│ └─┬ @storybook/channels@8.0.9
│ └── @storybook/core-events@8.0.9 deduped
└─┬ @storybook/types@8.0.9
└─┬ @storybook/channels@8.0.9
└── @storybook/core-events@8.0.9 deduped
The list of Storybook dependencies I have installed:
and here's my addons export, utility-toolbar is a local addon, hence why I have manager-api installed in my package.json file. export const addons: StorybookConfig['addons'] = [
'@storybook/addon-controls',
'@storybook/addon-a11y',
'@storybook/addon-essentials',
'@storybook/addon-mdx-gfm',
'@storybook/addon-webpack5-compiler-swc',
'storybook-addon-mock',
'./addons/utility-toolbar',
]; |
@valentinpalkovic @shilman any other suggestions here? I'm using npm not yarn so the yarn command isn't something I can use. I've tried narrowing down my dependencies list so I'm not duplicating them with the usage of addon-essentials. Removing export const addons: StorybookConfig['addons'] = [
'@storybook/addon-a11y',
'@storybook/addon-essentials',
'@storybook/addon-webpack5-compiler-swc',
'storybook-addon-mock',
'./addons/utility-toolbar',
]; and
|
@JamesIves the problem is here:
The package manager is hoisting the wrong version of some of the packages. You can force everything to resolve to Here is
To keep it simple you can probably just remove your lockfile and reinstall. |
That did the trick! |
Glad to hear you got it sorted @JamesIves ! We're working on changes for 8.2 that should make this easier to diagnose/fix. |
Describe the bug
Recently upgraded all of my Storybook packages and got the following error:
After disabling all of my addons, the error seems to point towards
@storybook/addon-essentials
and@storybook/addon-controls
. Disabling both of these allow Storybook to build.To Reproduce
Upgrade all Storybook related packages to 8.1.0 or 8.1.1.
System
Additional context
Error does not occur with
8.0.10
.Tasks
The text was updated successfully, but these errors were encountered: