Open lattice0 opened 6 years ago
I did the "eject" and in the 'native' way I can run the app if I rename rn-cli.config.js to something else, but if I name it to what it's supposed to be, then I get:
ERROR ignorePattern is not a function
on Metro, and the app won't launch (red screen with errors)
For those who are still looking for a solution to this.
TLDR:
const blacklist = require('metro/src/blacklist');
If you have react-native
>= 0.57 check this:
https://github.com/facebook/react-native/issues/21093#issuecomment-420960801
I see in your example that you use android or ios with gradle. I'm using expo for now but of course I'll migrate to gradle. For now, I copied your
transformer.js
,rn-cli.config
,global.js
and didnpm3 install node-libs-browser
. Here's the error I'm having when I donpm start