Skip to content

ERR! Could not resolve dependency #791

Closed
@HristoS

Description

@HristoS

What happened?

When i am taring to install with react-native react-native@"0.68.0" , i've got
npm ERR! While resolving: carassistant@0.0.1
npm ERR! Found: react-native@0.68.0
npm ERR! node_modules/react-native
npm ERR! react-native@"0.68.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react-native@"^0.0.0-0 || 0.60 - 0.67 || 1000.0.0" from @react-native-a
npm ERR! node_modules/@react-native-async-storage/async-storage
npm ERR! @react-native-async-storage/async-storage@"*" from the root project

Version

1.17.2

What platforms are you seeing this issue on?

  • Android
  • iOS
  • macOS
  • Windows
  • web

System Information

PS C:\Repositories\FE\CarAssistant> npm install @react-native-async-storage/async-sto
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: carassistant@0.0.1
npm ERR! Found: react-native@0.68.0
npm ERR! node_modules/react-native
npm ERR!   react-native@"0.68.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react-native@"^0.0.0-0 || 0.60 - 0.67 || 1000.0.0" from @react-native-a
npm ERR! node_modules/@react-native-async-storage/async-storage
npm ERR!   @react-native-async-storage/async-storage@"*" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\hristo.stoev\AppData\Local\npm-cache\_logs\2022-03-31T13_58_44_
PS C:\Repositories\FE\CarAssistant>
                                  > npm install @react-native-async-storage/async-sto
>>
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: carassistant@0.0.1
npm ERR! Found: react-native@0.68.0
npm ERR! node_modules/react-native
npm ERR!   react-native@"0.68.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer react-native@"^0.0.0-0 || 0.60 - 0.67 || 1000.0.0" from @react-native-a
npm ERR! node_modules/@react-native-async-storage/async-storage
npm ERR!   @react-native-async-storage/async-storage@"*" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\hristo.stoev\AppData\Local\npm-cache\_logs\2022-03-31T14_03_41_527Z-debug-0.log

Steps to Reproduce

run npm install @react-native-async-storage/async-storage with react-native@"0.68.0"

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions