By joy on Saturday, 25 January 2020
Posted in Native Mobile App
Replies 1
Likes 0
Views 600
Votes 0
If someone receives an Error like: Expo fails to start the project: error Invalid regular expression: /(.*\\__fixtures__

You have to do this fix: https://stackoverflow.com/questions/58120990/how-to-resolve-the-error-on-react-native-start/58199866#58199866


\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__\/.*/
];
Thanks for sharing joy!
·
Saturday, 25 January 2020 09:40
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post