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

Module not found upon install #46

Open
houmark opened this issue Oct 8, 2020 · 1 comment
Open

Module not found upon install #46

houmark opened this issue Oct 8, 2020 · 1 comment

Comments

@houmark
Copy link

houmark commented Oct 8, 2020

On installing this package I get the following error:

Failed to compile.

./node_modules/react-floating-button-menu/es/ChildButton.js
Module not found: Can't resolve 'styled-components' in '/Sites/node_modules/react-floating-button-menu/es'

I did try re-compiling completely but end up with the same result.

@ifndefdeadmau5
Copy link
Owner

Hey @houmark, that's because current implementation needs 'styled-components' as a peer dependency, and I'm planning to remove it completely in near future. Until then you just need to install it together

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

2 participants