Open garycourt opened 10 months ago
An alternative and long term solution would be to setup Storybook to not precompile and bundle caniuse-lite
into the NPM package. This way, developers can upgrade this package separately from all other dependencies using the resolutions
directive in package.json
.
Describe the bug
I'm getting the following errors when running the latest version of Storybook (v7.5.3).
I believe the first error explains what the problem is. The
caniuse-lite
package that is (indirectly) referenced by this package is out of date and requires updating. Because Storybook precompiles all of these files together, it's not possible to overridecaniuse-lite
's version using theresolutions
directive inpackage.json
anymore since v7.I believe the packages that need to be upgraded are:
To Reproduce Steps to reproduce the behavior:
@storybook/addon-docs
has been installed."browserslist": ["chrome 118"]
inpackage.json
.Expected behavior These error messages should not be reported.
Screenshots N/A
Additional context N/A