Open ryantrem opened 4 years ago
After more investigation I found that the package.json
file created by create-react-native-module MyLibrary
includes react-native
in the devDependencies
. If I remove this, then I don't get the above error. I'm not sure if the blacklisting stuff that metro-symlinked-deps
provides is supposed to be helping with this or not.
Just tried this out on a brand new project using React Native 0.61.5 and as soon as I try to use something from my sym linked package I get this error in my app (after the bundle has loaded 100%):
This is using the default configuration suggested for
metro.config.js
. Any ideas?