Skip to content

Can't upgrade to RN 0.66 #682

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
rafwell opened this issue Oct 4, 2021 · 5 comments · Fixed by #683
Closed

Can't upgrade to RN 0.66 #682

rafwell opened this issue Oct 4, 2021 · 5 comments · Fixed by #683

Comments

@rafwell
Copy link

rafwell commented Oct 4, 2021

Current behavior

Can't upgrade to react native 0.66

Expected behavior

Upgrade to react native 0.66

Repro steps

Try to install this package with RN 0.66

Environment

  • AsyncStorage version: 1.15.8
  • Expo version: Bare project
  • Environment:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! Found: [email protected]
npm ERR! node_modules/react-native
npm ERR!   react-native@"0.66.0" from the root project
npm ERR!   peer react-native@">=0.65.0-rc.0 || 0.0.0-*" from @react-native-community/[email protected]
npm ERR!   node_modules/@react-native-community/cli
npm ERR!     @react-native-community/cli@"^6.0.0" from [email protected]
npm ERR!   12 more (@react-navigation/drawer, ...)
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer react-native@"^0.0.0-0 || ^0.60.6 || ^0.61.5 || ^0.62.2 || ^0.63.2 || ^0.64.0 || ^0.65.0 || 1000.0.0" from @react-native-async-storage/[email protected]
npm ERR! node_modules/@react-native-async-storage/async-storage
npm ERR!   @react-native-async-storage/async-storage@"^1.15.8" from the root project
  • Logs/Errors that may be relevant:
@krizzu
Copy link
Member

krizzu commented Oct 5, 2021

🎉 This issue has been resolved in version 1.15.9 🎉

The release is available on:

Your semantic-release bot 📦🚀

@krizzu krizzu added the released label Oct 5, 2021
@mfbx9da4
Copy link

mfbx9da4 commented Oct 12, 2021

@krizzu npm i @react-native-community/async-storage@latest doesn't seem to work

╰─$ npm i @react-native-community/async-storage@latest          
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: @onin/[email protected]
npm ERR! Found: [email protected]
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@"^16.8" from @react-native-community/[email protected]
npm ERR! node_modules/@react-native-community/async-storage
npm ERR!   @react-native-community/async-storage@"1.12.1" 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! 

Edit my bad seems to work with

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

@yusufsaylam
Copy link

@krizzu npm i @react-native-community/async-storage@latest doesn't seem to work

╰─$ npm i @react-native-community/async-storage@latest          
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: @onin/[email protected]
npm ERR! Found: [email protected]
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@"^16.8" from @react-native-community/[email protected]
npm ERR! node_modules/@react-native-community/async-storage
npm ERR!   @react-native-community/async-storage@"1.12.1" 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! 

Edit my bad seems to work with

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

This command did not work for me.

React version : 18.1.0
react-native version : 0.68.2

@shtefanilie
Copy link

@krizzu npm i @react-native-community/async-storage@latest doesn't seem to work

╰─$ npm i @react-native-community/async-storage@latest          
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: @onin/[email protected]
npm ERR! Found: [email protected]
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@"^16.8" from @react-native-community/[email protected]
npm ERR! node_modules/@react-native-community/async-storage
npm ERR!   @react-native-community/async-storage@"1.12.1" 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! 

Edit my bad seems to work with

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

This command did not work for me.

React version : 18.1.0 react-native version : 0.68.2

Did someone manage to fix this? I'm currently experiencing this also on
react: 17.0.2
"@react-native-async-storage/async-storage": "1.15.8",

@coreybruyere
Copy link

@shtefanilie Did you ever resolve this? Running into the same issue on

react: 17.0.2
"@react-native-async-storage/async-storage": "1.19.3",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants