react-native
react-native copied to clipboard
TypeError: Error.stack getter called with an invalid receiver, js engine: hermes
Description
After upgrading the version of react native to 0.17.3 whenever I moved through the tap navigation the following error message shown.
In the Visual Studio Code the following path contains the code node_modules\react-native\Libraries\promiseRejectionTrackingOptions.js
After replacing the rejection. stack with the rejection of all work fine.
Steps to reproduce
- Upgrade the existing React native version to 0.73.6.
- Run the application.
- Everything works fine but when the screen.
React Native Version
0.73.6
Affected Platforms
Runtime - Android
Output of npx react-native info
System:
OS: Windows 11 10.0.22631
CPU: (8) x64 Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz
Memory: 6.78 GB / 15.88 GB
Binaries:
Node:
version: 18.17.0
path: C:\Program Files\nodejs\node.EXE
Yarn:
version: 1.22.19
path: C:\Program Files (x86)\Yarn\bin\yarn.CMD
npm:
version: 9.6.7
path: C:\Program Files\nodejs\npm.CMD
Watchman: Not Found
SDKs:
Android SDK: Not Found
Windows SDK: Not Found
IDEs:
Android Studio: AI-231.9392.1.2311.11330709
Visual Studio:
- 17.8.34322.80 (Visual Studio Community 2022)
Languages:
Java:
version: 17.0.10
path: C:\Program Files\Common Files\Oracle\Java\javapath\javac.EXE
Ruby: Not Found
npmPackages:
"@react-native-community/cli": Not Found
react: Not Found
react-native: Not Found
react-native-windows: Not Found
npmGlobalPackages:
"*react-native*": Not Found
Android:
hermesEnabled: true
newArchEnabled: false
iOS:
hermesEnabled: Not found
newArchEnabled: Not found
Stacktrace or Logs
TypeError: Error.stack getter called with an invalid receiver, js engine: hermes
Reproducer
https://github.com/MTalhaAC/EnlightenAppv0.0.1
Screenshots and Videos