I'm giving a try with [react-native-crypto][1]
in order to learn how to convert nodejs to be used in React Native project in the future. Unfortunately, I couldn't get it running successfully. I've faced an issue with stream
is undefined. ERROR TypeError: undefined is not an object (evaluating '_$$_REQUIRE(_dependencyMap[0], "stream").Transform.call')
.
If you have ever faced a similar problem, I'm so grateful for your help.
I have figured it out by editing in
metro.config.js
as the following: