Created
April 15, 2020 11:03
-
-
Save zonayedpca/891e589fa3f50994c09ddec702ac2ba8 to your computer and use it in GitHub Desktop.
Metro Server Stopped Immediately after Running
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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