"react-native": "0.73.2" gradlew assembleRelease build success but getting multiple warnings
Description
Task :app:createBundleReleaseJsAndAssets warning: the transform cache was reset. Welcome to Metro v0.80.6 Fast - Scalable - Integrated
info Writing bundle output to:, android\app\build\generated\assets\createBundleReleaseJsAndAssets\index.android.bundle info Writing sourcemap output to:, android\app\build\intermediates\sourcemaps\react\release\index.android.bundle.packager.map info Done writing bundle output info Done writing sourcemap output info Copying 408 asset files info Done copying assets android\app\build\generated\assets\createBundleReleaseJsAndAssets\index.android.bundle:3373:18: warning: the variable "DebuggerInternal" was not declared in function "__shouldPauseOnThrow" typeof DebuggerInternal !== 'undefined' && ^~~~~~~~~~~~~~~~ android\app\build\generated\assets\createBundleReleaseJsAndAssets\index.android.bundle:4999:108: warning: the variable "nativeFabricUIManager" was not declared in function "onChange" ...lInstanceHandle ? (from && nativeFabricUIManager.setIsJSResponder(from.sta... ^~~~~~~~~~~~~~~~~~~~~ android\app\build\generated\assets\createBundleReleaseJsAndAssets\index.android.bundle:9361:30: warning: the variable "REACT_DEVTOOLS_GLOBAL_HOOK" was not declared in anonymous function " 164#" if ("undefined" !== typeof REACT_DEVTOOLS_GLOBAL_HOOK) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ android\app\build\generated\assets\createBundleReleaseJsAndAssets\index.android.bundle:11730:5: warning: the variable "setImmediate" was not declared in function "handleResolved" setImmediate(function () {
Steps to reproduce
1.cd android 2.gradlew clean 3.gradlew assembleRelease
React Native Version
0.73.2
Affected Platforms
Runtime - Android
Output of npx react-native info
System:
OS: Windows 11 10.0.22621
CPU: (8) x64 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz
Memory: 3.64 GB / 15.79 GB
Binaries:
Node:
version: 18.13.0
path: C:\Program Files\nodejs\node.EXE
Yarn: Not Found
npm:
version: 9.9.2
path: C:\straviso_latest\USIC_AUSTIN_TECHX\usictechxapp\node_modules\.bin\npm.CMD
Watchman: Not Found
SDKs:
Android SDK: Not Found
Windows SDK: Not Found
IDEs:
Android Studio: Not Found
Visual Studio: Not Found
Languages:
Java: 21.0.2
Ruby: Not Found
npmPackages:
"@react-native-community/cli": Not Found
react: Not Found
react-native: Not Found
react-native-windows: Not Found
npmGlobalPackages:
"*react-native*": Not Found
Android:
hermesEnabled: true
newArchEnabled: false
iOS:
hermesEnabled: Not found
newArchEnabled: Not found
Stacktrace or Logs
android\app\build\generated\assets\createBundleReleaseJsAndAssets\index.android.bundle:3373:18: warning: the variable "DebuggerInternal" was not declared in function "__shouldPauseOnThrow"
typeof DebuggerInternal !== 'undefined' &&
^~~~~~~~~~~~~~~~
android\app\build\generated\assets\createBundleReleaseJsAndAssets\index.android.bundle:4999:108: warning: the variable "nativeFabricUIManager" was not declared in function "onChange"
...lInstanceHandle ? (from && nativeFabricUIManager.setIsJSResponder(from.sta...
^~~~~~~~~~~~~~~~~~~~~
android\app\build\generated\assets\createBundleReleaseJsAndAssets\index.android.bundle:9361:30: warning: the variable "__REACT_DEVTOOLS_GLOBAL_HOOK__" was not declared in anonymous function " 164#"
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
android\app\build\generated\assets\createBundleReleaseJsAndAssets\index.android.bundle:11730:5: warning: the variable "setImmediate" was not declared in function "handleResolved"
setImmediate(function () {
^~~~~~~~~~~~
android\app\build\generated\assets\createBundleReleaseJsAndAssets\index.android.bundle:16014:12: warning: the variable "fetch" was not declared in anonymous function " 401#"
fetch: fetch,
^~~~~
android\app\build\generated\assets\createBundleReleaseJsAndAssets\index.android.bundle:16015:14: warning: the variable "Headers" was not declared in anonymous function " 401#"
Headers: Headers
Reproducer
issue
Screenshots and Videos
No response
| :warning: | Newer Version of React Native is Available! |
|---|---|
| :information_source: | You are on a supported minor version, but it looks like there's a newer patch available - 0.73.4. Please upgrade to the highest patch for your minor or latest and verify if the issue persists (alternatively, create a new project and repro the issue in it). If it does not repro, please let us know so we can close out this issue. This helps us ensure we are looking at issues that still exist in the most recent releases. |
| :warning: | Missing Reproducible Example |
|---|---|
| :information_source: | We could not detect a reproducible example in your issue report. Please provide either:
|
This issue is waiting for author's feedback since 24 days. Please provide the requested feedback or this will be closed in 7 days.
This issue was closed because it has been stalled for 7 days with no activity.
This issue was closed because the author hasn't provided the requested feedback after 7 days.