You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BUNDLE ./index.js
LOG Running "aardvark_debug" with {"fabric":true,"initialProps":{"concurrentRoot":true},"rootTag":1}
WARN Possible Unhandled Promise Rejection (id: 0):
Error: Unknown find reactTag: 12
Error: Unknown find reactTag: 12
at promiseMethodWrapper (http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=org.reactjs.native.example.aardvark-debug:2046:45)
at apply (native)
at runNativeCommand (http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=org.reactjs.native.example.aardvark-debug:98117:39)
at _runNativeCommand (http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=org.reactjs.native.example.aardvark-debug:99101:82)
at ?anon_0_ (http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=org.reactjs.native.example.aardvark-debug:99065:57)
at next (native)
at asyncGeneratorStep (http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=org.reactjs.native.example.aardvark-debug:20416:26)
at _next (http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=org.reactjs.native.example.aardvark-debug:20435:29)
at anonymous (http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=org.reactjs.native.example.aardvark-debug:20440:14)
at tryCallTwo (/Users/distiller/react-native/sdks/hermes/build_iphonesimulator/lib/InternalBytecode/InternalBytecode.js:61:9)
at doResolve (/Users/distiller/react-native/sdks/hermes/build_iphonesimulator/lib/InternalBytecode/InternalBytecode.js:216:25)
at Promise (/Users/distiller/react-native/sdks/hermes/build_iphonesimulator/lib/InternalBytecode/InternalBytecode.js:82:14)
at anonymous (http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=org.reactjs.native.example.aardvark-debug:20432:25)
at apply (native)
at _runPendingNativeCommands (http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=org.reactjs.native.example.aardvark-debug:99072:52)
at call (native)
at _setNativeRef (http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=org.reactjs.native.example.aardvark-debug:99903:117)
at ref (http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=org.reactjs.native.example.aardvark-debug:99949:40)
at commitAttachRef (http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=org.reactjs.native.example.aardvark-debug:13509:29)
at commitLayoutEffectOnFiber (http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=org.reactjs.native.example.aardvark-debug:13487:30)
at commitLayoutMountEffects_complete (http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=org.reactjs.native.example.aardvark-debug:13950:40)
at commitLayoutEffects_begin (http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=org.reactjs.native.example.aardvark-debug:13939:46)
at commitLayoutEffects (http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=org.reactjs.native.example.aardvark-debug:13926:34)
at commitRootImpl (http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=org.reactjs.native.example.aardvark-debug:15045:30)
at commitRoot (http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=org.reactjs.native.example.aardvark-debug:14978:25)
at performSyncWorkOnRoot (http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=org.reactjs.native.example.aardvark-debug:14640:19)
at flushSyncCallbacks (http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=org.reactjs.native.example.aardvark-debug:6133:36)
at workLoop (http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=org.reactjs.native.example.aardvark-debug:76246:48)
at flushWork (http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=org.reactjs.native.example.aardvark-debug:76225:28)
at performWorkUntilDeadline (http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=org.reactjs.native.example.aardvark-debug:76431:48)
at apply (native)
at anonymous (http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=org.reactjs.native.example.aardvark-debug:25946:26)
at _callTimer (http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=org.reactjs.native.example.aardvark-debug:25865:17)
at _callReactNativeMicrotasksPass (http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=org.reactjs.native.example.aardvark-debug:25895:17)
at callReactNativeMicrotasks (http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=org.reactjs.native.example.aardvark-debug:26058:44)
at __callReactNativeMicrotasks (http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=org.reactjs.native.example.aardvark-debug:2410:46)
at anonymous (http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=org.reactjs.native.example.aardvark-debug:2222:45)
at __guard (http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=org.reactjs.native.example.aardvark-debug:2394:15)
at flushedQueue (http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=org.reactjs.native.example.aardvark-debug:2221:21)
The text was updated successfully, but these errors were encountered:
ax0n-pr1me
changed the title
Basic Install on M1 Apple Silicon fails with **Invalid react tag, could not find RCTMGLMapView**
Basic Install on M1 Apple Silicon fails with "Invalid react tag, could not find RCTMGLMapView"
May 26, 2023
I am now very sure this is due to the Fabric, New Architecture of React Native. Possibly @mfazekas is on the right track in his PR. I ran cd ios && pod install instead of cd ios && RCT_NEW_ARCH_ENABLED=1 pod install and the subsequent npm run ios worked fine.
Basic Install on M1 Apple Silicon
Goal: debug the integration of rnmapbox/maps with react native on M1
Project example can be found here
Note: I have tried the manual linking method in the react-native docs and it still fails with the same error.
Setup
Environment Setup
npx react-native@latest init aardvark_debug
Verify Xcode
Xcode -> Settings -> Locations
Xcode 14.3 (14E222b)
Cocoapods
brew install cocoapods
(note - tried other install methods, same issue)start project
Add Maps
Install
Setup Instructions
App.js
Try to run, receive same error (same with and without the following steps)
Try adding in pre and post install methods in
Podfile
Error Logs
The text was updated successfully, but these errors were encountered: