I am stuck with this problem for a while now, so I seek help. I have an npm package which I don't want to publish to npm but want to use locally.
Therefore I used npm link in the custom package repository and npm link <route_to_the_package> in the repository where I would like to use.
Things started to be tricky when I wanted to continue the development in the custom package library and got error for the style component.
I have tried everything which was described on the internet.
- added peer dependencies
- modified webpack
So far nothing happened. I really need some idea good tips for this.
package.json of the custom package pic
package.json of the repository where I would like to use the custom package
Styled components error from the chrome: enter image description here
Webpack: pic5