loki icon indicating copy to clipboard operation
loki copied to clipboard

Getting "Unable to get stories. Try adding `import 'loki/configure-react'` to your .storybook/preview.js file" when target is chrome.docker

Open alonseg opened this issue 4 years ago • 2 comments

When running Loki with target 'chrome.docker' I get the error: Unable to get stories. Try adding import 'loki/configure-react' to your .storybook/preview.js file.

I've double checked and 'loki/configure-react' is already imported. Running the same configuration with target 'chrome.app', runs properly, but I must run it in docker.

npm version 6.14.4 docker version 2.3.0.3 Loki version 0.28.1 Storybook version 5.3.18

alonseg avatar Oct 10 '21 11:10 alonseg

it appears like the chrome version in yukinying/chrome-headless is a little old, I've debugged chrome inside the container and saw a syntax error that is not reproduced on my local chrome

alonseg avatar Oct 11 '21 12:10 alonseg

Maintainer of yukinying/chrome-headless here. Apologies that the build pipeline was blocked and alerts were silenced. The pipeline is recently fixed, and I have enabled more alerting about it. The package published is now most recently and will be continously built.

yukinying avatar Apr 15 '22 03:04 yukinying