Skip to content

reactnative0.77 npm install @react-native-async-storage/async-storage error report #1193

Open
@JasonSanYe

Description

@JasonSanYe

What happened?

npm install @react-native-async-storage/async-storage

error report

Version

2.1.2

What platforms are you seeing this issue on?

  • Android
  • iOS
  • macOS
  • Windows
  • web

System Information

npm install @react-native-async-storage/async-storage
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: [email protected]
npm error Found: [email protected]
npm error node_modules/react-native
npm error   peer react-native@"*" from @react-native-tvos/[email protected]
npm error   node_modules/@react-native-tvos/virtualized-lists
npm error     @react-native-tvos/virtualized-lists@"0.78.0-0" from [email protected]
npm error   peer react-native@"*" from @react-navigation/[email protected]
npm error   node_modules/@react-navigation/native
npm error     peer @react-navigation/native@"^7.0.15" from @react-navigation/[email protected]
npm error     node_modules/@react-navigation/native-stack
npm error       @react-navigation/native-stack@"^7.2.1" from the root project
npm error     peer @react-navigation/native@"^7.0.15" from @react-navigation/[email protected]
npm error     node_modules/@react-navigation/native-stack/node_modules/@react-navigation/elements
npm error       @react-navigation/elements@"^2.2.6" from @react-navigation/[email protected]
npm error       node_modules/@react-navigation/native-stack
npm error         @react-navigation/native-stack@"^7.2.1" from the root project
npm error     1 more (the root project)
npm error   5 more (@react-navigation/native-stack, ...)
npm error
npm error Could not resolve dependency:
npm error @react-native-async-storage/async-storage@"*" from the root project
npm error
npm error Conflicting peer dependency: [email protected]
npm error node_modules/react-native
npm error   peer react-native@"^0.0.0-0 || >=0.65 <1.0" from @react-native-async-storage/[email protected]
npm error   node_modules/@react-native-async-storage/async-storage
npm error     @react-native-async-storage/async-storage@"*" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /Users/apple/.npm/_logs/2025-03-12T03_12_35_573Z-eresolve-report.txt
npm error A complete log of this run can be found in: /Users/apple/.npm/_logs/2025-03-12T03_12_35_573Z-debug-0.log

Steps to Reproduce

npm install @react-native-async-storage/async-storage

Metadata

Metadata

Assignees

No one assigned

    Labels

    StalebugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions