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 on axios, eslint-config-react-app, eslint-loader and webpack-dev-server dependencies #90

Open
yaleleeONERA opened this issue Nov 5, 2021 · 1 comment

Comments

@yaleleeONERA
Copy link

Steps to reproduce

  • git clone the project
  • run npm install from the root of the project

Unexpected behavior

51 error code ERESOLVE
52 error ERESOLVE unable to resolve dependency tree
53 error
54 error While resolving: [1mgecko-react[22m@[1m0.1.0[22m
54 error Found: [1maxios[22m@[1m0.21.1[22m[2m[22m
54 error [2mnode_modules/axios[22m
54 error   [1maxios[22m@"[1m^0.21.1[22m" from the root project
54 error
54 error Could not resolve dependency:
54 error [35mpeer[39m [1maxios[22m@"[1m^0.14.0[22m" from [1m@mendeley/api[22m@[1m10.0.2[22m[2m[22m
54 error [2mnode_modules/@mendeley/api[22m
54 error   [1m@mendeley/api[22m@"[1m^10.0.2[22m" from the root project
54 error
54 error Fix the upstream dependency conflict, or retry
54 error this command with --force, or --legacy-peer-deps
54 error to accept an incorrect (and potentially broken) dependency resolution.
91 error code ERESOLVE
92 error ERESOLVE unable to resolve dependency tree
93 error
94 error While resolving: [1mgecko-react[22m@[1m0.1.0[22m
94 error Found: [1meslint[22m@[1m5.16.0[22m[2m[22m
94 error [2mnode_modules/eslint[22m
94 error   [33mdev[39m [1meslint[22m@"[1m^5.3.0[22m" from the root project
94 error
94 error Could not resolve dependency:
94 error [35mpeer[39m [1meslint[22m@"[1m^4.1.1[22m" from [1meslint-config-react-app[22m@[1m2.1.0[22m[2m[22m
94 error [2mnode_modules/eslint-config-react-app[22m
94 error   [1meslint-config-react-app[22m@"[1m^2.1.0[22m" from the root project
94 error
94 error Fix the upstream dependency conflict, or retry
94 error this command with --force, or --legacy-peer-deps
94 error to accept an incorrect (and potentially broken) dependency resolution.
91 error code ERESOLVE
92 error ERESOLVE unable to resolve dependency tree
93 error
94 error While resolving: [1mgecko-react[22m@[1m0.1.0[22m
94 error Found: [1meslint[22m@[1m5.16.0[22m[2m[22m
94 error [2mnode_modules/eslint[22m
94 error   [33mdev[39m [1meslint[22m@"[1m^5.3.0[22m" from the root project
94 error
94 error Could not resolve dependency:
94 error [35mpeer[39m [1meslint[22m@"[1m>=1.6.0 <5.0.0[22m" from [1meslint-loader[22m@[1m1.9.0[22m[2m[22m
94 error [2mnode_modules/eslint-loader[22m
94 error   [1meslint-loader[22m@"[1m1.9.0[22m" from the root project
94 error
94 error Fix the upstream dependency conflict, or retry
94 error this command with --force, or --legacy-peer-deps
94 error to accept an incorrect (and potentially broken) dependency resolution.
149 error ERESOLVE unable to resolve dependency tree
150 error
151 error While resolving: [1mgecko-react[22m@[1m0.1.0[22m
151 error Found: [1mwebpack[22m@[1m3.8.1[22m[2m[22m
151 error [2mnode_modules/webpack[22m
151 error   [1mwebpack[22m@"[1m3.8.1[22m" from the root project
151 error
151 error Could not resolve dependency:
151 error [35mpeer[39m [1mwebpack[22m@"[1m^4.0.0-beta.1[22m" from [1mwebpack-dev-server[22m@[1m3.0.0[22m[2m[22m
151 error [2mnode_modules/webpack-dev-server[22m
151 error   [1mwebpack-dev-server[22m@"[1m3.0.0[22m" from the root project
151 error
151 error Fix the upstream dependency conflict, or retry
151 error this command with --force, or --legacy-peer-deps
151 error to accept an incorrect (and potentially broken) dependency resolution.

Expected behavior

added xxx packages, and audited xxx packages in xxxm

Potential fix

Removing:

  • line 10:
"axios": "^0.21.1",
  • line 26:
"eslint-config-react-app": "^2.1.0",
  • line 27:
"eslint-loader": "1.9.0",
  • line 58:
"webpack-dev-server": "3.0.0",

fixed the error in my environment

@no-identd
Copy link

no-identd commented Aug 17, 2022

Well, there's a whole load of @dependabot pull requests, my guess is that one of them is probably what's needed to fix this (or that it's already fixed by now?)

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