reg-viz / storycap

A Storybook Addon, Save the screenshot image of your stories :camera: via puppeteer.
https://www.npmjs.com/package/storycap
MIT License
694 stars 89 forks source link

url2StoryKey error when capturing screenshot with Storybook v8 #888

Open acbonnyac opened 2 months ago

acbonnyac commented 2 months ago

After I upgraded to Storybook v8, I started getting a weird error about url2StoryKey:

image

This is the only call stack it shows. I am guessing it has something to do within storycap as this function seems to exist in this repo. This error happens 50% of the time though, so it's not consistent.

Anyone has any idea what's going on?