Open rhengles opened 3 weeks ago
I have the same error when running loki in CI with github actions:
yarn loki --requireReference --reactUri file:./storybook-static --chromeConcurrency=1
PASS chrome.docker/PREPARE
Waiting for 127.0.0.1:10098.
Connected!
PASS chrome.docker/START
FAIL chrome.docker/FETCH_STORIES: SB_PREVIEW_API_0011 (StoryStoreAccessedBeforeInitializationError): Cannot access the Story Store until the index is ready.
FAIL chrome.docker: Some tasks failed to run
I looked at the code, and I suppose that the code that tests if a URL has been fully loaded is not working properly. If I increase the value of REQUEST_STABILIZATION_TIMEOUT
to 5s I don't get the error anymore.
Just created a new SolidStart project from zero, added latest Storybook (8.3.5), tried to install and run Loki on it. But when running the command
npx loki update
, this was the output:Platform: Windows 10 Node v20.11.1