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

Couldn't install dependencies-Reg #14

Open
BabyHacker28 opened this issue Apr 25, 2024 · 0 comments
Open

Couldn't install dependencies-Reg #14

BabyHacker28 opened this issue Apr 25, 2024 · 0 comments

Comments

@BabyHacker28
Copy link

When I gave the command "npm i --force" it throws the following error:

npm WARN using --force Recommended protections disabled.
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: [email protected]
npm WARN node_modules/react
npm WARN react@"^18.2.0" from the root project
npm WARN 4 more (@testing-library/react, react-dom, react-scripts, react-webcam)
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer react@"16.x" from [email protected]
npm WARN node_modules/react-modal-image
npm WARN react-modal-image@"^2.5.0" from the root project
npm WARN
npm WARN Conflicting peer dependency: [email protected]
npm WARN node_modules/react
npm WARN peer react@"16.x" from [email protected]
npm WARN node_modules/react-modal-image
npm WARN react-modal-image@"^2.5.0" from the root project

up to date, audited 1534 packages in 8s

247 packages are looking for funding
run npm fund for details

8 vulnerabilities (2 moderate, 6 high)

To address all issues (including breaking changes), run:
npm audit fix --force

Run npm audit for details.

I've also given the command "npm audit fix --force". It shows the same. Kindly help, thanks in advance!

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

1 participant