-
Notifications
You must be signed in to change notification settings - Fork 929
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
Module not found: Error: Can't resolve '@emotion/styled' #4465
Comments
Moving @emotion/styled to peerDependencies seems to solve the issue for now |
that's what I was about to suggest. |
Another option you have is to specify this as a dependency of your components via the variants in workspace.jsonc instead. |
Hey @GiladShoham, Can you help me understand how it works exactly? I am trying to set different dependencies on my bits, but eventually I get some deps I don't need. My default yarn config looks like this:
I am then adding an override for one of my directories. It's a component that contains eslint configuration, so I only need the eslint deps. Here is what I did under
When I build with that config, I am getting the following output of show: Is there some mode details documentation I can read? I believe I have followed the official docs on this |
Describe the bug
Hello folks,
I am having a strange issue with bit starting from today. I had to install some additional Material-UI packages, which seems to cause issues with the build process.
I am using material-uinext (v.5 alpha) and I am getting the following error during build for every component
What is interesting is that indeed I can't find the emotion/styled package in the capsule folder's node_modules, although it's listed as a dependency in my workspace and I can also see it in my local node_modules folder
Here is my workspace config
Let me know if any other info is needed.
Specifications
The text was updated successfully, but these errors were encountered: