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

Invariant Violation: Calling synchronous methods on native modules is not supported in Chrome #28850

Closed
andreycrane opened this issue May 7, 2020 · 2 comments
Labels
Needs: Triage 🔍 Platform: Linux Building on Linux. Stale There has been a lack of activity on this issue and it may be closed soon.

Comments

@andreycrane
Copy link

Please provide all the information requested. Issues that do not follow this format are likely to stall.

Description

Hi. I found an issue which happens in chrome debugger when __DEV__ variable is set to true. The problem is connected with props validation. To reproduce it you just need to set "Pause on uncaught exception" in chrome debugger and reload you application.

React Native version:

System:
OS: Linux 4.15 Ubuntu 16.04.6 LTS (Xenial Xerus)
CPU: (4) x64 Intel(R) Core(TM) i7-4510U CPU @ 2.00GHz
Memory: 312.63 MB / 7.68 GB
Shell: 4.3.48 - /bin/bash
Binaries:
Node: 12.16.3 - ~/.nvm/versions/node/v12.16.3/bin/node
Yarn: Not Found
npm: 6.14.4 - ~/.nvm/versions/node/v12.16.3/bin/npm
Watchman: Not Found
SDKs:
Android SDK:
API Levels: 21, 28, 29
Build Tools: 28.0.3, 29.0.3
System Images: android-21 | Intel x86 Atom, android-21 | Intel x86 Atom_64, android-24 | Google Play Intel x86 Atom
Android NDK: Not Found
IDEs:
Android Studio: Not Found
Languages:
Java: 1.8.0_252 - /usr/bin/javac
Python: 2.7.12 - /usr/bin/python
npmPackages:
@react-native-community/cli: Not Found
react: 16.11.0 => 16.11.0
react-native: 0.62.2 => 0.62.2
npmGlobalPackages:
react-native: Not Found

Steps To Reproduce

  1. npm run start
  2. npm run android
  3. Open chrome debugger on http://localhost:8081/debugger-ui/
  4. Set up "Pause on uncaught exception" setting
  5. Reload the application on your device or emulator

Screenshots

image

image

@stale
Copy link

stale bot commented Aug 8, 2020

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions.

@stale stale bot added the Stale There has been a lack of activity on this issue and it may be closed soon. label Aug 8, 2020
@stale
Copy link

stale bot commented Aug 16, 2020

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.

@stale stale bot closed this as completed Aug 16, 2020
@facebook facebook locked as resolved and limited conversation to collaborators Oct 1, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Needs: Triage 🔍 Platform: Linux Building on Linux. Stale There has been a lack of activity on this issue and it may be closed soon.
Projects
None yet
Development

No branches or pull requests

2 participants