#Storybook does not run

3 messages · Page 1 of 1 (latest)

worldly kelp
#

I am having issues issues with Storybook running. It was running fine but there were some updates done to the environment and now it has stopped running at all. Attached is the file of what I see when we try to run it. Doing research, I keep finding info that some modules (react-spring and browser) need to be updated, but when I make those updates I get more errors and end up reverting.

Any help or insight into the issue will be very appreciated! Thanks in advanced!

pure isle
#

Hi. In these situations I follow these steps:

  1. Get in a clean git state, to not lose any work
  2. rm -rf node_modules
  3. Re-install dependencies
  4. Try it again

If that still doesn't work:

  1. rm -rf node_modules yarn.lock
    • Or whatever your package manager's lockfile is
  2. Re-install dependencies
  3. Try it again
worldly kelp
#

Hey Kyle, thanks for the suggestions. Unfortunately, I already tried this to no avail. The issue that I run into is that we have our packages and our lead updates the packages without consulting or letting us know, then Storybook seems to always break and I have to be downgrading the packages to make it work again. For some reason this time I am unable to find a compatibility chart of the React-spring Storybook is looking for and our React version. I'm really not sure what Storybook is looking for, to be honest.