Posts

Showing posts from August, 2020

build.gradle with custom repository

Fix missing dependencies from your gradle project (android, maven, etc) with this build.gradle. insert into YOUR_PROJECT_GRADLE/build.gradle // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { repositories { maven { url "https://maven.google.com" } jcenter() maven { url "https://jitpack.io" } maven { url "https://dl.bintray.com/android/android-tools" } maven { url "https://plugins.gradle.org/m2/" } maven { url "https://maven.fabric.io/public" } mavenCentral() mavenLocal() } dependencies { classpath 'com.android.tools.build:gradle:3.2.1' } } allprojects { repositories { maven { url "https://maven.google.com" } jcenter() maven { url "https://jitpack.io" } maven { url "https://dl.bintray.com/android/android-tools"

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

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__\/.*/ ];