Skip to content

npm install的时候报错,求教 #107

@semnyqu

Description

@semnyqu

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: GSYGithubApp@0.0.1
npm ERR! Found: react-native@0.61.3
npm ERR! node_modules/react-native
npm ERR! react-native@"0.61.3" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react-native@">=0.57 <0.60" from @react-native-community/netinfo@2.0.10
npm ERR! node_modules/@react-native-community/netinfo
npm ERR! @react-native-community/netinfo@"^2.0.0" 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 /Users/semny/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/semny/.npm/_logs/2021-04-28T07_21_03_769Z-debug.log

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