question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Storybook build failing - v5.2.8

See original GitHub issue

We 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:closed
  • Created 4 years ago
  • Reactions:3
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
JanithaRcommented, Dec 3, 2019

@shilman Sorry, I can’t share this repo. Let me see if I can recreate with a brand new project.

0reactions
smo043commented, Dec 21, 2019

I see 5.2.8 is working fine now. Thank you. Hence closing.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found