Fix React Native error Invalid regular expression: /(.*\\\\__fixtures__
Fix React Native error Invalid regular expression: /(.*\\__fixtures__
2020-08-03 / Kuswati

If you 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\react-native\packager\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__\/.*/
];

Fix React Native error Invalid regular expression: /(.*\\__fixtures__

PermaLink: https://www.webmanajemen.com/2020/08/fix-react-native-error-invalid-regular.html
Google Rich Snippets | Schema Markup Validator | Google Pagespeed Insight