Go into your node_modules directory, and look for metro-config. Next, go into src/defaults, and open the blacklist.js file. Inside this file, you should find a variable names sharedBlacklist. Change the variable code to the one given below, and you should be good to go.
var sharedBlacklist = [
/node_modules[\/\\]react[\/\\]dist[\/\\].*/,
/website\/node_modules\/.*/,
/heapCapture\/bundle\.js/,
/.*\/__tests__\/.*/
];
No comments:
Post a Comment