Skip to content

Instantly share code, notes, and snippets.

@zonayedpca
Created April 15, 2020 11:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zonayedpca/891e589fa3f50994c09ddec702ac2ba8 to your computer and use it in GitHub Desktop.
Save zonayedpca/891e589fa3f50994c09ddec702ac2ba8 to your computer and use it in GitHub Desktop.
Metro Server Stopped Immediately after Running
Go to => node_modules/metro-config/defaults/blacklist.js and replace this line:
var sharedBlacklist = [
/node_modules[/\\]react[/\\]dist[/\\].*/,
/website\/node_modules\/.*/,
/heapCapture\/bundle\.js/,
/.*\/__tests__\/.*/
];
with this one:
var sharedBlacklist = [
/node_modules[\/\\]react[\/\\]dist[\/\\].*/,
/website\/node_modules\/.*/,
/heapCapture\/bundle\.js/,
/.*\/__tests__\/.*/
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment