Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

node closes once you open app react-native

Open Your Project Folder in IDE like Visual Studio Code etc

Click on node_modules folder

Click on metro-config folder

Click on src folder

Click on default folder

Open blacklist.js file and replace the following code

var sharedBlacklist = [
/node_modules[/]react[/]dist[/].*/,
/website/node_modules/.*/,
/heapCapture/bundle.js/,
/.*/__tests__/.*/
];
with

var sharedBlacklist = [
/node_modules[/]react[/]dist[/].*/,
/website/node_modules/.*/,
/heapCapture/bundle.js/,
/.*/__tests__/.*/
];
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #node #closes #open #app
ADD COMMENT
Topic
Name
5+8 =