79229779

Date: 2024-11-27 10:12:43
Score: 3
Natty:
Report link

I've tried several solutions to resolve the non-standard C++ exception issue in my React Native TypeScript application, but none were successful. Ultimately, I took a significant step by starting a new project in a fresh repository using Expo SDK 52. Here's what I did:

  1. Clean Slate: I uninstalled Node.js, Expo, and all related development tools from my MacBook, then reinstalled them. New Project Setup: I created a new Expo project and carefully moved only the code files, avoiding the transfer of package.json and other configuration files.
  2. Incremental Build: I rebuilt the project configuration step-by-step, committing and testing each change to ensure the Expo client didn't crash.

This approach worked, and I now have a functioning project. Moving forward, I'll make sure to commit and test changes frequently. As someone new to the JavaScript stack (coming from a Java background), I suspect I might have mismanaged the dependencies. Interestingly, one user reported that the issue occurred when they ran the app on their phone with Wi-Fi turned off, which also happened to me. The root cause remains unclear.

I hope my experience helps others facing similar issues. Coming from Java, I find the JavaScript stack a bit unstable. I understand why many larger companies prefer Java/C#/etc. for backend and native stacks for mobile development. However, as a freelancer focusing on mobile development, I've chosen to use Expo. While it's not as robust as native stacks, I plan to stick with it for now.

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Me too answer (2.5): facing similar issue
  • Low reputation (1):
Posted by: Lajos Fulep