Does this library support Hermes
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 20/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- android, react-native, typescript
- Ambito
- mobile
Direzione di ricerca
Start by reproducing the Android release build with Hermes enabled and disabled, using the reported React Native 0.70.5 environment and the generated bundle path under myapp/android/app/build/generated/assets/react/staging/release. Determine whether react-freeze causes the reported build failure rather than the listed warnings; done would be a confirmed compatibility result or a documented limitation.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Sorry to bother, when I build Android on CircleCI(x86_64) and localmachine(M1) by fastlane and bundle. Both show the same error. But after I disable Hermes. The error goes away. Since the error points to react-freeze, so I ask it here. Thank you!
npx react-native info
info Fetching system and libraries information...
System:
OS: macOS 13.0
CPU: (8) arm64 Apple M1
Memory: 94.89 MB / 16.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 16.17.1 - ~/.nvm/versions/node/v16.17.1/bin/node
Yarn: Not Found
npm: 8.15.0 - ~/.nvm/versions/node/v16.17.1/bin/npm
Watchman: 2022.10.17.00 - /opt/homebrew/bin/watchman
Managers:
CocoaPods: 1.11.3 - /opt/homebrew/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 22.1, iOS 16.1, macOS 13.0, tvOS 16.1, watchOS 9.1
Android SDK: Not Found
IDEs:
Android Studio: Not Found
Xcode: 14.1/14B5033e - /usr/bin/xcodebuild
Languages:
Java: 11.0.17 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: ^18.2.0 => 18.2.0
react-native: 0.70.5 => 0.70.5
react-native-macos: Not Found
npmGlobalPackages:
*react-native*: Not Found
`[07:59:28]:
Picked up _JAVA_OPTIONS: -Xmx1500m
myapp/android/app/build/generated/assets/react/staging/release/index.android.bundle:1769:18: warning: the variable "DebuggerInternal" was not declared in function "__shouldPauseOnThrow"
typeof DebuggerInternal !== 'undefined' && DebuggerInternal.shouldPauseOnThrow === true
^~~~~~~~~~~~~~~~
myapp/android/app/build/generated/assets/react/staging/release/index.android.bundle:4994:7: warning: the variable "setTimeout" was not declared in function "logCapturedError"
setTimeout(function () {
^~~~~~~~~~
myapp/android/app/build/generated/assets/react/staging/release/index.android.bundle:3592:21: warning: the variable "clearTimeout" was not declared in anonymous function " 90#"
cancelTimeout = clearTimeout;
^~~~~~~~~~~~
myapp/android/app/build/generated/assets/react/staging/release/index.android.bundle:7492:30: warning: the variable "REACT_DEVTOOLS_GLOBAL_HOOK" was not declared in anonymous function " 90#"
if ("undefined" !== typeof REACT_DEVTOOLS_GLOBAL_HOOK) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
myapp/android/app/build/generated/assets/react/staging/release/index.android.bundle:7507:146: warning: the variable "nativeFabricUIManager" was not declared in anonymous function " 119#"
null != handle._nativeTag && (null != handle._internalInstanceHandle ? (handle = handle._internalInstanceHandle.stateNode, null != handle && nativeFabricUIManager.dispatchCommand(handle.node, command, args)) : _$$_REQUIRE(_dependencyMap[2]).UIManager.dispatchViewManagerCommand(handle._nativeTag, command, args));
^~~~~~~~~~~~~~~~~~~~~
myapp/android/app/build/generated/assets/react/staging/release/index.android.bundle:8324:5: warning: the variable "setImmediate" was not declared in function "handleResolved"
setImmediate(function () {
^~~~~~~~~~~~
myapp/android/app/build/generated/assets/react/staging/release/index.android.bundle:8540:16: warning: the variable "AggregateError" was not declared in function "getAggregateError"
if (typeof AggregateError === 'function') {
^~~~~~~~~~~~~~
myapp/android/app/build/generated/assets/react/staging/release/index.android.bundle:11456:12: warning: the variable "fetch" was not declared in anonymous function " 294#"
fetch: fetch,
^~~~~
myapp/android/app/build/generated/assets/react/staging/release/index.android.bundle:11457:14: warning: the variable "Headers" was not declared in anonymous function " 294#"
Headers: Headers,
^~~~~~~
myapp/android/app/build/generated/assets/react/staging/release/index.android.bundle:11458:14: warning: the variable "Request" was not declared in anonymous function " 294#"
Request: Request,
^~~~~~~
myapp/android/app/build/generated/assets/react/staging/release/index.android.bundle:11459:15: warning: the variable "Response" was not declared in anonymous function " 294#"
Response: Response
^~~~~~~~
myapp/android/app/build/generated/assets/react/staging/release/index.android.bundle:11608:24: warning: the variable "FileReader" was not declared in function "readBlobAsArrayBuffer"
var reader = new FileReader();
^~~~~~~~~~
myapp/android/app/build/generated/assets/react/staging/release/index.android.bundle:11645:36: warning: the variable "Blob" was not declared in anonymous function " 305#"
} else if (support.blob && Blob.prototype.isPrototypeOf(body)) {
^~~~
myapp/android/app/build/generated/assets/react/staging/release/index.android.bundle:11647:40: warning: the variable "FormData" was not declared in anonymous function " 305#"
} else if (support.formData && FormData.prototype.isPrototypeOf(body)) {
^~~~~~~~
myapp/android/app/build/generated/assets/react/staging/release/index.android.bundle:11649:44: warning: the variable "URLSearchParams" was not declared in anonymous function " 305#"
} else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) {
^~~~~~~~~~~~~~~
myapp/android/app/build/generated/assets/react/staging/release/index.android.bundle:11877:23: warning: the variable "XMLHttpRequest" was not declared in anonymous function " 314#"
var xhr = new XMLHttpRequest();
^~~~~~~~~~~~~~
myapp/android/app/build/generated/assets/react/staging/release/index.android.bundle:11468:76: warning: the variable "self" was not declared in anonymous function " 297#"
var global = typeof globalThis !== 'undefined' && globalThis || typeof self !== 'undefined' && self || typeof global !== 'undefined' && global;
^~~~
myapp/android/app/build/generated/assets/react/staging/release/index.android.bundle:19082:27: warning: the variable "performance" was not declared in anonymous function " 498#"
if ("object" === typeof performance && "function" === typeof performance.now) {
^~~~~~~~~~~
myapp/android/app/build/generated/assets/react/staging/release/index.android.bundle:19105:26: warning: the variable "navigator" was not declared in anonymous function " 498#"
"undefined" !== typeof navigator && undefined !== navigator.scheduling && undefined !== navigator.scheduling.isInputPending && navigator.scheduling.isInputPending.bind(navigator.scheduling);
^~~~~~~~~
myapp/android/app/build/generated/assets/react/staging/release/index.android.bundle:19172:37: warning: the variable "MessageChannel" was not declared in anonymous function " 498#"
};else if ("undefined" !== typeof MessageChannel) {
^~~~~~~~~~~~~~
myapp/android/app/build/generated/assets/react/staging/release/index.android.bundle:26733:32: warning: the variable "requestAnimationFrame" was not declared in function "onUpdate"
this._animationFrame = requestAnimationFrame(this.onUpdate.bind(this));
^~~~~~~~~~~~~~~~~~~~~
myapp/android/app/build/generated/assets/react/staging/release/index.android.bundle:40700:16: warning: the variable "AbortController" was not declared in function "getAbortController"
if (typeof AbortController === 'function') {
^~~~~~~~~~~~~~~
myapp/android/app/build/generated/assets/react/staging/release/index.android.bundle:42699:34: warning: the variable "setInterval" was not declared in function "updateRefetchInterval"
this.refetchIntervalId = setInterval(function () {
^~~~~~~~~~~
myapp/android/app/build/generated/assets/react/staging/release/index.android.bundle:42723:11: warning: the variable "clearInterval" was not declared in function "clearRefetchInterval"
clearInterval(this.refetchIntervalId);
^~~~~~~~~~~~~
myapp/android/app/build/generated/assets/react/staging/release/index.android.bundle:47087:20: warning: the variable "cancelAnimationFrame" was not declared in function "schedule 2#"
var cancel = cancelAnimationFrame;
^~~~~~~~~~~~~~~~~~~~
myapp/android/app/build/generated/assets/react/staging/release/index.android.bundle:77649:25: warning: the variable "Atomics" was not declared in anonymous function " 3494#"
'%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics,
^~~~~~~
myapp/android/app/build/generated/assets/react/staging/release/index.android.bundle:77650:24: warning: the variable "BigInt" was not declared in anonymous function " 3494#"
'%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt,
^~~~~~
myapp/android/app/build/generated/assets/react/staging/release/index.android.bundle:77663:38: warning: the variable "FinalizationRegistry" was not declared in anonymous function " 3494#"
'%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry,
^~~~~~~~~~~~~~~~~~~~
myapp/android/app/build/generated/assets/react/staging/release/index.android.bundle:77688:35: warning: the variable "SharedArrayBuffer" was not declared in anonymous function " 3494#"
'%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer,
^~~~~~~~~~~~~~~~~
myapp/android/app/build/generated/assets/react/staging/release/index.android.bundle:77702:25: warning: the variable "WeakRef" was not declared in anonymous function " 3494#"
'%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef,
^~~~~~~
myapp/android/app/build/generated/assets/react/staging/release/index.android.bundle:79302:51: warning: the variable "btoa" was not declared in function "dispatchXhrRequest"
requestHeaders.Authorization = 'Basic ' + btoa(username + ':' + password);
^~~~
myapp/android/app/build/generated/assets/react/staging/release/index.android.bundle:80283:7: warning: the variable "Buffer" was not declared in function "testForBuffer"
Buffer.isBuffer({
^~~~~~
myapp/android/app/build/generated/assets/react/staging/release/index.android.bundle:100843:15: warning: the variable "util" was not declared in function "containsOnlyValidXChars"
if (util.isNumberMatch(number, candidate.substring(index)) != MatchType.NSN_MATCH) {
^~~~
myapp/android/app/build/generated/assets/react/staging/release/index.android.bundle:100843:73: warning: the variable "MatchType" was not declared in function "containsOnlyValidXChars"
if (util.isNumberMatch(number, candidate.substring(index)) != MatchType.NSN_MATCH) {
^~~~~~~~~
myapp/android/app/build/generated/assets/react/staging/release/index.android.bundle:100870:11: warning: the variable "PhoneNumberUtil" was not declared in function "isNationalPrefixPresentIfRequired"
if (PhoneNumberUtil.formattingRuleHasFirstGroupOnly(formatRule.getNationalPrefixFormattingRule())) {
^~~~~~~~~~~~~~~
myapp/android/app/build/generated/assets/react/staging/release/index.android.bundle:100891:69: warning: the variable "CountryCodeSource" was not declared in function "containsMoreThanOneSlashInNationalNumber"
var candidateHasCountryCode = number.getCountryCodeSource() === CountryCodeSource.FROM_NUMBER_WITH_PLUS_SIGN || number.getCountryCodeSource() === CountryCodeSource.FROM_NUMBER_WITHOUT_PLUS_SIGN;
^~~~~~~~~~~~~~~~~
myapp/android/app/build/generated/assets/react/staging/release/index.android.bundle:100898:31: warning: the variable "normalizeDigits" was not declared in function "checkNumberGroupingIsValid"
var normalizedCandidate = normalizeDigits(candidate, true
^~~~~~~~~~~~~~~
myapp/android/app/build/generated/assets/react/staging/release/index.android.bundle:100906:28: warning: the variable "MetadataManager" was not declared in function "checkNumberGroupingIsValid"
var alternateFormats = MetadataManager.getAlternateFormatsForCountry(number.getCountryCode());
^~~~~~~~~~~~~~~
myapp/android/app/build/generated/assets/react/staging/release/index.android.bundle:100932:25: warning: the variable "formatNumber" was not declared in function "getNationalNumberGroups"
var rfc3966Format = formatNumber(number, 'RFC3966', metadata);
^~~~~~~~~~~~
myapp/android/app/build/generated/assets/react/staging/release/index.android.bundle:100943:53: warning: the variable "NON_DIGITS_PATTERN" was not declared in function "allNumberGroupsAreExactlyPresent"
var candidateGroups = normalizedCandidate.split(NON_DIGITS_PATTERN);
^~~~~~~~~~~~~~~~~~
myapp/android/app/build/generated/assets/react/staging/release/index.android.bundle:100978:65: warning: the variable "Character" was not declared in function "allNumberGroupsRemainGrouped"
if (util.getNddPrefixForRegion(region, true) != null && Character.isDigit(normalizedCandidate.charAt(fromIndex))) {
^~~~~~~~~
myapp/android/app/build/generated/assets/react/staging/release/index.android.bundle:113863:14: warning: the variable "babelHelpers" was not declared in function "isSymbol 2#"
return babelHelpers"typeof" === 'symbol';
^~~~~~~~~~~~
myapp/android/app/build/generated/assets/react/staging/release/index.android.bundle:114514:20: warning: the variable "WebAssembly" was not declared in anonymous function " 5622#"
wasm = new WebAssembly.Instance(new WebAssembly.Module(
^~~~~~~~~~~
myapp/android/app/build/generated/assets/react/staging/release/index.android.bundle:136729:20: warning: the variable "localStorage" was not declared in function "ColorSchemeStore"
if (typeof localStorage !== "undefined") {
^~~~~~~~~~~~
myapp/android/app/build/generated/assets/react/staging/release/index.android.bundle:142527:52: warning: the variable "FileList" was not declared in function "fe"
if (de && (e instanceof Blob || e instanceof FileList) || !r && !i(e)) return e;
^~~~~~~~
myapp/node_modules/metro-source-map/node_modules/source-map/lib/source-map-generator.js:289
throw new Error('Invalid mapping: ' + JSON.stringify({
^
Error: Invalid mapping: {"generated":{"line":1,"column":702261},"source":"myapp/node_modules/react-freeze/src/index.tsx","original":{"line":37,"column":-1},"name":null}
at SourceMapGenerator_validateMapping [as _validateMapping] (myapp/node_modules/metro-source-map/node_modules/source-map/lib/source-map-generator.js:289:13)
at SourceMapGenerator_addMapping [as addMapping] (myapp/node_modules/metro-source-map/node_modules/source-map/lib/source-map-generator.js:101:12)
at myapp/node_modules/metro-source-map/src/composeSourceMaps.js:41:15
at MappingsConsumer.eachMapping (myapp/node_modules/metro-source-map/src/Consumer/AbstractConsumer.js:36:16)
at composeSourceMaps (myapp/node_modules/metro-source-map/src/composeSourceMaps.js:35:16)
at Object. (myapp/node_modules/react-native/scripts/compose-source-maps.js:59:5)
at Module._compile (node:internal/modules/cjs/loader:1126:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10)
at Module.load (node:internal/modules/cjs/loader:1004:32)
at Function.Module._load (node:internal/modules/cjs/loader:839:12)`
- Lingua principale
- TypeScript
- Stelle
- 1.7k
- Fork
- 45
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di software-mansion/react-freeze
-
React 19.2: a frozen boundary is re-rendered and re-committed in a loop (retry lanes rotate forever), starving timers and network callbacksForse già presa @JacquesLeupin l’ha presa 11 giorni fa. Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 8/100
software-mansion/react-freeze#44 · 1 commento · 1 reazione ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
software-mansion/react-freeze#38 · 6 reazioni ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
software-mansion/react-freeze#37 · 1 commento ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
software-mansion/react-freeze#35 · 1 commento · 1 reazione ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
software-mansion/react-freeze#31 · 6 commenti · 1 reazione ·
Tutte le issue di software-mansion/react-freeze
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
ehmpathy/rhachet-roles-bhrain#878 ·
I maintainer di solito rispondono entro 1 giorno
-
Chat UI: Message actions dropdown is cut off beneath composer when message is near bottom of chatForse già presa @koeria l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
milind-soni/OpenMausBot#8023 ·
I maintainer di solito rispondono entro 1 giorno
-
Windows microphone listing treats words in a device name as DirectShow labelsForse già presa @Sujal-chaudhary l’ha presa oggi. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
clipy-recorder/clipy#447 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement from-app needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
nightly-labs/openbot#19162 ·
I maintainer di solito rispondono entro 1 giorno
-
triage:in-progress
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
Cotal-AI/Cotal#11229 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno