Created
May 16, 2020 13:23
-
-
Save iksecreeet/695cf4335e39a922185b0936653dcf1d to your computer and use it in GitHub Desktop.
Error metro-config npm start
This file contains hidden or 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
Got this issue today on windows, but don't need to downgrade node, just as discussed on stackoverflow just need to change some hashes on your project: | |
\node_modules\metro-config\src\defaults\blacklist.js | |
var sharedBlacklist = [ | |
/node_modules[/\\]react[/\\]dist[/\\].*/, | |
/website\/node_modules\/.*/, | |
/heapCapture\/bundle\.js/, | |
/.*\/__tests__\/.*/ | |
]; | |
change to: | |
var sharedBlacklist = [ | |
/node_modules[\/\\]react[\/\\]dist[\/\\].*/, | |
/website\/node_modules\/.*/, | |
/heapCapture\/bundle\.js/, | |
/.*\/__tests__\/.*/ | |
]; | |
Hope it works like worked for me :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment