storybook won't run on localhost

Viewed 3833

I'm running Storybook 6.1.21. At some point it stopped loading on localhost:6006. On localhost it loads a white page in the browser and logs this to the console:

GET http://localhost:6006/main.daf8ed0c474096531109.bundle.js net::ERR_ABORTED 404 (Not Found)

If I open Storybook on http://192.168.86.137:6006 it works fine.

I'm at at loss for how to troubleshoot this, any ideas?

2 Answers

So something else is running on :6006, I'm not sure what it is yet, but it's not loading correctly. If I change storybook to run on a different port it starts on localhost without a problem:

start-storybook -p 6007

Empty cache and hard reload resolved this issue for me.

Related