Fixing route error when refreshing with F5 in React (react-router-dom) using nginx

Fixing route error when refreshing with F5 in React (react-router-dom) using nginx

Tiempo de lectura: < 1 minuto Today I share a solution to properly configure the nginx.conf file to make it compatible with react-router-dom route management. To solve the error, we need to add the line try_files $uri $uri/ /index.html; inside the nginx.conf file http{ … server { listen 80; server_name localhost; location / { root /usr/share/nginx/html; index index.html index.htm; try_files $uri … Read more

Fixing error: Building with plugins requires symlink support. Please enable Developer Mode in your system settings. In Flutter build.

Fixing error: Building with plugins requires symlink support. Please enable Developer Mode in your system settings. In Flutter build.

Tiempo de lectura: < 1 minuto If you encounter the following error message when using the command: flutter build apk or the command: flutter build appbundle It’s due to the lack of support for symbolic links (symlink) on your system. This problem can arise on operating systems that do not have developer support enabled or when Flutter cannot create symbolic links … Read more

Fix bug in React Native Expo: The Kotlin Gradle plugin was loaded multiple times in different subprojects, which is not supported and may break the build.

Fix bug in React Native Expo: The Kotlin Gradle plugin was loaded multiple times in different subprojects, which is not supported and may break the build.

Tiempo de lectura: < 1 minuto Today we are going to learn how to fix an error that occurs when creating a new project with Expo and TypeScript. This error is: The Kotlin Gradle plugin was loaded multiple times in different subprojects, which is not supported and may break the build. This might happen in subprojects that apply the Kotlin plugins … Read more

Resolve Android Studio Error ‘Cannot fit requested classes in a single dex file…’

Tiempo de lectura: < 1 minuto This error appears when trying to create a build (apk/aab) with Android Studio. To solve it, we have to go to the build.gradle of the app and add into defauldConfig: multiDexEnabled true Remaining as follows: android { defaultConfig { … multiDexEnabled true … } DevCodeLightdevcodelight.com

Fix error ‘Your advertising ID declaration in Play Console indicates that your application uses an advertising ID.’ in Google Play console when uploading an application.

Fix error ‘Your advertising ID declaration in Play Console indicates that your application uses an advertising ID.’ in Google Play console when uploading an application.

Tiempo de lectura: < 1 minuto Today we’re going to learn how to fix the error that appears on Google Play when uploading an update or a new app that contains advertising: “Your advertising ID declaration in Play Console indicates that your application uses an advertising ID. A manifest file of one of your active artifacts does not include the com.google.android.gms.permission.AD_ID … Read more

Fixing error Duplicate class com.google.android.gms.internal.measurement.zzhx found in modules jetified-play-services-measurement when updating Google Play Service Ads.

Fixing error Duplicate class com.google.android.gms.internal.measurement.zzhx found in modules jetified-play-services-measurement when updating Google Play Service Ads.

Tiempo de lectura: < 1 minuto   When updating the version of com.google.android.gms:play-services-ads: to 2.5.0, you may encounter the following error: A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable > Duplicate class com.google.android.gms.internal.measurement.zzhx found in modules jetified-play-services-measurement-base-20.1.2-runtim … *Continues with more errors. The issue is that we also need to update the Firebase version. To update it, we should set the version 30.1.0 … Read more

Error launching your React Native application locally

Error launching your React Native application locally

Tiempo de lectura: 2 minutos Reading Time: 2 minutes Good morning, in today’s tutorial, I’m going to show you how I solved an error that occurred to me a couple of times and I couldn’t figure out how to fix. When running the application on my mobile device locally or on any mobile device, it is done with the following … Read more

Fix stderr: error: object file .git/objects/ad/… is empty error using JENKINS

Fix stderr: error: object file .git/objects/ad/… is empty error using JENKINS

Tiempo de lectura: < 1 minuto Reading time: < 1 minute Today, I’m going to show you how to fix the error when synchronizing a GIT project with Jenkins, which returns: stderr: error: object file .git/objects/ad/.... is empty error: object file .git/objects/ad/.... is empty This occurs because there is a corrupt file in the Jenkins Git. To fix it, we need ... Read more

Access Error When Pulling via Console Using GitLab – Access Token

Access Error When Pulling via Console Using GitLab – Access Token

Tiempo de lectura: 2 minutos Reading time: 2 minutes When trying to perform a GitLab project pull via the console, I’m getting the following error: GitLab – remote: HTTP Basic: Access denied. The provided password or token is incorrect or your account has 2FA enabled and you must use a personal access token instead of a password. To solve this, … Read more

Resolve Reason: CORS header ‘Access-Control-Allow-Origin’ missing with PHP.

Resolve Reason: CORS header ‘Access-Control-Allow-Origin’ missing with PHP.

Tiempo de lectura: < 1 minuto Reading time: < 1 minute If executing a call to our REST API returns an error message “Cross-origin request blocked: The same origin policy does not allow reading of remote resources” or “Reason: CORS header ‘Access-Control-Allow-Origin’ missing” or “(Reason: CORS request failed)”. Most likely, our server-side REST calls do not have the necessary headers to ... Read more