I have such error:
D:\Projects\react-native\devschacht>react-native-git-upgrade
git-upgrade info Check for updates
git-upgrade info Read package.json files
git-upgrade info Check declared version
git-upgrade info Check matching versions
git-upgrade ERR! An error occurred during upgrade:
git-upgrade ERR! Error: react-native version in "package.json" (https://github.c
om/expo/react-native/archive/sdk-32.0.0.tar.gz) doesn't match the installed vers
ion in "node_modules" (0.57.1).
Try running "npm install" to fix this.
at checkMatchingVersions (C:/Users/Skif/AppData/Roaming/npm/node_modules/rea
ct-native-git-upgrade/checks.js:24:11)
at Object.<anonymous> (C:/Users/Skif/AppData/Roaming/npm/node_modules/react-
native-git-upgrade/cliEntry.js:253:5)
at Generator.next (<anonymous>)
at step (C:\Users\Skif\AppData\Roaming\npm\node_modules\react-native-git-upg
rade\cliEntry.js:171:191)
at C:\Users\Skif\AppData\Roaming\npm\node_modules\react-native-git-upgrade\c
liEntry.js:171:361
at tryCallOne (C:\Users\Skif\AppData\Roaming\npm\node_modules\react-native-g
it-upgrade\node_modules\promise\lib\core.js:37:12)
at C:\Users\Skif\AppData\Roaming\npm\node_modules\react-native-git-upgrade\n
ode_modules\promise\lib\core.js:123:15
at flush (C:\Users\Skif\AppData\Roaming\npm\node_modules\react-native-git-up
grade\node_modules\asap\raw.js:50:29)
at process._tickCallback (internal/process/next_tick.js:61:11)
D:\Projects\react-native\devschacht>
[package.json]
"dependencies": {
"@expo/samples": "2.1.1",
"expo": "^32.0.0",
"react": "16.5.0",
"react-native": "https://github.com/expo/react-native/archive/sdk-32.0.0.tar.gz",
"react-navigation": "^3.0.9"
},
I read this doc: https://docs.expo.io/versions/latest/workflow/upgrading-expo-sdk-walkthrough/. It's not working.
D:\Projects\react-native\devschacht>npm -v
6.4.1
D:\Projects\react-native\devschacht>react-native --v
react-native-cli: 2.0.1
react-native: 0.57.1
D:\Projects\react-native\devschacht>yarn -v
1.13.0
We are automatically closing this issue because it does not appear to follow any of the provided issue templates.
馃憠 Click here if you want to report a reproducible bug or regression in React Native.