showing results for - "node closes once you open app react native"
Jerónimo
04 Jan 2021
1Open Your Project Folder in IDE like Visual Studio Code etc
2
3Click on node_modules folder
4
5Click on metro-config folder
6
7Click on src folder
8
9Click on default folder
10
11Open blacklist.js file and replace the following code
12
13var sharedBlacklist = [
14/node_modules[/\\]react[/\\]dist[/\\].*/,
15/website\/node_modules\/.*/,
16/heapCapture\/bundle\.js/,
17/.*\/__tests__\/.*/
18];
19with
20
21var sharedBlacklist = [
22/node_modules[\/\\]react[\/\\]dist[\/\\].*/,
23/website\/node_modules\/.*/,
24/heapCapture\/bundle\.js/,
25/.*\/__tests__\/.*/
26];