Skip to content

Instantly share code, notes, and snippets.

@iksecreeet
Created May 16, 2020 13:23
Show Gist options
  • Save iksecreeet/695cf4335e39a922185b0936653dcf1d to your computer and use it in GitHub Desktop.
Save iksecreeet/695cf4335e39a922185b0936653dcf1d to your computer and use it in GitHub Desktop.
Error metro-config npm start
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