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.

Android: Requiring unknown module "crypto"

See original GitHub issue

There’s an issue with some of the packages requiring a crypto module, which isn’t installed by npm. Probably a broken dependency. See the following screenshots. screenshot_2016-07-26-16-42-58 este fail

I’m using npm v3.10.3 and node v6.3.1.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:16 (10 by maintainers)

github_iconTop GitHub Comments

2reactions
thetoothpickcommented, Aug 14, 2016

I found a non-sketchy way to replace the ‘uuid’ dependency with its react-native counterpart only when being run on react-native. I’ll submit a pull request.

0reactions
fiandrycommented, Feb 7, 2017

you must restart your server with react-native start and run your app with react-native run-android.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Requiring unknown module "crypto" in react-native environment
Using twit module to get twitter feeds and stream. Below is the code, it works fine node. However, when included into my react-native...
Read more >
Reactjs – Requiring unknown module “crypto” in react-native ...
I'm writing a simple Twitter app using react-native. Using twit module to get twitter feeds and stream. Below is the code, it works...
Read more >
React Native "Requiring unknown module "Crypto" #9535
Hello I got this error message when i use any encryption library such as JWT Requiring unknown module "crypto". If you are sure...
Read more >
Requiring unknown module 24 react-native
Requiring unknown module 24 react-native. The problem is that in the loadLocale function, it attempts to require('./locale/' + name) where name is en-US, ......
Read more >
Build error when adding React Native Paper - Reddit
After these commands, my app is unable to build and I get a "Requiring unknown module "1090".If you are sure the module is...
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