Module not found: Error: Can't resolve '@storybook/theming' after migrating from Storybook 6.5.16 to 7.6.5 #25249
Replies: 1 comment 1 reply
-
|
Seemed to be an issue from where I installed the packages from in our monorepo. Ooops 😬 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
Recently, I used the automigration script to migrate from 6.5.16 to 7.6.5. In doing so, I had to make one manual migration for decorators and move from this to this:
Once completing the migration, I ran into a number of autodoc errors that needed to be resolve via removing my node modules and re-installing with npm. Upon doing that, I encountered this error
ERROR in ../../node_modules/@storybook/components/dist/esm/Color-f953d088.js 47:0-44 Module not found: Error: Can't resolve '@storybook/theming' in '/Users/choward/Development/design-system/node_modules/@storybook/components/dist/esm'for a number of different components in the@storybook/components/dist/esmdirectory. @storybook/theming 7.6.5 is installedAdditional information
[email protected]
main.js after migration script
preview.js after migration and debugging
Create a reproduction
No response
Beta Was this translation helpful? Give feedback.
All reactions