I have created a custom npm module (will use xxx instead of its name) and link it manually using npm install.
npm module
npm install
I tried very har
Add rn-cli.config.js In the root project
const blacklist = require('metro-config/src/defaults/blacklist'); module.exports = { resolver: { blacklistRE: blacklist([ /node_modules\/.*\/node_modules\/react-native\/.*/, ]) }, };
see this issue
Hope it works for you