react-ellipsis-with-tooltip icon indicating copy to clipboard operation
react-ellipsis-with-tooltip copied to clipboard

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

Open Avivhdr opened this issue 4 years ago • 4 comments

"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).

Avivhdr avatar Dec 18 '20 12:12 Avivhdr

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

amirfefer avatar Jan 11 '21 22:01 amirfefer

"react-bootstrap": "^1.4.3",

react-elip-with-tooltip

Avivhdr avatar Jan 14 '21 09:01 Avivhdr

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

amirfefer avatar Feb 16 '21 21:02 amirfefer

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.

xerosanyam avatar May 26 '21 15:05 xerosanyam