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
react-native-web@^0.13.0 peer dependency breaks npm install for Expo 43 #3992
Labels
bug
Something isn't working
Comments
fwiw this isn't just an Expo issue, this will occur in any project using a recent version of react-native-web. imo we should change react-native-web peerDependency in this project to >= 0.13 rather than ^0.13 |
Probably |
bartvanandel
pushed a commit
to bartvanandel/react-native-maps
that referenced
this issue
Oct 29, 2021
christopherdro
pushed a commit
that referenced
this issue
Nov 11, 2021
Fixes #3992 Co-authored-by: Bart van Andel <bart.van.andel@dytter.com>
christopherdro
pushed a commit
that referenced
this issue
Nov 11, 2021
Fixes #3992 Co-authored-by: Bart van Andel <bart.van.andel@dytter.com>
christopherdro
pushed a commit
that referenced
this issue
Nov 11, 2021
Fixes #3992 Co-authored-by: Bart van Andel <bart.van.andel@dytter.com>
borjomemost
pushed a commit
to borjomemost/react-native-maps
that referenced
this issue
May 6, 2022
…ative-maps#3996) Fixes react-native-maps#3992 Co-authored-by: Bart van Andel <bart.van.andel@dytter.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug report
Summary
While upgrading our app from Expo SDK 42 to 43 following the instructions from the official upgrade blog post, I ran into an issue where
npm i
couldn't proceed due to incompatible requirements for react-native-web. Expo 43 requires0.17.1
, while react-native-maps is currently pinned to^0.13.0
.After running
npm install --force
I can run our app just fine, so maybe this specific version pinning is not actually needed. Or just require a peer dependency with a version range instead of one very specific version.Environment info
npx react-native info
output:Output of
npm ls --depth=0
(after runningnpm install --force
, before that there is no valid install tree):Steps to reproduce
expo upgrade
to upgrade it to Expo SDK 43 (and follow other instructions from the upgrade blognpm install
Describe what you expected to happen:
npm install
runs without errorsDescribe what you actually happens:
npm install
produces an error:NB: I'm aware that Expo 43 doesn't use the very latest version of react-native-maps, but switching to 0.29.3 (current latest version) yields the exact same problem, except it wants 0.13 instead of 0.11
Reproducible sample code
The text was updated successfully, but these errors were encountered: