Hello guys, everytime I run ionic cordova build android --release --prod
, I get the following error:
Error: Metadata version mismatch for module
C:/Users/Kenny/Projects/CBSTC/User/node_modules/@ionic-native/google-maps/index.d.ts, found version 4, expected 3
Anyone else experienced it before? Thanks in advance…
Here’s my ionic info
by the way:
[WARN] Detected locally installed Ionic CLI, but it's too old--using global CLI.
Ionic:
ionic (Ionic CLI) : 4.10.2 (C:\Users\Kenny\AppData\Roaming\npm\node_modules\ionic)
Ionic Framework : ionic-angular 3.9.3
@ionic/app-scripts : 2.1.4
Cordova:
cordova (Cordova CLI) : 6.5.0
Cordova Platforms : android 6.1.2
Cordova Plugins : cordova-plugin-ionic-webview 1.2.1, (and 21 other plugins)
System:
NodeJS : v10.15.1 (C:\Program Files\nodejs\node.exe)
npm : 2.15.12
OS : Windows 10
and my package.json
dependencies:
"dependencies": {
"@angular/common": "4.1.3",
"@angular/compiler": "4.1.3",
"@angular/compiler-cli": "4.1.3",
"@angular/core": "4.1.3",
"@angular/forms": "4.1.3",
"@angular/http": "4.1.3",
"@angular/platform-browser": "4.1.3",
"@angular/platform-browser-dynamic": "4.1.3",
"@ionic-native/background-mode": "^4.9.1",
"@ionic-native/browser-tab": "^4.9.1",
"@ionic-native/call-number": "^4.9.1",
"@ionic-native/camera": "^3.14.0",
"@ionic-native/core": "^3.14.0",
"@ionic-native/diagnostic": "^3.14.0",
"@ionic-native/firebase": "^4.9.1",
"@ionic-native/google-maps": "^4.2.1",
"@ionic-native/http": "^3.14.0",
"@ionic-native/in-app-browser": "^4.9.1",
"@ionic-native/location-accuracy": "^3.14.0",
"@ionic-native/onesignal": "^4.9.1",
"@ionic-native/paypal": "^4.9.1",
"@ionic-native/social-sharing": "^4.9.1",
"@ionic-native/splash-screen": "3.12.1",
"@ionic-native/status-bar": "3.12.1",
"@ionic-native/stripe": "^4.9.1",
"@ionic-native/vibration": "^4.9.1",
"@ionic/storage": "2.0.1",
"angular": "^1.7.2",
"body-parser": "^1.18.3",
"browser-sync": "^2.24.7",
"call-number": "git+https://github.com/Rohfosho/CordovaCallNumberPlugin.git",
"cheerio": "^0.19.0",
"cordova-browser": "^5.0.4",
"cordova-custom-config": "git+https://github.com/dpa99c/cordova-custom-config.git",
"cordova-ios": "4.5.4",
"cordova-plugin-accountkit": "^1.4.0",
"cordova-plugin-advanced-http": "^2.0.1",
"cordova-plugin-background-mode": "^0.7.2",
"cordova-plugin-browsertab": "^0.2.0",
"cordova-plugin-buildinfo": "^1.1.0",
"cordova-plugin-camera": "^3.0.0",
"cordova-plugin-compat": "^1.2.0",
"cordova-plugin-device": "^1.1.7",
"cordova-plugin-file": "^6.0.1",
"cordova-plugin-googlemaps": "^2.4.4",
"cordova-plugin-inappbrowser": "^1.7.2",
"cordova-plugin-ionic-webview": "^1.2.1",
"cordova-plugin-ionic-wkkeyboard": "^1.1.15",
"cordova-plugin-paystack": "git+https://github.com/blinks32/cordova-paystack-plugin-updated.git",
"cordova-plugin-request-location-accuracy": "^2.2.3",
"cordova-plugin-splashscreen": "^4.1.0",
"cordova-plugin-statusbar": "^2.4.2",
"cordova-plugin-vibration": "^2.1.6",
"cordova-plugin-whitelist": "^1.3.3",
"cordova-plugin-x-socialsharing": "^5.4.1",
"cordova.plugins.diagnostic": "^4.0.10",
"cors": "^2.8.4",
"csp-parse": "0.0.2",
"elementtree": "^0.1.7",
"es6-promise-plugin": "^4.2.2",
"express": "^4.16.3",
"glob": "^5.0.15",
"ionic-angular": "^3.9.2",
"ionic-plugin-keyboard": "^2.2.1",
"ionic2-rating": "^1.2.2",
"ionicons": "3.0.0",
"make-dir": "^1.3.0",
"minimist": "^1.2.0",
"mx.ferreyra.callnumber": "0.0.2",
"npm": "^2.15.12",
"onesignal-cordova-plugin": "^2.4.4",
"plist": "^1.2.0",
"promise-polyfill": "6.0.2",
"q": "^1.5.1",
"rxjs": "5.4.0",
"stripe": "^5.10.0",
"sw-toolbox": "3.6.0",
"xml2js": "^0.4.19",
"zone.js": "0.8.12"
},