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 3.3 support

See original GitHub issue

Storybook 3.3 was released over the holidays (see https://medium.com/storybookjs/announcing-storybook-3-3-9972c4bc87ac).

It seems as if percy-storybook has a few problems dealing with it. I haven’t dug into it in detail, but it seems as if some regex or else is matching a but too much, e.g. the error looks like this:


$ percy-storybook --build_dir=`pwd`/target/storybook --rtl
--
  | Error:  { Error: ENAMETOOLONG: name too long, open '/var/lib/web/target/storybook/static/a5749e56cdf59d53b59ac39ef3aca1fd74c9d384.js"></script><script type="text/javascript" src="static/ddc047c4b3c87e61f5efc8f72dc115faf0962981.js"></script><script type="text/javascript" src="static/7cf257be7700c804818d9250c775ff118f55d07c.js"></script><script type="text/javascript" src="static/f5c2f909e8b148cfa9e903ce06c844d6c5506c02.js"></script><script type="text/javascript" src="static/d3bccc904713e0edfb330c94f3e9be8d14df8f90.js"></script><script type="text/javascript" src="static/2109d3737ebe63ba3f6eb6603c124c1db55a9d29.js"></script><script type="text/javascript" src="static/6b036a201776c589843993ca8f2d8e89992bb2c9.js"></script><script type="text/javascript" src="static/ea694fe8e9114af3e2e93924e9dd04f4fab8f06c.js"></script><script type="text/javascript" src="static/e64674b9558dd7949d18fc992220a33e893a7808.js"></script><script type="text/javascript" src="static/b7999ad60deeba88907c2b0a3335fc4338c892fb.js"></script><script type="text/javascript" src="static/851d64bb0fc6eb74c1aa95abd3d4c7ef5a414a20.js"></script><script type="text/javascript" src="static/fd41ea6560a6dcf4113c747d16f578619492a53c.js"></script><script type="text/javascript"
[...]

where [...] are all additional JS resources.

I will try to reproduce the issue in this repo and open a PR if I can.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
timhainescommented, Jan 4, 2018

@joscha I’ve published v1.3.2 with a fix for this. Thanks for triaging what was going on!

1reaction
fotinakiscommented, Jan 4, 2018

Have checked that regex against your gist @joscha, both pre and post 3.3, and it should work. Going to push a PR now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Announcing Storybook 3.3
Storybook for Angular supports all sorts of Angular4+ development! Getting started with your Angular project is dead simple: npm i -g @storybook ......
Read more >
storybook-readme 3.3.0 vulnerabilities | Snyk
Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities (in both your packages & their dependencies) and provides ...
Read more >
@nuxtjs/storybook - npm
Storybook integration with NuxtJS. ... @nuxtjs/storybook. 3.3.2 • Public • Published 2 years ago ... We may support exploring this package in the...
Read more >
Michael Shilman on Twitter: "Released @storybookjs 3.3 with ...
support, device viewports, and. @fbjest. previews. For a happy and productive new year!. medium.com. Announcing Storybook 3.3.
Read more >
Welcome / Changelog - Page ⋅ Storybook
Added new Box component props to support font and text styles, ... fix: Add PopperProps to PopupPopper props (#1772) (@alanbsmith) ## v7.3.3 (2022-09-15) ......
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