I’m trying to implement the google maps trying (i did it another times) but when i try to do it i get this error:
> cordova plugin add https://github.com/mapsplugin/cordova-plugin-googlemaps#multiple_maps --save
× Running command - failed!
[ERROR] An error occurred while running cordova plugin add
https://github.com/mapsplugin/cordova-plugin-googlemaps#multi... (exit code 1):
Error: Failed to fetch plugin https://github.com/mapsplugin/cordova-plugin-googlemaps#multiple_maps via
registry.
Probably this is either a connection problem, or plugin spec is incorrect.
Check your connection and plugin name/version/URL.
Error: cmd: Command failed with exit code 1 Error output:
npm ERR! git fetch -a origin (https://github.com/mapsplugin/cordova-plugin-googlemaps.git) fatal: Unable to find
remote helper for 'https'
npm ERR! Windows_NT 10.0.15063
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program
Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
"https://github.com/mapsplugin/cordova-plugin-googlemaps#multiple_maps" "--save"
npm ERR! node v6.10.3
npm ERR! npm v3.10.10
npm ERR! code 128
npm ERR! Command failed: git -c core.longpaths=true fetch -a origin
npm ERR! fatal: Unable to find remote helper for 'https'
npm ERR!
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>
npm ERR! Please include the following file with any support request:
npm ERR! F:\xampp\htdocs\IONICTRABAJO\ProyectoBooAdv\node_modules\npm-debug.log
I’m trying with this command
$ ionic cordova plugin add https://github.com/mapsplugin/cordova-plugin-googlemaps#multiple_maps --variable API_KEY_FOR_ANDROID="YOUR_ANDROID_API_KEY_IS_HERE" --variable API_KEY_FOR_IOS="YOUR_IOS_API_KEY_IS_HERE"
$ npm install --save @ionic-native/google-maps
I’m forgetting something?