-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
📕 Storybook 3 #55248
📕 Storybook 3 #55248
Conversation
Pinging @elastic/kibana-operations (Team:Operations) |
Pinging @elastic/kibana-app-arch (Team:AppArch) |
💔 Build FailedHistory
To update your PR or re-run it, just comment with: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Running yarn storybook apm
with this gives me a very long output of errors that looks like:
.js
Field 'browser' doesn't contain a valid alias configuration
/Users/smith/Code/kibana/node_modules/react-syntax-highlighter/prism-light.js doesn't exist
over and over for every location it's trying.
The actual file it's looking for is in node_modules/react-syntax-highlighter/dist/cjs/prism-light.js or node_modules/react-syntax-highlighter/dist/esm/prism-light.js.
The package.json for that module (which is a direct dependency in x-pack's package.json and used by APM) looks normal and defines main
and module
keys for the index.js files in those respective cjs and esm directories.
I couldn't think of what to do to the kbn-storybook webpack config to fix this and googling wasn't helpful for me.
Please try it and make sure it happens for you too. I did a yarn kbn bootstrap
before trying.
Summary
5.3.x
.@kbn/ui-shared-deps
instead of custom DLL.embeddable
plugin that uses Storybook knobs.