Skip to content
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

Unable to compile ? #8

Open
dellwatson opened this issue Feb 3, 2021 · 4 comments
Open

Unable to compile ? #8

dellwatson opened this issue Feb 3, 2021 · 4 comments
Assignees

Comments

@dellwatson
Copy link

./node_modules/react-camera-pro/dist/index.esm.js
Module not found: Can't resolve 'styled-components'

Install styled-components is a must ?

@andreasciamanna
Copy link

How was this fixed? I still see this error after updating a bunch of packages.

@Balazs-D
Copy link

Any update on this? I am facing the same issue as well....

@FilipPyrek
Copy link
Member

I can see that styled-components is just a peer dependency, not classic dependency. Try adding styled-components to your package.json as a hotfix

@amirsarfarW
Copy link

I can see that styled-components is just a peer dependency, not classic dependency. Try adding styled-components to your package.json as a hotfix

Why should we install a package that our project doesn't need?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants