Storybook 6.1.0 Docs styling gone
See original GitHub issueDescribe the bug Updated Storybook and addons from 6.0.22 to 6.1.0 and the styling disapeared from the docs pages.
To Reproduce Steps to reproduce the behavior:
- Upgrade Storybook and addons to 6.1.0
- run
npm run storybook
- Go to a docs page and see that the styling for headers and code snippets and stuff are gone.
Expected behavior Expected to see same styling on docs pages as before
Screenshots
Before:
After:
System Environment Info:
System: OS: Windows 10 10.0.18363 CPU: (8) x64 Intel® Core™ i7-1065G7 CPU @ 1.30GHz Binaries: Node: 14.15.0 - C:\Program Files\nodejs\node.EXE Yarn: 1.22.5 - C:\Program Files (x86)\Yarn\bin\yarn.CMD npm: 6.14.8 - C:\Program Files\nodejs\npm.CMD Browsers: Chrome: 87.0.4280.66 Edge: Spartan (44.18362.449.0) npmPackages: @storybook/addon-a11y: 6.1.0 => 6.1.0 @storybook/addon-docs: 6.1.0 => 6.1.0 @storybook/addon-essentials: 6.1.0 => 6.1.0 @storybook/addon-knobs: 6.0.22 => 6.0.22 @storybook/addons: 6.1.0 => 6.1.0 @storybook/react: 6.1.0 => 6.1.0
Additional context
npx sb@next info
lists Windows as operating system, but am running it in a linux node:14 container (have ran docker-compose up --build --force-recreate to ensure that the newest dependencies is installed on the image).
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:9 (3 by maintainers)
Thank you for your response 😃. Actually I just noticed that it worked for a while locally but not once published (I thought I had a cache problem or whatever on the local). I finally noticed it was probably coming from the CI and I emptied the cache of the CI, and published it and it finally worked ! So… I had just lost my mind 🤯.
I’ll try to post another message tomorrow to give a config example that led me to this bug (I think I have a branch where I already had this bug). I hope it will help to find the source of the problem.
@renadr can you remove
"@storybook/addon-options": "^5.3.21"
and remove node_modules and reinstall?