Error: Cannot find module 'gulp-sass'

Uninstall and install gulp-sass

npm uninstall gulp-sass
npm install gulp-sass

Error: Node Sass does not yet support your current environment

Remove goclixy/node_modules folder then run npm install at project root

npm install

Execution failed for task ':transformClassesWithJarMergingForDebug'

Execution failed for task ':transformClassesWithJarMergingForDebug'. duplicate entry: org/apache/cordova/PermissionHelper.class

Re-install the COMPAT plugin as follows:

cordova plugin rm cordova-plugin-compat --force
cordova plugin add cordova-plugin-compat@1.2

Execution failed for task ':processDebugGoogleServices'.

Edit platforms/android/ file and change the below lines as follows:

These can also be specified in the config.xml file.

<plugin name="cordova-plugin-compat" spec="^1.2.0" />
<plugin name="phonegap-plugin-push" spec="^2.1.0">
    <variable name="FCM_VERSION" value="11.0.1" />

A problem occurred evaluating root project 'android'.

Failed to apply plugin [class '']

Download google-services.json from your Firebase console and place it in the root and platforms/android/ folder. Also make the changes in the config.xml file for the file location.

<platform name="android">
      <resource-file src="google-services.json" target="google-services.json" />

If you are still having issues, try re-installing the cordova-plugin-googleplus plugin as it may be conflicting with the phonegap-plugin-push.

Note: Do not forget to place google-services.json file in the platforms/android folder and GoogleService-info.plist in the platforms/ios folder, else application build will not work.

Unable to Login using Google Plus

If you are not able to login to Google after entering the correct SHA1, then use the below given code to find the used SHA1 key in the AppCtrl controller.

    function (fingerprint) {

This will show a new SHA1 key, use that key in your account.

REASON: Sometimes, the "unknown" SHA1 comes from the development builds:

keytool -list -printcert -jarfile platforms/android/build/outputs/apk/android-debug.apk

IOS - id: library not found for -IGoogleToolboxForMac

  • Go to platforms/ios folder and type the "pod install" into Terminal. This will add the linking dependencies.
  • You could also try to Delete the pods folder and the Pods file.
  • If you are still having issues, Type "pod update" into Terminal.

Facebook - Invalid Key Hash

Invalid key hash. The key hash rX6qeRitkFCWui3de74rxB_qc1s does not match any stored key hashes. Configure your app key hashes at APP ID

Add the key provided in the error "rX6qeRitkFCWui3de74rxB_qc1s" to your Facebook Developers Account.

You can generate a hash key through coding, you simply do one thing. Paste this code in the main class (first class) then run the app and check the logcat where you will find the hash key.

One more thing, replace the package name "" with your package name:

try {
    PackageInfo info = getPackageManager().getPackageInfo(
        "", PackageManager.GET_SIGNATURES);
            for (Signature signature : info.signatures) {
                MessageDigest md = MessageDigest.getInstance("SHA");
                Log.d("KeyHash:",Base64.encodeToString(md.digest(), Base64.DEFAULT));   
} catch (NameNotFoundException e) {

} catch (NoSuchAlgorithmException e) {


If you are using Google Play App Signing:
Open App signing section in Google Play Console, and get SHA1 of app signing certificate, than convert it to base64, for example with this tool:

Module FirebaseInstanceID not found in ios

Go to the platforms/ios folder in your Terminal and run the command below:

pod install

Execution failed for task ':transformClassesWithDexBuilderForDebug'

Execution failed for task ':transformClassesWithDexBuilderForDebug'. xxxxxxxxxxxx okhttp-3.13.1.jar

Edit platforms/android/ file and change the below lines as follows: