How to make Metro (React Native packager) ignore certain directories

The configuration for this has a habit of changing between RN versions. See below for version-specific instructions on creating a config file, loading the config file and clearing the cache. For React Native >= 0.64 to 0.71(+?) A rename of the helper function from blacklist to exclusionList was made in Metro 0.60, and the config … Read more

No apps connected. Sending “reload” to all React Native apps failed. Make sure your app is running in the simulator or on a phone connected via USB

⚠️ For iOS users : Check that your build target is Debug : Xcode Product => Scheme => Edit Scheme => Debug (and not release ! ) ⚠️ For Android users : I have found a solution that I posted on github. Not the best but it could be useful: First, you have to open … Read more

How to resolve the error on ‘react-native start’

I just got a similar error for the first time today. It appears in \node_modules\metro-config\src\defaults\blacklist.js, there is an invalid regular expression that needed changed. I changed the first expression under sharedBlacklist from: var sharedBlacklist = [ /node_modules[/\\]react[/\\]dist[/\\].*/, /website\/node_modules\/.*/, /heapCapture\/bundle\.js/, /.*\/__tests__\/.*/ ]; to: var sharedBlacklist = [ /node_modules[\/\\]react[\/\\]dist[\/\\].*/, /website\/node_modules\/.*/, /heapCapture\/bundle\.js/, /.*\/__tests__\/.*/ ];

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)