Comments (3)
Similar problem here with emotion.sh
from react-component-library.
you likely need to link React or styled-components to a single source. What I mean is say you have a lib that contains React or styled-components then your project does as well. This will cause a problem with some libs as you can only have once instance of them. React is this way.
To resolve cd into the instance of React (or other applicable lib)
cd node_modules/some_module
yarn link
next go to the third party lib and link to that instance.
yarn link some_module
That should resolve the issue. Let me know if that helps as I believe that is your issue!
from react-component-library.
Closing. Solution by @blujedis should fix the problem. Please re-open issue persists.
from react-component-library.
Related Issues (20)
- react.production.min.js is bundle with the library HOT 5
- [BUG] rollup can't build the library with redux-form HOT 1
- Is it possible to build project with static files? HOT 1
- Quick comment HOT 1
- Invalid hook call HOT 1
- [Bug] styled-component still generate scss file HOT 1
- Unable to use css/scss module in webpack or rollup. HOT 3
- Material UI as peerDependency not working HOT 2
- Error: Could not resolve './TestComponent/TestComponent' from src\index.ts HOT 1
- Include tsconfig-paths-webpack-plugin for relative paths
- Config for jsx HOT 1
- Getting errors after npm install HOT 2
- [QUESTION] Three shaking in Next.js
- Code Splitting not Working HOT 1
- colors dev-dependency missing HOT 1
- [Feature] Add custom fonts
- taillwind intergration HOT 1
- how come your repo is working if you are not specifying that rollup.config.js is a ES module?
- Error: error:0308010C:digital envelope routines::unsupported HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-component-library.