Skip to content

npm ERR! peer react@"15.3.0 - 16.x" from react-vis@1.11.7 with NPM 7 or above install #1435

@Chen-BBe

Description

@Chen-BBe

Please update & test to latest react version, although it can be ignored by -- force with NPM or downgrade to NPM 6*, but a bit annoying to see it print out in my console.
peer react@"15.3.0 - 16.x" from react-vis@1.11.7

The complete error below:

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: react_ui@0.1.0 // this my project name, ignore it.
npm ERR! Found: react@17.0.2
npm ERR! node_modules/react
npm ERR! react@"^17.0.2" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"15.3.0 - 16.x" from react-vis@1.11.7 // does not work with NPM 7, unless --force
npm ERR! node_modules/react-vis
npm ERR! react-vis@"^1.11.7" 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.
npm ERR!
npm ERR! See C:\Users\Steven.bi\AppData\Local\npm-cache\eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Steven.bi\AppData\Local\npm-cache_logs\2021-10-28T02_42_43_485Z-debug.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions