Storybook build failing - v5.2.8
See original GitHub issueWe updated the storybook version 5.2.8 and it started breaking
Steps to reproduce npm run storybook npm run build-storybook
version 5.2.8
> build-storybook -c .storybook -o .out
info @storybook/react v5.2.8
info
info clean outputDir..
info => Copying prebuild dll's..
info => Building manager..
info => Loading manager config..
info => Loading presets
info => Loading custom addons config.
info => Compiling manager..
ERR! => Failed to build the manager
ERR! ./.storybook/addons.js
ERR! Module build failed (from ./node_modules/babel-loader/lib/index.js):
ERR! Error: Cannot find module './src/data'
ERR! Require stack:
Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:8 (3 by maintainers)
Top Results From Across the Web
npm run build-storybook fails with "Module parse failed
Note that I am able to correctly run Storybook locally, this issue only happens during build time. The project has no webpack.config.js file ......
Read more >Webpack v5 Upgrade - `start-storybook` works but ... - Issuehunt
Webpack v5 Upgrade - `start-storybook` works but `build-storybook` fails # ... @storybook/react: ^6.1.11 => 6.1.11 @storybook/storybook-deployer: ^2.8.7 ...
Read more >@storybook/addon-storyshots | Yarn - Package Manager
Take a code snapshot of every story automatically with Jest ... Build Status on CircleCI CodeFactor Known Vulnerabilities codecov License · Storybook ......
Read more >Configure Storybook
Note that you can change the folder that Storybook uses by setting the -c flag to your start-storybook and build-storybook scripts.
Read more >@storybook/addon-info: Versions | Openbase
for the full list of changes. See MIGRATION.md to upgrade from 5.0 or earlier. ... Build: Fix image snapshots setup in official-storybook (#8932)....
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
@shilman Sorry, I can’t share this repo. Let me see if I can recreate with a brand new project.
I see 5.2.8 is working fine now. Thank you. Hence closing.