You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The bug appears when I build static storybook only with yarn build-storybook . Development built with yarn storybook works as expected. Once static storybook is deployed the sort of loads it self recursively in an infinite loop. Spent whole day debugging but no luck. It would be great if anyone could help me out with this. I am using "yarn workspaces" with typescript and I expect that might be an issue, but I'm not sure. There is no error in console.
Steps to reproduce the behavior:
From packages/x-components run I yarn build-storybook
Then I run serve -s storybook-static
I expect the static and dev builds should pull pull same stories
Screenshot:
System:
OS: Linux 5.3 Arch Linux undefined
CPU: (8) x64 Intel(R) Xeon(R) CPU E3-1535M v5 @ 2.90GHz
Binaries:
Node: 10.16.3 - /usr/local/bin/node
Yarn: 1.17.3 - /usr/bin/yarn
npm: 6.9.0 - /usr/local/bin/npm
Browsers:
Firefox: 69.0.2
Version 77.0.3865.90 (Official Build) Arch Linux (64-bit)
I Just created an new project without yarn workspaces and got the same issue. Here are my steps
create-react-app storybook-test
cd storybook-test/
npx -p @storybook/cli sb init --type react
yarn storybook // test if demo story renders as expected in dev
yarn build-storybook // and now static ...
serve -s storybook-static // same bug appears
The bug appears when I build static storybook only with
yarn build-storybook
. Development built withyarn storybook
works as expected. Once static storybook is deployed the sort of loads it self recursively in an infinite loop. Spent whole day debugging but no luck. It would be great if anyone could help me out with this. I am using "yarn workspaces" with typescript and I expect that might be an issue, but I'm not sure. There is no error in console.Steps to reproduce the behavior:
yarn build-storybook
serve -s storybook-static
I expect the static and dev builds should pull pull same stories
Screenshot:
System:
OS: Linux 5.3 Arch Linux undefined
CPU: (8) x64 Intel(R) Xeon(R) CPU E3-1535M v5 @ 2.90GHz
Binaries:
Node: 10.16.3 - /usr/local/bin/node
Yarn: 1.17.3 - /usr/bin/yarn
npm: 6.9.0 - /usr/local/bin/npm
Browsers:
Firefox: 69.0.2
Version 77.0.3865.90 (Official Build) Arch Linux (64-bit)
x-web-app/packages/x-components
| - package.json
| - tsconfig.json
| - .storybook
| |- addons.js
| |- config.js
| - src
| | - componenets
| | - stories
| | | - index.tsx
addons.js
config.js
package.json in x-components
package.json in project root
stories.tsx
The text was updated successfully, but these errors were encountered: