upgrade from 0.56-rc.3 -> 0.56-rc.4 fails
See original GitHub issueI use 0.56-rc.3 and it fails to upgrade to 0.56-rc.4 using react-native-git-upgrade next command.
git-upgrade ERR! An error occurred during upgrade:
git-upgrade ERR! Error: Plugin 0 specified in "/Users/x/Projects/Xyyp/node_modules/babel-preset-react-native/index.js" provided an invalid property of "default" (While processing preset: "/Users/x/Projects/Xyyp/node_modules/babel-preset-react-native/index.js")
at Plugin.init (/Users/x/.config/yarn/global/node_modules/babel-core/lib/transformation/plugin.js:131:13)
at Function.normalisePlugin (/Users/x/.config/yarn/global/node_modules/babel-core/lib/transformation/file/options/option-manager.js:152:12)
at /Users/x/.config/yarn/global/node_modules/babel-core/lib/transformation/file/options/option-manager.js:184:30
at Array.map (<anonymous>)
at Function.normalisePlugins (/Users/x/.config/yarn/global/node_modules/babel-core/lib/transformation/file/options/option-manager.js:158:20)
at OptionManager.mergeOptions (/Users/x/.config/yarn/global/node_modules/babel-core/lib/transformation/file/options/option-manager.js:234:36)
at /Users/x/.config/yarn/global/node_modules/babel-core/lib/transformation/file/options/option-manager.js:265:14
at /Users/x/.config/yarn/global/node_modules/babel-core/lib/transformation/file/options/option-manager.js:323:22
at Array.map (<anonymous>)
at OptionManager.resolvePresets (/Users/x/.config/yarn/global/node_modules/babel-core/lib/transformation/file/options/option-manager.js:275:20)
git-upgrade ERR! Restore initial sources
Environment
React Native Environment Info: System: OS: macOS High Sierra 10.13.5 CPU: x64 Intel® Core™ i5-7500 CPU @ 3.40GHz Memory: 248.71 MB / 16.00 GB Shell: 3.2.57 - /bin/bash Binaries: Node: 10.5.0 - /usr/local/bin/node Yarn: 1.7.0 - /usr/local/bin/yarn npm: 6.1.0 - /usr/local/bin/npm Watchman: 4.9.0 - /usr/local/bin/watchman SDKs: iOS SDK: Platforms: iOS 11.3, macOS 10.13, tvOS 11.3, watchOS 4.3 Android SDK: Build Tools: 26.0.3, 27.0.3, 28.0.0 API Levels: 26, 27, 28 IDEs: Android Studio: 3.1 AI-173.4819257 Xcode: 9.3/9E145 - /usr/bin/xcodebuild npmPackages: @types/react: ^16.3.14 => 16.4.1 @types/react-native: ^0.55.14 => 0.55.24 react: 16.4.1 => 16.4.1 react-native: 0.56.0-rc.3 => 0.56.0-rc.3
Issue Analytics
- State:
- Created 5 years ago
- Comments:12 (4 by maintainers)
Closing this issue, because I upgraded my project using suggestions provided by @CrazyPython.
@gastonmorixe as they say, “Use the source, luke” 😄