Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getModule of AppRegistry is not an object #34056

Closed
trilam1409 opened this issue Jun 23, 2022 · 4 comments
Closed

getModule of AppRegistry is not an object #34056

trilam1409 opened this issue Jun 23, 2022 · 4 comments
Labels
API: AppRegistry Needs: Author Feedback Needs: Repro This issue could be improved with a clear list of steps to reproduce the issue. Needs: Triage 🔍

Comments

@trilam1409
Copy link

Description

I upgraded the version from 0.67.2 to 0.69.0

I got the issues when runtime:

E0623 17:04:48.910380 1879928832 bindingUtils.cpp:27] getModule of AppRegistry is not an object
E0623 17:04:48.910419 1879928832 bindingUtils.cpp:29] react_native_assert failure: moduleAsValue.isObject()
Assertion failed: (moduleAsValue.isObject()), function getModule, file bindingUtils.cpp, line 29.
dyld4 config: DYLD_LIBRARY_PATH=/usr/lib/system/introspection DYLD_INSERT_LIBRARIES=/Developer/usr/lib/libBacktraceRecording.dylib:/Developer/usr/lib/libMainThreadChecker.dylib:/Developer/Library/PrivateFrameworks/DTDDISupport.framework/libViewDebuggerSupport.dylib:/Developer/Library/PrivateFrameworks/GPUTools.framework/libglInterpose.dylib

Version

0.69.0

Output of npx react-native info

System:
OS: macOS 12.4
CPU: (8) x64 Apple M1 Pro
Memory: 38.02 MB / 16.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 14.17.0 - /usr/local/bin/node
Yarn: 1.22.19 - /usr/local/bin/yarn
npm: 8.12.1 - /usr/local/bin/npm
Watchman: Not Found
Managers:
CocoaPods: 1.11.2 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 21.4, iOS 15.4, macOS 12.3, tvOS 15.4, watchOS 8.5
Android SDK: Not Found
IDEs:
Android Studio: 2021.2 AI-212.5712.43.2112.8609683
Xcode: 13.3/13E113 - /usr/bin/xcodebuild
Languages:
Java: 15.0.5 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 18.0.0 => 18.0.0
react-native: 0.69.0 => 0.69.0
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found

Steps to reproduce

The build is successful but the runtime has errors

Snack, code example, screenshot, or link to a repository

Uploading Screen Shot 2022-06-23 at 17.05.23.png…

@trilam1409 trilam1409 added Needs: Triage 🔍 Type: New Architecture Issues and PRs related to new architecture (Fabric/Turbo Modules) labels Jun 23, 2022
@cortinico cortinico added Needs: Repro This issue could be improved with a clear list of steps to reproduce the issue. and removed Type: New Architecture Issues and PRs related to new architecture (Fabric/Turbo Modules) labels Jun 24, 2022
@github-actions
Copy link

⚠️ Missing Reproducible Example
ℹ️ It looks like your issue is missing a reproducible example. Please provide a Snack or a repository that demonstrates the issue you are reporting in a minimal, complete, and reproducible manner.

@cortinico
Copy link
Contributor

You picked new architecture but I see no reference of it in your issue description. Was that correct?

@waqas19921
Copy link

I was getting this error when new architecture with hermes is enabled and some value is undefined and I am trying to access its props.

@cortinico
Copy link
Contributor

Closing as OP is unresponsive. Feel free to re-open if you have further context to share @trilam1409.

@waqas19921 please open a separate issue and fill in the issue details.

@facebook facebook locked as resolved and limited conversation to collaborators Jul 5, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
API: AppRegistry Needs: Author Feedback Needs: Repro This issue could be improved with a clear list of steps to reproduce the issue. Needs: Triage 🔍
Projects
None yet
Development

No branches or pull requests

4 participants