question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Example not working on iOS

See original GitHub issue

The example project created with npx create-react-native-app -t with-react-three-fiber not running on iOS simulator or real device. But it works on the browser.

Getting the following error on my device:

Value is undefined, expected an Object

no stack

ABI44_0_0RCTFatal
-[ABI44_0_0RCTCxxBridge handleError:]
-[ABI44_0_0RCTCxxBridge _tryAndHandleError:]
__NSThreadPerformPerform
__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__
__CFRunLoopDoSource0
__CFRunLoopDoSources0
__CFRunLoopRun
CFRunLoopRunSpecific
+[ABI44_0_0RCTCxxBridge runRunLoop]
__NSThread__start__
_pthread_start
thread_start
Screen Shot 2022-02-10 at 5 28 01 PM

I’m using an M1 mac if that helps and Node v16.14.0

Here’s my package.json:

{
  "dependencies": {
    "expo": "^44.0.0",
    "expo-gl": "~11.1.1",
    "expo-three": "~5.7.0",
    "react": "17.0.1",
    "react-dom": "17.0.1",
    "react-native": "0.64.3",
    "react-native-web": "0.17.1",
    "react-three-fiber": "^5.3.19",
    "three": "^0.122.0"
  },
  "devDependencies": {
    "@babel/core": "^7.12.9"
  },
  "scripts": {
    "start": "expo start",
    "android": "expo start --android",
    "ios": "expo start --ios",
    "web": "expo start --web"
  },
  "version": "1.0.0",
  "private": true,
  "name": "example"
}

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6

github_iconTop GitHub Comments

0reactions
peterjskaltsiscommented, May 3, 2022

Did you run yarn afterwards?

Read more comments on GitHub >

github_iconTop Results From Across the Web

App not working or opening on iPhone? Here're 11 real fixes
App not working or opening on iPhone? Here're 11 real fixes · Force quit the iOS app · Restart your iPhone · Update...
Read more >
How to Fix iPhone Apps Not Opening Not Working Crashing
Fix Apps Not Opening Not Working Crashing Issue in iPhone #iPhoneApps #NotOpening #Crashing Facetime, photos, mails, maps, weather, ...
Read more >
If your iPhone or iPad won't connect to a Wi-Fi network
Try connecting to a Wi-Fi network in a different location. If your device can connect, you need to get help with your Wi-Fi...
Read more >
21 Most Popular iPhone Problems and How to Fix Them
Fix all problems or issues users often experience related to their iPhones like black screen, battery life problems, iPhone stuck on Apple ...
Read more >
Cellular Data Not Working on Your iPhone? 7 Ways to Fix It
Try to restart your iPhone. This can resolve a lot of network and connection-related problems, and only takes a few minutes to shut...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found