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: Can't resolve 'react-bootstrap' #17

Open
Avivhdr opened this issue Dec 18, 2020 · 4 comments
Open

Module not found: Can't resolve 'react-bootstrap' #17

Avivhdr opened this issue Dec 18, 2020 · 4 comments

Comments

@Avivhdr
Copy link

Avivhdr commented Dec 18, 2020

"react-ellipsis-with-tooltip": "^1.1.1",

After adding the package with: yarn add react-ellipsis-with-tooltip the project fails to load due to the following error:
image

After adding react-bootstrap with: yarn add react-bootstrap the project loads and the tooltip works but without styling.

It looks like the module doesn't install react-bootstrap as a peer dependency (and also fails to load the styles).

@amirfefer
Copy link
Owner

Hi @Avivhdr,
What is the version of the installed react-bootstrap?

@Avivhdr
Copy link
Author

Avivhdr commented Jan 14, 2021

"react-bootstrap": "^1.4.3",

react-elip-with-tooltip

@amirfefer
Copy link
Owner

can you please type npm ls react-bootstrap? this version could be deduped.

@xerosanyam
Copy link

Error with npm 7

Found: [email protected]
node_modules/react-bootstrap
  react-bootstrap@"1.0.0-beta.14" from the root project

Could not resolve dependency:
peer react-bootstrap@"0.31.x || 0.32.x" from [email protected]
node_modules/react-ellipsis-with-tooltip
  react-ellipsis-with-tooltip@"1.1.1" from the root project

Fix the upstream dependency conflict, or retry
this command with --force, or --legacy-peer-deps
to accept an incorrect (and potentially broken) dependency resolution.

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

3 participants