react-native-siri-shortcut icon indicating copy to clipboard operation
react-native-siri-shortcut copied to clipboard

TypeError: Cannot read property 'Constants' of undefined

Open L-schweiger opened this issue 2 years ago • 4 comments

Hey, I'm getting the error "TypeError: Cannot read property 'Constants' of undefined" when trying to access the app. Anyone got a solution to this?

image

complete log of console:

TypeError: Cannot read property 'Constants' of undefined, js engine: hermes ERROR Invariant Violation: "main" has not been registered. This can happen if:

  • Metro (the local dev server) is run from the wrong folder. Check if Metro is running, stop it and restart it in the current project.
  • A module failed to load due to an error and AppRegistry.registerComponent wasn't called., js engine: hermes

[AccessibilityUtilities] Exhausted registration attempts for com.apple.accessibility.AXSytemReplyServer-8041-0: Error Domain=IPC Code=0 "Could not send simple message (com.apple.accessibility.AXBackBoardServer). Port:20491. Error:268435460 (0x10000004). <AXIPCMessage: 0x600002aa0230>. Client port: 0. Key: 1952057825. Payload: { identifier = "com.apple.accessibility.AXSytemReplyServer-8041-0"; } (66)" UserInfo={NSLocalizedFailureReason=Could not send simple message (com.apple.accessibility.AXBackBoardServer). Port:20491. Error:268435460 (0x10000004). <AXIPCMessage: 0x600002aa0230>. Client port: 0. Key: 1952057825. Payload: { identifier = "com.apple.accessibility.AXSytemReplyServer-8041-0"; } (66), AXIPCErrorKeyMachError=268435460}

Thanks for any help!

L-schweiger avatar Jul 03 '23 12:07 L-schweiger

What React Native and react-native-siri-shortcut versions are you using?

Gustash avatar Nov 30 '23 10:11 Gustash

Hey,

These are my dependencies: "dependencies": { @.***/async-storage": "^1.18.2", "expo": "~48.0.18", "expo-splash-screen": "~0.18.2", "expo-status-bar": "~1.4.4", "react": "18.2.0", "react-native": "0.71.8", "react-native-siri-shortcut": "^3.2.3", "react-native-uuid": "^2.0.1“ }

Am 30.11.2023 um 11:42 schrieb Gustash @.***>:

What React Native and react-native-siri-shortcut versions are you using?

— Reply to this email directly, view it on GitHub https://github.com/Gustash/react-native-siri-shortcut/issues/136#issuecomment-1833507720, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALNKKQ4SSMDEZ75BSQ6TJYLYHBPHTAVCNFSM6AAAAAAZ4MU3ROVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZTGUYDONZSGA. You are receiving this because you authored the thread.

L-schweiger avatar Dec 02 '23 18:12 L-schweiger

Are you sure the native code has been linked? Do you see a reference to the project in your Xcode workspace?

Gustash avatar Dec 02 '23 22:12 Gustash