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

Error: Requiring unknown module "202" #11568

Closed
thanksmister opened this issue Dec 20, 2016 · 2 comments
Closed

Error: Requiring unknown module "202" #11568

thanksmister opened this issue Dec 20, 2016 · 2 comments
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@thanksmister
Copy link

thanksmister commented Dec 20, 2016

Description

Following the React Native Getting Starting guide for Android results in error Requiring unknown module "202" https://facebook.github.io/react-native/docs/getting-started.html

Error: Requiring unknown module "202".If you are sure the module is there, try restarting the packager or running "npm install". (http://10.0.2.2:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false:152)

unknownModuleError@http://10.0.2.2:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false:215:13
loadModuleImplementation@http://10.0.2.2:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false:152:25
guardedLoadModule@http://10.0.2.2:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false:133:37
_require@http://10.0.2.2:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false:124:18
global code@http://10.0.2.2:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false:72844:9

image

Reproduction

Follow the steps in the Getting Started guide for Android and create a new project called AwesomeProject and then run the application in the emulator.

Solution

So far I am not able to resolve the issue. I tried npm install and made sure I had the latest react, but nothing fixes the issue. I also tried with different Android API versions (23, 25). I previously had another project that was working under 0.37 but that project has the same error
after upgrading the project to 0.39.2.

Additional Information

  • React Native version: 0.39.2
  • Platform: Android
  • Operating System: MacOS (Sierra)
@thanksmister
Copy link
Author

thanksmister commented Dec 22, 2016

Some more information. The same error occurs on both iOS and Android emulator. Here is the iOS error:

ios_error

@thanksmister
Copy link
Author

Restarting packager fixed the issue.

@facebook facebook locked as resolved and limited conversation to collaborators May 24, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

2 participants