Breaking changes in @storybook/polymer from 5.1.3 to 5.1.4
See original GitHub issueDescribe the bug Upgrade @storybook/polymer from 5.1.3 to 5.1.4 breaks storybook.
ERROR in [PROJECT_PATH]/node_modules/@storybook/core/dist/server/common/polyfills.js
Module not found: Error: Cannot find module '[PROJECT_PATH]/node_modules/@open-wc/demoing-storybook/node_modules/@storybook/addon-storysource/loader.js![PROJECT_PATH]/node_modules/core-js/features/symbol/index.js'
Require stack:
- [PROJECT_PATH]/node_modules/@storybook/core/dist/server/preview/noop.js
@ [PROJECT_PATH]/node_modules/@storybook/core/dist/server/common/polyfills.js 7:0-34
@ multi [PROJECT_PATH]/node_modules/@storybook/core/dist/server/common/polyfills.js [PROJECT_PATH]/node_modules/@storybook/core/dist/server/preview/globals.js ./.storybook/config.js (webpack)-hot-middleware/client.js?reload=true
and some 4 more similar errors.
To Reproduce Steps to reproduce the behavior:
- Update to 5.14
- Run
start-storybook -s .
- See error
Expected behavior Build the storybook project
Screenshots If applicable, add screenshots to help explain your problem.
Code snippets
System:
- OS: MacOS
- Device: Macbook Pro 2018
- Browser: -
- Framework: Polymer (WebComponents - LitElement)
- Addons: -
- Version: 5.1.4
Additional context Add any other context about the problem here.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:5
- Comments:20 (17 by maintainers)
Top Results From Across the Web
Storybook 5 Migration Guide
This guide takes you through: Upgrading the Storybook package; Dealing with breaking changes; Getting comfortable in the new UI. Step 1: Package ...
Read more >Upgrading Storybook
Upgrade script This upgrades all of the Storybook packages in your project to the latest stable version, perform confidence checks of your package...
Read more >Storybook 6 Migration Guide
This guide takes you through: Upgrading the Storybook packages; Dealing with breaking changes; Updating to current best practices. We assume you ...
Read more >Storybook 5.1
Storybook is the world's most popular UI component explorer, and 5.1 includes: Mobile: Standalone package architecture for React Native; ...
Read more >@storybook/api NPM | npm.io
Check @storybook/api 6.5.12 package - Last release 6.5.12 with MIT ... viewport, Change display sizes and layouts for responsive components using Storybook ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I was finally able to get 5.1.11 to build, using the following
webpack.config.js
:If someone wants that commit be make it into @storybook/polymer, they’d have to open a PR here https://github.com/storybookjs/storybook/tree/master/app/polymer
FYI we’re dropping support for storybook for polymer and focussing on supporting plain web-components instead.