You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Sergey Grebnov (JIRA)" <ji...@apache.org> on 2016/02/09 14:18:18 UTC
[jira] [Commented] (CB-9509) Error when installing
plugin.google.maps
[ https://issues.apache.org/jira/browse/CB-9509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15138923#comment-15138923 ]
Sergey Grebnov commented on CB-9509:
------------------------------------
Cannot reproduce, looks like this is fixed
{code}
λ cordova plugin add https://github.com/wf9a5m75/phonegap-googlemaps-plugin.git --variable API_KEY_FOR_ANDROID="adf"
Fetching plugin "https://github.com/wf9a5m75/phonegap-googlemaps-plugin.git" via git clone
Repository "https://github.com/wf9a5m75/phonegap-googlemaps-plugin.git" checked out to git ref "master".
Notice: plugin.google.maps has been automatically converted to cordova-plugin-googlemaps and fetched from npm. This is due to our old plugins registry shutting down.
Fetching plugin "cordova-plugin-googlemaps" via npm
Installing "plugin.google.maps" for android
In order to run this plugin, you need to obtain Google Maps API key for Android.
Visit https://github.com/mapsplugin/cordova-plugin-googlemaps/wiki/Installation
Check our release notes.
https://github.com/wf9a5m75/phonegap-googlemaps-plugin/wiki/Release-Notes
{code}
> Error when installing plugin.google.maps
> ----------------------------------------
>
> Key: CB-9509
> URL: https://issues.apache.org/jira/browse/CB-9509
> Project: Apache Cordova
> Issue Type: Bug
> Components: CLI
> Reporter: Omar Mefire
>
> After running : `cordova plugin add https://github.com/wf9a5m75/phonegap-googlemaps-plugin.git --variable API_KEY_FOR_ANDROID="adf"`
> the following is displayed :
> {code}
> Installing "plugin.google.maps" for android
> Fetching plugin "plugin.http.request" via npm
> npm http GET https://registry.npmjs.org/plugin.http.request
> npm http 404 https://registry.npmjs.org/plugin.http.request
> TypeError: Cannot call method 'match' of undefined
> at RegClient.<anonymous> (/home/omefire/Projects/Cordova/cordova-lib/cordova-lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:119:29)
> at cb (/home/omefire/Projects/Cordova/cordova-lib/cordova-lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:158:9)
> at RegClient.<anonymous> (/home/omefire/Projects/Cordova/cordova-lib/cordova-lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:252:14)
> at Request.self.callback (/home/omefire/Projects/Cordova/cordova-lib/cordova-lib/node_modules/npm/node_modules/request/index.js:148:22)
> at Request.EventEmitter.emit (events.js:98:17)
> at Request.<anonymous> (/home/omefire/Projects/Cordova/cordova-lib/cordova-lib/node_modules/npm/node_modules/request/index.js:876:14)
> at Request.EventEmitter.emit (events.js:117:20)
> at IncomingMessage.<anonymous> (/home/omefire/Projects/Cordova/cordova-lib/cordova-lib/node_modules/npm/node_modules/request/index.js:827:12)
> at IncomingMessage.EventEmitter.emit (events.js:117:20)
> at _stream_readable.js:920:16
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org