Skip to content

Couldn't install dependencies-Reg #14

@BabyHacker28

Description

@BabyHacker28

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: react-modal-image@2.5.0
npm WARN Found: react@18.2.0
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 react-modal-image@2.5.0
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: react@16.14.0
npm WARN node_modules/react
npm WARN peer react@"16.x" from react-modal-image@2.5.0
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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions