Description
Building release version of the new 0.63 RC fails at the bundling JS assets step
React Native version:
Run react-native info in your terminal and copy the results here.
System:
OS: macOS 10.15.4
CPU: (4) x64 Intel(R) Core(TM) i5-7267U CPU @ 3.10GHz
Memory: 3.05 GB / 16.00 GB
Shell: 5.7.1 - /bin/zsh
Binaries:
Node: 10.19.0 - /var/folders/jj/4jph4lr53tn9wsgf6fz2lmkr0000gn/T/yarn--1587411268433-0.37387762429499705/node
Yarn: 1.22.4 - /var/folders/jj/4jph4lr53tn9wsgf6fz2lmkr0000gn/T/yarn--1587411268433-0.37387762429499705/yarn
npm: 6.13.4 - ~/.nvm/versions/node/v10.19.0/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.8.4 - /Users/oliverwinter/.rvm/gems/ruby-2.6.1/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 13.4, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
Android SDK:
API Levels: 23, 26, 27, 28, 29
Build Tools: 26.0.3, 27.0.3, 28.0.2, 28.0.3, 29.0.2
System Images: android-22 | Google APIs Intel x86 Atom, android-28 | Google APIs Intel x86 Atom, android-28 | Google Play Intel x86 Atom, android-29 | Google APIs Intel x86 Atom, android-29 | Google Play Intel x86 Atom
Android NDK: Not Found
IDEs:
Android Studio: 3.6 AI-192.7142.36.36.6241897
Xcode: 11.4.1/11E503a - /usr/bin/xcodebuild
Languages:
Java: 1.8.0_192 - /usr/bin/javac
Python: 2.7.16 - /usr/bin/python
npmPackages:
@react-native-community/cli: Not Found
react: 16.13.1 => 16.13.1
react-native: 0.63.0-rc.0 => 0.63.0-rc.0
npmGlobalPackages:
*react-native*: Not Found
Steps To Reproduce
Provide a detailed list of steps that reproduce the issue.
npx react-native init RN063 --version 0.63.0-rc.0
yarn react-native run-android --variant=release
> Task :app:bundleReleaseJsAndAssets FAILED
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.2/userguide/command_line_interface.html#sec:command_line_warnings
6 actionable tasks: 3 executed, 3 up-to-date
internal/modules/cjs/loader.js:638
throw err;
^
Error: Cannot find module '/Users/oliverwinter/Documents/work/RN063/node_modules/@react-native-community/cli/build/bin.js
'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:bundleReleaseJsAndAssets'.
> Process 'command 'node'' finished with non-zero exit value 1
npx react-native init RN062
yarn react-native run-android --variant=release
Works and builds fine
Expected Results
Building a release version of the new RC0.63 should be successful.
Snack, code example, screenshot, or link to a repository:
Simple reproduction shown above.
Description
Building release version of the new 0.63 RC fails at the bundling JS assets step
React Native version:
Run
react-native infoin your terminal and copy the results here.Steps To Reproduce
Provide a detailed list of steps that reproduce the issue.
npx react-native init RN063 --version 0.63.0-rc.0yarn react-native run-android --variant=releasenpx react-native init RN062yarn react-native run-android --variant=releaseWorks and builds fine
Expected Results
Building a release version of the new RC0.63 should be successful.
Snack, code example, screenshot, or link to a repository:
Simple reproduction shown above.