-
Notifications
You must be signed in to change notification settings - Fork 14
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
styled-components as peerDependency #2
Comments
Hi @devboell great to get to know your project I'm trying to use it but I got the error you describe above. $ yarn add react-fretboard Is there a workaround for this? pretty new to react and new webpack setup thing. |
Hi @alexkilla, it should work when you install styled-components in your own project. Have you tried that? |
Not working for me with a simple example: https://codesandbox.io/s/nervous-albattani-1w35z?file=/src/App.js:113-194 |
@ccorcos I don't know what is going on here, seems codesandbox is looking for styled-components in the wrong place. |
Hi @devboell this library looks fantastic and would be great for what I'm working on, but I'm running into the same exact issue as everyone else. styled-components is breaking this project. |
There's an issue with having two instances of styled-components running at the same time. For now I put it in webpack externals, but I'd rather not force a user to install styled-components if they are not using it themselves.
The text was updated successfully, but these errors were encountered: