Links

Common Errors and Solutions

The purpose of this sections is to add common errors and their solutions.

Errors during npm install

Try the following:
  1. 1.
    Delete folder node_modules
  2. 2.
    Delete file package-lock.json
  3. 3.
    Run npm install again

Errors when building Android app

Could not find an installed version of Gradle

If you get an error like this go to https://github.com/ionic-team/ionic/issues/11591 and do what is suggested there, installing gradle.
"Could not find an installed version of Gradle either in Android Studio, or on your system to install the gradle wrapper. Please include gradle in your path, or install Android Studio"

Cannot find type 'GIDSignInDelegate‘ in scope

If you get these kind of errors when building your app for iOS, the issue is related to google sign in.
Please make sure you added the GoogleService-Info.plist file into your app folder as explained here.
Last modified 11mo ago