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

npm install fails for node version 16.15.1 and later #3479

Closed
guy-har opened this issue Jun 9, 2022 · 1 comment
Closed

npm install fails for node version 16.15.1 and later #3479

guy-har opened this issue Jun 9, 2022 · 1 comment
Labels
area/UI Improvements or additions to UI infrastructure build, deploy and release processes team/ecosystem Team Ecosystem

Comments

@guy-har
Copy link
Contributor

guy-har commented Jun 9, 2022

Currently, npm install version 16.15.1 and later fails due to the version of react-diff-viewer
This resolves by:

  • Developers can't run npm install with newer npm versions
  • All our workflows are currently fixed on version 16.15.0
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/react
npm ERR!   react@"^17.0.0" from the root project
npm ERR!   peer react@">=16.8.0" from @emotion/[email protected]
npm ERR!   node_modules/@emotion/react
npm ERR!     peer @emotion/react@"^11.0.0-rc.0" from @emotion/[email protected]
npm ERR!     node_modules/@emotion/styled
npm ERR!       peerOptional @emotion/styled@"^11.3.0" from @mui/[email protected]
npm ERR!       node_modules/@mui/material
npm ERR!         @mui/material@"^5.6.4" from the root project
npm ERR!       2 more (@mui/styled-engine, @mui/system)
npm ERR!     peerOptional @emotion/react@"^11.5.0" from @mui/[email protected]
npm ERR!     node_modules/@mui/material
npm ERR!       @mui/material@"^5.6.4" from the root project
npm ERR!     2 more (@mui/styled-engine, @mui/system)
npm ERR!   23 more (@emotion/styled, @mui/base, @mui/material, ...)
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^15.3.0 || ^16.0.0" from [email protected]
npm ERR! node_modules/react-diff-viewer
npm ERR!   react-diff-viewer@"^3.1.1" from the root project
npm ERR! 
npm ERR! Conflicting peer dependency: [email protected]
npm ERR! node_modules/react
npm ERR!   peer react@"^15.3.0 || ^16.0.0" from [email protected]
npm ERR!   node_modules/react-diff-viewer
npm ERR!     react-diff-viewer@"^3.1.1" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

Unfortunately, there is no newer version of react-diff-viewer. there is a PR suggesting a fix from Jun 9, 2021, that wasn't merged yet (praneshr/react-diff-viewer#125).

@guy-har guy-har added area/UI Improvements or additions to UI infrastructure build, deploy and release processes labels Jun 9, 2022
@ortz ortz added the team/ecosystem Team Ecosystem label Jun 15, 2022
@johnnyaug
Copy link
Contributor

Could not reproduce, fixed in #3680

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/UI Improvements or additions to UI infrastructure build, deploy and release processes team/ecosystem Team Ecosystem
Projects
None yet
Development

No branches or pull requests

3 participants