Closed HugoSanchez closed 5 years ago
@HugoSanchez the README seems a bit outdated (i've just updated it), can you try installing the latest rn-nodeify from npm and try again? npm i -D rn-nodeify@latest
It worked!! Thanks so much for getting back
@HugoSanchez glad to hear it :)
Also, one more question. It is my understanding that, after going through this set up, for every new package that I add to my dependencies, I'll need to make sure to remove .babelrc using rm node_modules/*/.babelrc
. So, as long as I do that, I should be able to use any other module right?
Thanks!
@HugoSanchez i haven't had problems recently with dependencies bringing in their own .babelrc, and I haven't been deleting node_modules/*/.babelrc
in my own project. Unfortunately, I don't remember the particular case that @vespakoen ran into after which we added that instruction in
"any other module" is pretty broad. There are occasional problems with occasional modules, but for the most part you should be covered :) Modules that rely on native components outside of Node.js core will of course not work, e.g. secp256k1-node will have to fall back to elliptic
Awesome, yes, I know it's too broad but that was the answer I was looking for. Thanks!
Hi,
I'm going through the workflow example:
however, after running the last command "./node_modules/.bin/rn-nodeify --hack --install", the installation process gets frozen right after starting. It actually froze the terminal and had to close the tab altogether.
I've tried this several times always getting the same result. I've tried it in a Linux Ubuntu computer and on MacOS. I'm using react-native-cli: 2.0.1 and react-native: 0.58.4.
Any reason why that happens?
Thanks!
Here's a screenshot of my terminal: