-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Addon-docs: Resolve babel-loader from storybook/core #13607
Conversation
If the parent of |
@merceyz what's the parent of when i do |
Addon-docs: Resolve babel-loader from storybook/core
Thanks for clarifying. If that's the case I'm surprised we're only hearing about this error now, unless I missed it (very possible!). Either way, this seems to fix the problem. Is there a more proper way to do it? |
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.
Amazing work @shilman!
Running
It's perfectly fine to resolve dependencies from one of your dependencies as long as you know they'll continue to depend on it to not suddenly break in a patch release. That said you shouldn't have to,
It's not hoisted to the root because of dependency conflicts and you can't rely on it to be hoisted either (hello PnP), if you look at the output above you see the actual dependency graph and based on just that |
thanks so much for the clarification @merceyz i'm a little bit slow on all this, but i appreciate your patience. we'll get there! 🙏 |
Issue: #13593
What I did
Resolve
babel-loader
from@storybook/core
so we don't need to install it and potentially break CRA. This is a workaround for what appears to be a yarn bug.How to test
CI build
self-merging @tooppaaa @mrmckeb