mapsplugin / cordova-plugin-googlemaps

Google Maps plugin for Cordova
Apache License 2.0
1.66k stars 918 forks source link

cordova-plugin-googlemaps-sdk for IOS support won't install #2427

Closed battika closed 6 years ago

battika commented 6 years ago

I'm submitting a ... (check one with "x")

OS: (check one with "x")

cordova information: (run $> cordova plugin list)

cordova-plugin-device 2.0.2 "Device"
cordova-plugin-googlemaps 2.4.4 "cordova-plugin-googlemaps"
cordova-plugin-ionic-keyboard 2.1.2 "cordova-plugin-ionic-keyboard"
cordova-plugin-ionic-webview 2.1.4 "cordova-plugin-ionic-webview"
cordova-plugin-splashscreen 5.0.2 "Splashscreen"
cordova-plugin-statusbar 2.4.2 "StatusBar"
cordova-plugin-whitelist 1.3.3 "Whitelist"

Current behavior: When I attempt to install this plugin Google Maps SDK for IOS won't install with the following error:

Installing "cordova-plugin-googlemaps" for ios
Fetching plugin "https://github.com/mapsplugin/cordova-plugin-googlemaps-sdk/tarball/2.7.0" via git clone
Failed to install 'cordova-plugin-googlemaps': CordovaError: Failed to fetch plugin https://github.com/mapsplugin/cordova-plugin-googlemaps-sdk/tarball/2.7.0 via git.
Either there is a connection problems, or plugin spec is incorrect:
    Error: git: Command failed with exit code 128 Error output:
Cloning into '/var/folders/4p/w0rzq9d1379bs8q2mcvtphxm0000gn/T/git/1537444959684'...
fatal: unable to update url base from redirection:
  asked for: https://github.com/mapsplugin/cordova-plugin-googlemaps-sdk/tarball/2.7.0/info/refs?service=git-upload-pack
   redirect: https://codeload.github.com/mapsplugin/cordova-plugin-googlemaps-sdk/legacy.tar.gz/2.7.0
    at /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/fetch.js:100:37
    at _rejected (/usr/local/lib/node_modules/cordova/node_modules/cordova-common/node_modules/q/q.js:864:24)
    at /usr/local/lib/node_modules/cordova/node_modules/cordova-common/node_modules/q/q.js:890:30
    at Promise.when (/usr/local/lib/node_modules/cordova/node_modules/cordova-common/node_modules/q/q.js:1142:31)
    at Promise.promise.promiseDispatch (/usr/local/lib/node_modules/cordova/node_modules/cordova-common/node_modules/q/q.js:808:41)
    at /usr/local/lib/node_modules/cordova/node_modules/cordova-common/node_modules/q/q.js:624:44
    at runSingle (/usr/local/lib/node_modules/cordova/node_modules/cordova-common/node_modules/q/q.js:137:13)
    at flush (/usr/local/lib/node_modules/cordova/node_modules/cordova-common/node_modules/q/q.js:125:13)
    at _combinedTickCallback (internal/process/next_tick.js:73:7)
    at process._tickCallback (internal/process/next_tick.js:104:9)
Error: Failed to fetch plugin https://github.com/mapsplugin/cordova-plugin-googlemaps-sdk/tarball/2.7.0 via git.
Either there is a connection problems, or plugin spec is incorrect:
    Error: git: Command failed with exit code 128 Error output:
Cloning into '/var/folders/4p/w0rzq9d1379bs8q2mcvtphxm0000gn/T/git/1537444959684'...
fatal: unable to update url base from redirection:
  asked for: https://github.com/mapsplugin/cordova-plugin-googlemaps-sdk/tarball/2.7.0/info/refs?service=git-upload-pack
   redirect: https://codeload.github.com/mapsplugin/cordova-plugin-googlemaps-sdk/legacy.tar.gz/2.7.0

It is strange as it worked before.

I started a new ionic blank project using the ionic start command, added the IOS platform using the ionic cordova platform add ios command and attempted to add this plugin but it fails to add.

If I copy and paste the https://codeload.github.com/mapsplugin/cordova-plugin-googlemaps-sdk/legacy.tar.gz/2.7.0 URL in the browser it downloads the tar.gz file but not by installing cordova-plugin-googlemaps-sdk. Same error occurs when I attempt to install just the supporting library by running the cordova plugin add cordova-plugin-googlemaps-sdk command.

wf9a5m75 commented 6 years ago

npm -g install npm

battika commented 6 years ago

It did not help. I had npm installed globally anyway, using it on daily basis. The only way I could get it installed is the following: ionic cordova plugin add https://github.com/mapsplugin/cordova-plugin-googlemaps-sdk.git

Then run ionic cordova plugin add cordova-plugin-googlemaps

wf9a5m75 commented 6 years ago

Please show me the versions of cordova, node.js, ionic, other related information.

battika commented 6 years ago
cli packages: (/usr/local/lib/node_modules)

    @ionic/cli-utils  : 1.19.2
    ionic (Ionic CLI) : 3.20.0

global packages:

    cordova (Cordova CLI) : 7.1.0

local packages:

    @ionic/app-scripts : 3.2.0
    Cordova Platforms  : ios 4.5.5
    Ionic Framework    : ionic-angular 3.9.2

System:

    Android SDK Tools : 26.1.1
    ios-deploy        : 1.9.2
    Node              : v6.12.3
    npm               : 6.4.1
    OS                : macOS Sierra
    Xcode             : Xcode 9.2 Build version 9C40b

$ node -v
v6.12.3
$ npm -v
6.4.1
wf9a5m75 commented 6 years ago

Um, I can not reproduce your issue.

masashi-macgms:vsd242 masashi$ nvm install v6.12.3
Downloading and installing node v6.12.3...
Downloading https://nodejs.org/dist/v6.12.3/node-v6.12.3-darwin-x64.tar.xz...
######################################################################### 100.0%
Computing checksum with shasum -a 256
Checksums matched!
Now using node v6.12.3 (npm v3.10.10)
masashi-macgms:vsd242 masashi$ npm -v
3.10.10
masashi-macgms:vsd242 masashi$ npm -g install npm@6.4.1
/Users/masashi/.nvm/versions/node/v6.12.3/bin/npm -> /Users/masashi/.nvm/versions/node/v6.12.3/lib/node_modules/npm/bin/npm-cli.js
/Users/masashi/.nvm/versions/node/v6.12.3/bin/npx -> /Users/masashi/.nvm/versions/node/v6.12.3/lib/node_modules/npm/bin/npx-cli.js
- clone@1.0.2 node_modules/npm/node_modules/columnify/node_modules/wcwidth/node_modules/defaults/node_modules/clone
- defaults@1.0.3 node_modules/npm/node_modules/columnify/node_modules/wcwidth/node_modules/defaults
- wcwidth@1.0.0 node_modules/npm/node_modules/columnify/node_modules/wcwidth
- proto-list@1.2.4 node_modules/npm/node_modules/config-chain/node_modules/proto-list
- balanced-match@0.4.2 node_modules/npm/node_modules/fstream-npm/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match
- concat-map@0.0.1 node_modules/npm/node_modules/fstream-npm/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map
- brace-expansion@1.1.6 node_modules/npm/node_modules/fstream-npm/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion
- minimatch@3.0.3 node_modules/npm/node_modules/fstream-npm/node_modules/fstream-ignore/node_modules/minimatch
- fstream-ignore@1.0.5 node_modules/npm/node_modules/fstream-npm/node_modules/fstream-ignore
- fs.realpath@1.0.0 node_modules/npm/node_modules/glob/node_modules/fs.realpath
- balanced-match@0.4.2 node_modules/npm/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match
- concat-map@0.0.1 node_modules/npm/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map
- brace-expansion@1.1.6 node_modules/npm/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion
- minimatch@3.0.3 node_modules/npm/node_modules/glob/node_modules/minimatch
- path-is-absolute@1.0.1 node_modules/npm/node_modules/glob/node_modules/path-is-absolute
- balanced-match@0.4.2 node_modules/npm/node_modules/init-package-json/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match
- concat-map@0.0.1 node_modules/npm/node_modules/init-package-json/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map
- brace-expansion@1.1.6 node_modules/npm/node_modules/init-package-json/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion
- minimatch@3.0.3 node_modules/npm/node_modules/init-package-json/node_modules/glob/node_modules/minimatch
- path-is-absolute@1.0.0 node_modules/npm/node_modules/init-package-json/node_modules/glob/node_modules/path-is-absolute
- glob@6.0.4 node_modules/npm/node_modules/init-package-json/node_modules/glob
- promzard@0.3.0 node_modules/npm/node_modules/init-package-json/node_modules/promzard
- lodash._createset@4.0.3 node_modules/npm/node_modules/lodash._baseuniq/node_modules/lodash._createset
- lodash._root@3.0.1 node_modules/npm/node_modules/lodash._baseuniq/node_modules/lodash._root
- minimist@0.0.8 node_modules/npm/node_modules/mkdirp/node_modules/minimist
- balanced-match@0.4.2 node_modules/npm/node_modules/node-gyp/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match
- concat-map@0.0.1 node_modules/npm/node_modules/node-gyp/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map
- brace-expansion@1.1.6 node_modules/npm/node_modules/node-gyp/node_modules/minimatch/node_modules/brace-expansion
- minimatch@3.0.3 node_modules/npm/node_modules/node-gyp/node_modules/minimatch
- delegates@1.0.0 node_modules/npm/node_modules/node-gyp/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/delegates
- are-we-there-yet@1.1.2 node_modules/npm/node_modules/node-gyp/node_modules/npmlog/node_modules/are-we-there-yet
- console-control-strings@1.1.0 node_modules/npm/node_modules/node-gyp/node_modules/npmlog/node_modules/console-control-strings
- has-color@0.1.7 node_modules/npm/node_modules/node-gyp/node_modules/npmlog/node_modules/gauge/node_modules/has-color
- object-assign@4.1.0 node_modules/npm/node_modules/node-gyp/node_modules/npmlog/node_modules/gauge/node_modules/object-assign
- signal-exit@3.0.0 node_modules/npm/node_modules/node-gyp/node_modules/npmlog/node_modules/gauge/node_modules/signal-exit
- number-is-nan@1.0.0 node_modules/npm/node_modules/node-gyp/node_modules/npmlog/node_modules/gauge/node_modules/string-width/node_modules/code-point-at/node_modules/number-is-nan
- code-point-at@1.0.0 node_modules/npm/node_modules/node-gyp/node_modules/npmlog/node_modules/gauge/node_modules/string-width/node_modules/code-point-at
- number-is-nan@1.0.0 node_modules/npm/node_modules/node-gyp/node_modules/npmlog/node_modules/gauge/node_modules/string-width/node_modules/is-fullwidth-code-point/node_modules/number-is-nan
- is-fullwidth-code-point@1.0.0 node_modules/npm/node_modules/node-gyp/node_modules/npmlog/node_modules/gauge/node_modules/string-width/node_modules/is-fullwidth-code-point
- string-width@1.0.2 node_modules/npm/node_modules/node-gyp/node_modules/npmlog/node_modules/gauge/node_modules/string-width
- wide-align@1.1.0 node_modules/npm/node_modules/node-gyp/node_modules/npmlog/node_modules/gauge/node_modules/wide-align
- gauge@2.6.0 node_modules/npm/node_modules/node-gyp/node_modules/npmlog/node_modules/gauge
- set-blocking@2.0.0 node_modules/npm/node_modules/node-gyp/node_modules/npmlog/node_modules/set-blocking
- npmlog@3.1.2 node_modules/npm/node_modules/node-gyp/node_modules/npmlog
- ms@0.7.1 node_modules/npm/node_modules/node-gyp/node_modules/path-array/node_modules/array-index/node_modules/debug/node_modules/ms
- debug@2.2.0 node_modules/npm/node_modules/node-gyp/node_modules/path-array/node_modules/array-index/node_modules/debug
- es6-iterator@2.0.0 node_modules/npm/node_modules/node-gyp/node_modules/path-array/node_modules/array-index/node_modules/es6-symbol/node_modules/es5-ext/node_modules/es6-iterator
- es5-ext@0.10.12 node_modules/npm/node_modules/node-gyp/node_modules/path-array/node_modules/array-index/node_modules/es6-symbol/node_modules/es5-ext
- d@0.1.1 node_modules/npm/node_modules/node-gyp/node_modules/path-array/node_modules/array-index/node_modules/es6-symbol/node_modules/d
- es6-symbol@3.1.0 node_modules/npm/node_modules/node-gyp/node_modules/path-array/node_modules/array-index/node_modules/es6-symbol
- array-index@1.0.0 node_modules/npm/node_modules/node-gyp/node_modules/path-array/node_modules/array-index
- path-array@1.0.1 node_modules/npm/node_modules/node-gyp/node_modules/path-array
- builtin-modules@1.1.1 node_modules/npm/node_modules/normalize-package-data/node_modules/is-builtin-module/node_modules/builtin-modules
- is-builtin-module@1.0.0 node_modules/npm/node_modules/normalize-package-data/node_modules/is-builtin-module
- core-util-is@1.0.2 node_modules/npm/node_modules/npm-registry-client/node_modules/concat-stream/node_modules/readable-stream/node_modules/core-util-is
- isarray@1.0.0 node_modules/npm/node_modules/npm-registry-client/node_modules/concat-stream/node_modules/readable-stream/node_modules/isarray
- process-nextick-args@1.0.7 node_modules/npm/node_modules/npm-registry-client/node_modules/concat-stream/node_modules/readable-stream/node_modules/process-nextick-args
- string_decoder@0.10.31 node_modules/npm/node_modules/npm-registry-client/node_modules/concat-stream/node_modules/readable-stream/node_modules/string_decoder
- util-deprecate@1.0.2 node_modules/npm/node_modules/npm-registry-client/node_modules/concat-stream/node_modules/readable-stream/node_modules/util-deprecate
- readable-stream@2.0.6 node_modules/npm/node_modules/npm-registry-client/node_modules/concat-stream/node_modules/readable-stream
- typedarray@0.0.6 node_modules/npm/node_modules/npm-registry-client/node_modules/concat-stream/node_modules/typedarray
- concat-stream@1.5.2 node_modules/npm/node_modules/npm-registry-client/node_modules/concat-stream
- delegates@1.0.0 node_modules/npm/node_modules/npm-registry-client/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/delegates
- are-we-there-yet@1.1.2 node_modules/npm/node_modules/npm-registry-client/node_modules/npmlog/node_modules/are-we-there-yet
- console-control-strings@1.1.0 node_modules/npm/node_modules/npm-registry-client/node_modules/npmlog/node_modules/console-control-strings
- has-color@0.1.7 node_modules/npm/node_modules/npm-registry-client/node_modules/npmlog/node_modules/gauge/node_modules/has-color
- object-assign@4.1.0 node_modules/npm/node_modules/npm-registry-client/node_modules/npmlog/node_modules/gauge/node_modules/object-assign
- signal-exit@3.0.0 node_modules/npm/node_modules/npm-registry-client/node_modules/npmlog/node_modules/gauge/node_modules/signal-exit
- number-is-nan@1.0.0 node_modules/npm/node_modules/npm-registry-client/node_modules/npmlog/node_modules/gauge/node_modules/string-width/node_modules/code-point-at/node_modules/number-is-nan
- code-point-at@1.0.0 node_modules/npm/node_modules/npm-registry-client/node_modules/npmlog/node_modules/gauge/node_modules/string-width/node_modules/code-point-at
- number-is-nan@1.0.0 node_modules/npm/node_modules/npm-registry-client/node_modules/npmlog/node_modules/gauge/node_modules/string-width/node_modules/is-fullwidth-code-point/node_modules/number-is-nan
- is-fullwidth-code-point@1.0.0 node_modules/npm/node_modules/npm-registry-client/node_modules/npmlog/node_modules/gauge/node_modules/string-width/node_modules/is-fullwidth-code-point
- string-width@1.0.2 node_modules/npm/node_modules/npm-registry-client/node_modules/npmlog/node_modules/gauge/node_modules/string-width
- wide-align@1.1.0 node_modules/npm/node_modules/npm-registry-client/node_modules/npmlog/node_modules/gauge/node_modules/wide-align
- gauge@2.6.0 node_modules/npm/node_modules/npm-registry-client/node_modules/npmlog/node_modules/gauge
- set-blocking@2.0.0 node_modules/npm/node_modules/npm-registry-client/node_modules/npmlog/node_modules/set-blocking
- npmlog@3.1.2 node_modules/npm/node_modules/npm-registry-client/node_modules/npmlog
- delegates@1.0.0 node_modules/npm/node_modules/npmlog/node_modules/are-we-there-yet/node_modules/delegates
- are-we-there-yet@1.1.2 node_modules/npm/node_modules/npmlog/node_modules/are-we-there-yet
- console-control-strings@1.1.0 node_modules/npm/node_modules/npmlog/node_modules/console-control-strings
- has-color@0.1.7 node_modules/npm/node_modules/npmlog/node_modules/gauge/node_modules/has-color
- object-assign@4.1.0 node_modules/npm/node_modules/npmlog/node_modules/gauge/node_modules/object-assign
- signal-exit@3.0.0 node_modules/npm/node_modules/npmlog/node_modules/gauge/node_modules/signal-exit
- number-is-nan@1.0.0 node_modules/npm/node_modules/npmlog/node_modules/gauge/node_modules/string-width/node_modules/code-point-at/node_modules/number-is-nan
- code-point-at@1.0.0 node_modules/npm/node_modules/npmlog/node_modules/gauge/node_modules/string-width/node_modules/code-point-at
- number-is-nan@1.0.0 node_modules/npm/node_modules/npmlog/node_modules/gauge/node_modules/string-width/node_modules/is-fullwidth-code-point/node_modules/number-is-nan
- is-fullwidth-code-point@1.0.0 node_modules/npm/node_modules/npmlog/node_modules/gauge/node_modules/string-width/node_modules/is-fullwidth-code-point
- string-width@1.0.2 node_modules/npm/node_modules/npmlog/node_modules/gauge/node_modules/string-width
- wide-align@1.1.0 node_modules/npm/node_modules/npmlog/node_modules/gauge/node_modules/wide-align
- gauge@2.6.0 node_modules/npm/node_modules/npmlog/node_modules/gauge
- set-blocking@2.0.0 node_modules/npm/node_modules/npmlog/node_modules/set-blocking
- os-homedir@1.0.1 node_modules/npm/node_modules/osenv/node_modules/os-homedir
- os-tmpdir@1.0.1 node_modules/npm/node_modules/osenv/node_modules/os-tmpdir
- util-extend@1.0.3 node_modules/npm/node_modules/read-installed/node_modules/util-extend
- balanced-match@0.4.2 node_modules/npm/node_modules/read-package-json/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match
- concat-map@0.0.1 node_modules/npm/node_modules/read-package-json/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map
- brace-expansion@1.1.6 node_modules/npm/node_modules/read-package-json/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion
- minimatch@3.0.3 node_modules/npm/node_modules/read-package-json/node_modules/glob/node_modules/minimatch
- path-is-absolute@1.0.0 node_modules/npm/node_modules/read-package-json/node_modules/glob/node_modules/path-is-absolute
- glob@6.0.4 node_modules/npm/node_modules/read-package-json/node_modules/glob
- jju@1.3.0 node_modules/npm/node_modules/read-package-json/node_modules/json-parse-helpfulerror/node_modules/jju
- json-parse-helpfulerror@1.0.3 node_modules/npm/node_modules/read-package-json/node_modules/json-parse-helpfulerror
- mute-stream@0.0.5 node_modules/npm/node_modules/read/node_modules/mute-stream
- buffer-shims@1.0.0 node_modules/npm/node_modules/readable-stream/node_modules/buffer-shims
- core-util-is@1.0.2 node_modules/npm/node_modules/readable-stream/node_modules/core-util-is
- isarray@1.0.0 node_modules/npm/node_modules/readable-stream/node_modules/isarray
- process-nextick-args@1.0.7 node_modules/npm/node_modules/readable-stream/node_modules/process-nextick-args
- string_decoder@0.10.31 node_modules/npm/node_modules/readable-stream/node_modules/string_decoder
- util-deprecate@1.0.2 node_modules/npm/node_modules/readable-stream/node_modules/util-deprecate
- aws-sign2@0.6.0 node_modules/npm/node_modules/request/node_modules/aws-sign2
- aws4@1.4.1 node_modules/npm/node_modules/request/node_modules/aws4
- core-util-is@1.0.2 node_modules/npm/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/core-util-is
- isarray@1.0.0 node_modules/npm/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/isarray
- process-nextick-args@1.0.7 node_modules/npm/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/process-nextick-args
- string_decoder@0.10.31 node_modules/npm/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/string_decoder
- util-deprecate@1.0.2 node_modules/npm/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/util-deprecate
- readable-stream@2.0.6 node_modules/npm/node_modules/request/node_modules/bl/node_modules/readable-stream
- bl@1.1.2 node_modules/npm/node_modules/request/node_modules/bl
- caseless@0.11.0 node_modules/npm/node_modules/request/node_modules/caseless
- delayed-stream@1.0.0 node_modules/npm/node_modules/request/node_modules/combined-stream/node_modules/delayed-stream
- combined-stream@1.0.5 node_modules/npm/node_modules/request/node_modules/combined-stream
- extend@3.0.0 node_modules/npm/node_modules/request/node_modules/extend
- forever-agent@0.6.1 node_modules/npm/node_modules/request/node_modules/forever-agent
- asynckit@0.4.0 node_modules/npm/node_modules/request/node_modules/form-data/node_modules/asynckit
- ansi-styles@2.2.1 node_modules/npm/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/ansi-styles
- escape-string-regexp@1.0.5 node_modules/npm/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/escape-string-regexp
- has-ansi@2.0.0 node_modules/npm/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/has-ansi
- supports-color@2.0.0 node_modules/npm/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/supports-color
- chalk@1.1.3 node_modules/npm/node_modules/request/node_modules/har-validator/node_modules/chalk
- graceful-readlink@1.0.1 node_modules/npm/node_modules/request/node_modules/har-validator/node_modules/commander/node_modules/graceful-readlink
- commander@2.9.0 node_modules/npm/node_modules/request/node_modules/har-validator/node_modules/commander
- generate-function@2.0.0 node_modules/npm/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-function
- is-property@1.0.2 node_modules/npm/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-object-property/node_modules/is-property
- generate-object-property@1.2.0 node_modules/npm/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-object-property
- jsonpointer@4.0.0 node_modules/npm/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/jsonpointer
- xtend@4.0.1 node_modules/npm/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/xtend
- is-my-json-valid@2.15.0 node_modules/npm/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid
- pinkie@2.0.4 node_modules/npm/node_modules/request/node_modules/har-validator/node_modules/pinkie-promise/node_modules/pinkie
- pinkie-promise@2.0.1 node_modules/npm/node_modules/request/node_modules/har-validator/node_modules/pinkie-promise
- har-validator@2.0.6 node_modules/npm/node_modules/request/node_modules/har-validator
- hoek@2.16.3 node_modules/npm/node_modules/request/node_modules/hawk/node_modules/hoek
- boom@2.10.1 node_modules/npm/node_modules/request/node_modules/hawk/node_modules/boom
- cryptiles@2.0.5 node_modules/npm/node_modules/request/node_modules/hawk/node_modules/cryptiles
- sntp@1.0.9 node_modules/npm/node_modules/request/node_modules/hawk/node_modules/sntp
- hawk@3.1.3 node_modules/npm/node_modules/request/node_modules/hawk
- assert-plus@0.2.0 node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/assert-plus
- extsprintf@1.0.2 node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/extsprintf
- json-schema@0.2.3 node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/json-schema
- verror@1.3.6 node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/verror
- jsprim@1.3.1 node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/jsprim
- asn1@0.2.3 node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/asn1
- assert-plus@1.0.0 node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/assert-plus
- dashdash@1.14.0 node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/dashdash
- getpass@0.1.6 node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/getpass
- jsbn@0.1.0 node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/jsbn
- ecc-jsbn@0.1.1 node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/ecc-jsbn
- jodid25519@1.0.2 node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/jodid25519
- tweetnacl@0.14.3 node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/tweetnacl
- bcrypt-pbkdf@1.0.0 node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/bcrypt-pbkdf
- sshpk@1.10.1 node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/sshpk
- http-signature@1.1.1 node_modules/npm/node_modules/request/node_modules/http-signature
- is-typedarray@1.0.0 node_modules/npm/node_modules/request/node_modules/is-typedarray
- isstream@0.1.2 node_modules/npm/node_modules/request/node_modules/isstream
- json-stringify-safe@5.0.1 node_modules/npm/node_modules/request/node_modules/json-stringify-safe
- mime-db@1.24.0 node_modules/npm/node_modules/request/node_modules/mime-types/node_modules/mime-db
- mime-types@2.1.12 node_modules/npm/node_modules/request/node_modules/mime-types
- form-data@2.0.0 node_modules/npm/node_modules/request/node_modules/form-data
- node-uuid@1.4.7 node_modules/npm/node_modules/request/node_modules/node-uuid
- oauth-sign@0.8.2 node_modules/npm/node_modules/request/node_modules/oauth-sign
- qs@6.2.1 node_modules/npm/node_modules/request/node_modules/qs
- stringstream@0.0.5 node_modules/npm/node_modules/request/node_modules/stringstream
- tough-cookie@2.3.1 node_modules/npm/node_modules/request/node_modules/tough-cookie
- tunnel-agent@0.4.3 node_modules/npm/node_modules/request/node_modules/tunnel-agent
- block-stream@0.0.8 node_modules/npm/node_modules/tar/node_modules/block-stream
- unique-slug@2.0.0 node_modules/npm/node_modules/unique-filename/node_modules/unique-slug
- spdx-license-ids@1.2.0 node_modules/npm/node_modules/validate-npm-package-license/node_modules/spdx-correct/node_modules/spdx-license-ids
- spdx-correct@1.0.2 node_modules/npm/node_modules/validate-npm-package-license/node_modules/spdx-correct
- spdx-exceptions@1.0.4 node_modules/npm/node_modules/validate-npm-package-license/node_modules/spdx-expression-parse/node_modules/spdx-exceptions
- spdx-license-ids@1.2.0 node_modules/npm/node_modules/validate-npm-package-license/node_modules/spdx-expression-parse/node_modules/spdx-license-ids
- spdx-expression-parse@1.0.2 node_modules/npm/node_modules/validate-npm-package-license/node_modules/spdx-expression-parse
- builtins@0.0.7 node_modules/npm/node_modules/validate-npm-package-name/node_modules/builtins
- isexe@1.1.2 node_modules/npm/node_modules/which/node_modules/isexe
- fstream-npm@1.2.0 node_modules/npm/node_modules/fstream-npm
- normalize-git-url@3.0.2 node_modules/npm/node_modules/normalize-git-url
- realize-package-specifier@3.0.3 node_modules/npm/node_modules/realize-package-specifier
/Users/masashi/.nvm/versions/node/v6.12.3/lib
└─┬ npm@6.4.1 
  ├── abbrev@1.1.1 
  ├── ansicolors@0.3.2 
  ├── ansistyles@0.1.3 
  ├── aproba@1.2.0 
  ├── archy@1.0.0 
  ├── bin-links@1.1.2 
  ├── bluebird@3.5.1 
  ├── byte-size@4.0.3 
  ├─┬ cacache@11.2.0 
  │ └── y18n@4.0.0 
  ├── call-limit@1.1.0 
  ├── chownr@1.0.1 
  ├── ci-info@1.4.0 
  ├─┬ cli-columns@3.1.2 
  │ ├─┬ string-width@2.1.1 
  │ │ ├── is-fullwidth-code-point@2.0.0 
  │ │ └─┬ strip-ansi@4.0.0 
  │ │   └── ansi-regex@3.0.0 
  │ └─┬ strip-ansi@3.0.1
  │   └── ansi-regex@2.1.1 
  ├─┬ cli-table3@0.5.0 
  │ ├── colors@1.1.2 
  │ └── object-assign@4.1.1 
  ├── cmd-shim@2.0.2 
  ├─┬ columnify@1.5.4 
  │ └─┬ wcwidth@1.0.1 
  │   └─┬ defaults@1.0.3 
  │     └── clone@1.0.4 
  ├─┬ config-chain@1.1.11 
  │ └── proto-list@1.2.4 
  ├── debuglog@1.0.1 
  ├── detect-indent@5.0.0 
  ├── detect-newline@2.1.0 
  ├─┬ dezalgo@1.0.3 
  │ ├── asap@2.0.6 
  │ └── wrappy@1.0.2 
  ├── editor@1.0.0 
  ├── figgy-pudding@3.4.1 
  ├── find-npm-prefix@1.0.2 
  ├── fs-vacuum@1.2.10 
  ├─┬ fs-write-stream-atomic@1.0.10 
  │ └── iferr@0.1.5 
  ├─┬ gentle-fs@2.0.1 
  │ └── iferr@0.1.5 
  ├─┬ glob@7.1.2 
  │ ├── fs.realpath@1.0.0 
  │ ├─┬ minimatch@3.0.4 
  │ │ └─┬ brace-expansion@1.1.11 
  │ │   ├── balanced-match@1.0.0 
  │ │   └── concat-map@0.0.1 
  │ └── path-is-absolute@1.0.1 
  ├── graceful-fs@4.1.11 
  ├── has-unicode@2.0.1 
  ├── hosted-git-info@2.7.1 
  ├── iferr@1.0.2 
  ├── imurmurhash@0.1.4 
  ├── inflight@1.0.6 
  ├── inherits@2.0.3 
  ├── ini@1.3.5 
  ├─┬ init-package-json@1.10.3 
  │ └── promzard@0.3.0 
  ├─┬ is-cidr@2.0.6 
  │ └─┬ cidr-regex@2.0.9 
  │   └── ip-regex@2.1.0 
  ├── json-parse-better-errors@1.0.2 
  ├─┬ JSONStream@1.3.4 
  │ ├── jsonparse@1.3.1 
  │ └── through@2.3.8 
  ├── lazy-property@1.0.0 
  ├─┬ libcipm@2.0.2 
  │ ├── npm-logical-tree@1.2.1 
  │ └─┬ protoduck@5.0.0 
  │   └── genfun@4.0.1 
  ├─┬ libnpmhook@4.0.1 
  │ └── npm-registry-fetch@3.1.1 
  ├─┬ libnpx@10.2.0 
  │ ├── dotenv@5.0.1 
  │ └─┬ yargs@11.0.0 
  │   ├─┬ cliui@4.1.0 
  │   │ ├─┬ strip-ansi@4.0.0 
  │   │ │ └── ansi-regex@3.0.0 
  │   │ └─┬ wrap-ansi@2.1.0 
  │   │   └── string-width@1.0.2 
  │   ├── decamelize@1.2.0 
  │   ├─┬ find-up@2.1.0 
  │   │ └─┬ locate-path@2.0.0 
  │   │   ├─┬ p-locate@2.0.0 
  │   │   │ └─┬ p-limit@1.2.0 
  │   │   │   └── p-try@1.0.0 
  │   │   └── path-exists@3.0.0 
  │   ├── get-caller-file@1.0.2 
  │   ├─┬ os-locale@2.1.0 
  │   │ ├─┬ execa@0.7.0 
  │   │ │ ├─┬ cross-spawn@5.1.0 
  │   │ │ │ └─┬ shebang-command@1.2.0 
  │   │ │ │   └── shebang-regex@1.0.0 
  │   │ │ ├── is-stream@1.1.0 
  │   │ │ ├─┬ npm-run-path@2.0.2 
  │   │ │ │ └── path-key@2.0.1 
  │   │ │ ├── p-finally@1.0.0 
  │   │ │ └── strip-eof@1.0.0 
  │   │ ├─┬ lcid@1.0.0 
  │   │ │ └── invert-kv@1.0.0 
  │   │ └─┬ mem@1.1.0 
  │   │   └── mimic-fn@1.2.0 
  │   ├── require-directory@2.1.1 
  │   ├── require-main-filename@1.0.1 
  │   ├── which-module@2.0.0 
  │   ├── y18n@3.2.1 
  │   └── yargs-parser@9.0.2 
  ├── lock-verify@2.0.2 
  ├─┬ lockfile@1.0.4 
  │ └── signal-exit@3.0.2 
  ├── lodash._baseindexof@3.1.0 
  ├─┬ lodash._baseuniq@4.6.0 
  │ ├── lodash._createset@4.0.3 
  │ └── lodash._root@3.0.1 
  ├── lodash._bindcallback@3.0.1 
  ├── lodash._cacheindexof@3.0.2 
  ├── lodash._createcache@3.1.2 
  ├── lodash._getnative@3.9.1 
  ├── lodash.clonedeep@4.5.0 
  ├── lodash.restparam@3.6.1 
  ├── lodash.union@4.6.0 
  ├── lodash.uniq@4.5.0 
  ├── lodash.without@4.4.0 
  ├─┬ lru-cache@4.1.3 
  │ ├── pseudomap@1.0.2 
  │ └── yallist@2.1.2 
  ├── meant@1.0.1 
  ├─┬ mississippi@3.0.0 
  │ ├─┬ concat-stream@1.6.2 
  │ │ ├── buffer-from@1.0.0 
  │ │ └── typedarray@0.0.6 
  │ ├─┬ duplexify@3.6.0 
  │ │ └── stream-shift@1.0.0 
  │ ├── end-of-stream@1.4.1 
  │ ├── flush-write-stream@1.0.3 
  │ ├── from2@2.3.0 
  │ ├─┬ parallel-transform@1.1.0 
  │ │ └── cyclist@0.2.2 
  │ ├── pump@3.0.0 
  │ ├─┬ pumpify@1.5.1 
  │ │ └── pump@2.0.1 
  │ ├── stream-each@1.2.2 
  │ └─┬ through2@2.0.3 
  │   └── xtend@4.0.1 
  ├─┬ mkdirp@0.5.1 
  │ └── minimist@0.0.8 
  ├─┬ move-concurrently@1.0.1 
  │ ├─┬ copy-concurrently@1.0.5 
  │ │ └── iferr@0.1.5 
  │ └── run-queue@1.0.3 
  ├─┬ node-gyp@3.8.0 
  │ ├── fstream@1.0.11 
  │ ├── nopt@3.0.6 
  │ ├── semver@5.3.0 
  │ └─┬ tar@2.2.1 
  │   └── block-stream@0.0.9 
  ├── nopt@4.0.1 
  ├─┬ normalize-package-data@2.4.0 
  │ └─┬ is-builtin-module@1.0.0 
  │   └── builtin-modules@1.1.1 
  ├─┬ npm-audit-report@1.3.1 
  │ └── console-control-strings@1.1.0 
  ├── npm-cache-filename@1.0.2 
  ├── npm-install-checks@3.0.0 
  ├─┬ npm-lifecycle@2.1.0 
  │ ├── byline@5.0.0 
  │ └── resolve-from@4.0.0 
  ├── npm-package-arg@6.1.0 
  ├─┬ npm-packlist@1.1.11 
  │ ├── ignore-walk@3.0.1 
  │ └── npm-bundled@1.0.5 
  ├── npm-pick-manifest@2.1.0 
  ├─┬ npm-profile@3.0.2 
  │ └─┬ make-fetch-happen@4.0.1 
  │   ├─┬ agentkeepalive@3.4.1 
  │   │ └─┬ humanize-ms@1.2.1 
  │   │   └── ms@2.1.1 
  │   ├── http-cache-semantics@3.8.1 
  │   ├─┬ http-proxy-agent@2.1.0 
  │   │ ├─┬ agent-base@4.2.0 
  │   │ │ └─┬ es6-promisify@5.0.0 
  │   │ │   └── es6-promise@4.2.4 
  │   │ └─┬ debug@3.1.0 
  │   │   └── ms@2.0.0 
  │   ├── https-proxy-agent@2.2.1 
  │   ├─┬ node-fetch-npm@2.0.2 
  │   │ └─┬ encoding@0.1.12 
  │   │   └── iconv-lite@0.4.23 
  │   └─┬ socks-proxy-agent@4.0.1 
  │     └─┬ socks@2.2.0 
  │       ├── ip@1.1.5 
  │       └── smart-buffer@4.0.1 
  ├─┬ npm-registry-client@8.6.0 
  │ ├── retry@0.10.1 
  │ └── ssri@5.3.0 
  ├─┬ npm-registry-fetch@1.1.0 
  │ ├── figgy-pudding@2.0.1 
  │ └─┬ make-fetch-happen@3.0.0 
  │   ├─┬ cacache@10.0.4 
  │   │ └─┬ mississippi@2.0.0 
  │   │   └── pump@2.0.1 
  │   ├─┬ socks-proxy-agent@3.0.1 
  │   │ └─┬ socks@1.1.10 
  │   │   └── smart-buffer@1.1.15 
  │   └── ssri@5.3.0 
  ├── npm-user-validate@1.0.0 
  ├─┬ npmlog@4.1.2 
  │ ├─┬ are-we-there-yet@1.1.4 
  │ │ └── delegates@1.0.0 
  │ ├─┬ gauge@2.7.4 
  │ │ ├─┬ string-width@1.0.2 
  │ │ │ ├── code-point-at@1.1.0 
  │ │ │ └─┬ is-fullwidth-code-point@1.0.0 
  │ │ │   └── number-is-nan@1.0.1 
  │ │ └─┬ wide-align@1.1.2 
  │ │   └── string-width@1.0.2 
  │ └── set-blocking@2.0.0 
  ├── once@1.4.0 
  ├── opener@1.5.0 
  ├─┬ osenv@0.1.5 
  │ ├── os-homedir@1.0.2 
  │ └── os-tmpdir@1.0.2 
  ├─┬ pacote@8.1.6 
  │ ├── get-stream@3.0.0 
  │ ├─┬ minipass@2.3.3 
  │ │ └── yallist@3.0.2 
  │ └─┬ promise-retry@1.1.1 
  │   ├── err-code@1.1.2 
  │   └── retry@0.10.1 
  ├── path-is-inside@1.0.2 
  ├── promise-inflight@1.0.1 
  ├── qrcode-terminal@0.12.0 
  ├─┬ query-string@6.1.0 
  │ ├── decode-uri-component@0.2.0 
  │ └── strict-uri-encode@2.0.0 
  ├── qw@1.0.1 
  ├─┬ read@1.0.7 
  │ └── mute-stream@0.0.7 
  ├── read-cmd-shim@1.0.1 
  ├─┬ read-installed@4.0.3 
  │ └── util-extend@1.0.3 
  ├─┬ read-package-json@2.0.13 
  │ └── slash@1.0.0 
  ├── read-package-tree@5.2.1 
  ├─┬ readable-stream@2.3.6 
  │ ├── core-util-is@1.0.2 
  │ ├── isarray@1.0.0 
  │ ├── process-nextick-args@2.0.0 
  │ ├── string_decoder@1.1.1 
  │ └── util-deprecate@1.0.2 
  ├── readdir-scoped-modules@1.0.2 
  ├─┬ request@2.88.0 
  │ ├── aws-sign2@0.7.0 
  │ ├── aws4@1.8.0 
  │ ├── caseless@0.12.0 
  │ ├─┬ combined-stream@1.0.6 
  │ │ └── delayed-stream@1.0.0 
  │ ├── extend@3.0.2 
  │ ├── forever-agent@0.6.1 
  │ ├─┬ form-data@2.3.2 
  │ │ └── asynckit@0.4.0 
  │ ├─┬ har-validator@5.1.0 
  │ │ ├─┬ ajv@5.5.2 
  │ │ │ ├── co@4.6.0 
  │ │ │ ├── fast-deep-equal@1.1.0 
  │ │ │ ├── fast-json-stable-stringify@2.0.0 
  │ │ │ └── json-schema-traverse@0.3.1 
  │ │ └── har-schema@2.0.0 
  │ ├─┬ http-signature@1.2.0 
  │ │ ├── assert-plus@1.0.0 
  │ │ ├─┬ jsprim@1.4.1 
  │ │ │ ├── extsprintf@1.3.0 
  │ │ │ ├── json-schema@0.2.3 
  │ │ │ └── verror@1.10.0 
  │ │ └─┬ sshpk@1.14.2 
  │ │   ├── asn1@0.2.4 
  │ │   ├── bcrypt-pbkdf@1.0.2 
  │ │   ├── dashdash@1.14.1 
  │ │   ├── ecc-jsbn@0.1.2 
  │ │   ├── getpass@0.1.7 
  │ │   ├── jsbn@0.1.1 
  │ │   ├── safer-buffer@2.1.2 
  │ │   └── tweetnacl@0.14.5 
  │ ├── is-typedarray@1.0.0 
  │ ├── isstream@0.1.2 
  │ ├── json-stringify-safe@5.0.1 
  │ ├─┬ mime-types@2.1.19 
  │ │ └── mime-db@1.35.0 
  │ ├── oauth-sign@0.9.0 
  │ ├── performance-now@2.1.0 
  │ ├── qs@6.5.2 
  │ ├─┬ tough-cookie@2.4.3 
  │ │ ├── psl@1.1.29 
  │ │ └── punycode@1.4.1 
  │ └── tunnel-agent@0.6.0 
  ├── retry@0.12.0 
  ├── rimraf@2.6.2 
  ├── safe-buffer@5.1.2 
  ├── semver@5.5.0 
  ├── sha@2.0.1 
  ├── slide@1.1.6 
  ├── sorted-object@2.0.1 
  ├─┬ sorted-union-stream@2.1.3 
  │ ├─┬ from2@1.3.0 
  │ │ └─┬ readable-stream@1.1.14 
  │ │   ├── isarray@0.0.1 
  │ │   └── string_decoder@0.10.31 
  │ └── stream-iterate@1.2.0 
  ├── ssri@6.0.0 
  ├── stringify-package@1.0.0 
  ├─┬ tar@4.4.6 
  │ ├── fs-minipass@1.2.5 
  │ ├── minizlib@1.1.0 
  │ └── yallist@3.0.2 
  ├── text-table@0.2.0 
  ├── tiny-relative-date@1.3.0 
  ├── uid-number@0.0.6 
  ├── umask@1.1.0 
  ├─┬ unique-filename@1.1.0 
  │ └── unique-slug@2.0.0 
  ├── unpipe@1.0.0 
  ├─┬ update-notifier@2.5.0 
  │ ├─┬ boxen@1.3.0 
  │ │ ├── ansi-align@2.0.0 
  │ │ ├── camelcase@4.1.0 
  │ │ ├── cli-boxes@1.0.0 
  │ │ ├── term-size@1.2.0 
  │ │ └── widest-line@2.0.0 
  │ ├─┬ chalk@2.4.1 
  │ │ ├─┬ ansi-styles@3.2.1 
  │ │ │ └─┬ color-convert@1.9.1 
  │ │ │   └── color-name@1.1.3 
  │ │ ├── escape-string-regexp@1.0.5 
  │ │ └─┬ supports-color@5.4.0 
  │ │   └── has-flag@3.0.0 
  │ ├─┬ configstore@3.1.2 
  │ │ ├─┬ dot-prop@4.2.0 
  │ │ │ └── is-obj@1.0.1 
  │ │ ├─┬ make-dir@1.3.0 
  │ │ │ └── pify@3.0.0 
  │ │ └─┬ unique-string@1.0.0 
  │ │   └── crypto-random-string@1.0.0 
  │ ├── import-lazy@2.1.0 
  │ ├── is-ci@1.1.0 
  │ ├─┬ is-installed-globally@0.1.0 
  │ │ ├── global-dirs@0.1.1 
  │ │ └── is-path-inside@1.0.1 
  │ ├── is-npm@1.0.0 
  │ ├─┬ latest-version@3.1.0 
  │ │ └─┬ package-json@4.0.1 
  │ │   ├─┬ got@6.7.1 
  │ │   │ ├─┬ create-error-class@3.0.2 
  │ │   │ │ └── capture-stack-trace@1.0.0 
  │ │   │ ├── duplexer3@0.1.4 
  │ │   │ ├── is-redirect@1.0.0 
  │ │   │ ├── is-retry-allowed@1.1.0 
  │ │   │ ├── lowercase-keys@1.0.1 
  │ │   │ ├── timed-out@4.0.1 
  │ │   │ ├── unzip-response@2.0.1 
  │ │   │ └─┬ url-parse-lax@1.0.0 
  │ │   │   └── prepend-http@1.0.4 
  │ │   ├─┬ registry-auth-token@3.3.2 
  │ │   │ └─┬ rc@1.2.7 
  │ │   │   ├── deep-extend@0.5.1 
  │ │   │   ├── minimist@1.2.0 
  │ │   │   └── strip-json-comments@2.0.1 
  │ │   └── registry-url@3.1.0 
  │ ├── semver-diff@2.1.0 
  │ └── xdg-basedir@3.0.0 
  ├── uuid@3.3.2 
  ├─┬ validate-npm-package-license@3.0.4 
  │ ├─┬ spdx-correct@3.0.0 
  │ │ └── spdx-license-ids@3.0.0 
  │ └─┬ spdx-expression-parse@3.0.0 
  │   └── spdx-exceptions@2.1.0 
  ├─┬ validate-npm-package-name@3.0.0 
  │ └── builtins@1.0.3 
  ├─┬ which@1.3.1 
  │ └── isexe@2.0.0 
  ├─┬ worker-farm@1.6.0 
  │ └─┬ errno@0.1.7 
  │   └── prr@1.0.1 
  └── write-file-atomic@2.3.0 

masashi-macgms:vsd242 masashi$ npm -v
6.4.1
masashi-macgms:vsd242 masashi$ npm -g install cordova@7.1.0
npm WARN deprecated hoek@2.16.3: The major version is no longer supported. Please update to 4.x or newer
npm WARN deprecated node-uuid@1.4.8: Use uuid module instead
/Users/masashi/.nvm/versions/node/v6.12.3/bin/cordova -> /Users/masashi/.nvm/versions/node/v6.12.3/lib/node_modules/cordova/bin/cordova
+ cordova@7.1.0
added 628 packages from 795 contributors in 36.307s
masashi-macgms:vsd242 masashi$ npm -g install @ionic/cli-utils@1.19.2

> fsevents@1.2.4 install /Users/masashi/.nvm/versions/node/v6.12.3/lib/node_modules/@ionic/cli-utils/node_modules/fsevents
> node install

[fsevents] Success: "/Users/masashi/.nvm/versions/node/v6.12.3/lib/node_modules/@ionic/cli-utils/node_modules/fsevents/lib/binding/Release/node-v48-darwin-x64/fse.node" already installed
Pass --update-binary to reinstall or --build-from-source to recompile
+ @ionic/cli-utils@1.19.2
added 465 packages from 253 contributors in 25.452s
masashi-macgms:vsd242 masashi$ npm -g install ionic@3.20.0
/Users/masashi/.nvm/versions/node/v6.12.3/bin/ionic -> /Users/masashi/.nvm/versions/node/v6.12.3/lib/node_modules/ionic/bin/ionic

> fsevents@1.2.4 install /Users/masashi/.nvm/versions/node/v6.12.3/lib/node_modules/ionic/node_modules/fsevents
> node install

[fsevents] Success: "/Users/masashi/.nvm/versions/node/v6.12.3/lib/node_modules/ionic/node_modules/fsevents/lib/binding/Release/node-v48-darwin-x64/fse.node" already installed
Pass --update-binary to reinstall or --build-from-source to recompile
+ ionic@3.20.0
added 466 packages from 253 contributors in 18.177s
masashi-macgms:test masashi$ ionic -v
3.20.0
masashi-macgms:test masashi$ ionic info

? The Ionic CLI has an update available (3.20.0 => 4.1.2)! Would you like to ins
tall it? No
Not automatically updating your CLI.
[WARN] You are not in an Ionic project directory. Project context may be 
       missing.

cli packages: (/Users/masashi/.nvm/versions/node/v6.12.3/lib/node_modules)

    @ionic/cli-utils  : 1.19.2
    ionic (Ionic CLI) : 3.20.0

System:

    Node : v6.12.3
    npm  : 6.4.1 
    OS   : macOS High Sierra

Misc:

    backend : pro

masashi-macgms:test masashi$ ionic start

? What would you like to name your project: testApp

? What starter would you like to use: blank
✔ Creating directory ./testApp - done!
✔ Downloading and extracting blank starter - done!

? Would you like to integrate your new app with Cordova to target native iOS and
 Android? Yes
✔ Personalizing ionic.config.json and package.json - done!
> ionic integrations enable cordova --quiet
✔ Downloading integration cordova - done!
✔ Copying integrations files to project - done!
[OK] Added cordova integration!

Installing dependencies may take several minutes.

  ✨   IONIC  DEVAPP  ✨

 Speed up development with the Ionic DevApp, our fast, on-device testing mobile app

  -  🔑   Test on iOS and Android without Native SDKs
  -  🚀   LiveReload for instant style and JS updates

 ️-->    Install DevApp: https://bit.ly/ionic-dev-app    <--

> npm i
✔ Running command - done!
> git init

  🔥   IONIC  PRO  🔥

 Supercharge your Ionic development with the Ionic Pro SDK

  -  ⚠️   Track runtime errors in real-time, back to your original TypeScript
  -  📲   Push remote updates and skip the app store queue

Learn more about Ionic Pro: https://ionicframework.com/products

? Install the free Ionic Pro SDK and connect your app? No

-----------------------------------

> git add -A
> git commit -m "Initial commit" --no-gpg-sign

Next Steps:
* Go to your newly created project: cd ./testApp
* Get Ionic DevApp for easy device testing: https://bit.ly/ionic-dev-app

masashi-macgms:test masashi$ cd testApp/
masashi-macgms:testApp masashi$ ionic cordova platform add ios
✔ Creating ./www directory for you - done!
> cordova platform add ios --save
Using cordova-fetch for cordova-ios@~4.5.1

Adding ios project...

Creating Cordova project for the iOS platform:

    Path: platforms/ios

    Package: io.ionic.starter

    Name: testApp
iOS project created with cordova-ios@4.5.5

Discovered plugin "cordova-plugin-whitelist" in config.xml. Adding it to the project

Installing "cordova-plugin-whitelist" for ios

Adding cordova-plugin-whitelist to package.json

Saved plugin info for "cordova-plugin-whitelist" to config.xml

Discovered plugin "cordova-plugin-statusbar" in config.xml. Adding it to the project

Installing "cordova-plugin-statusbar" for ios

Adding cordova-plugin-statusbar to package.json

Saved plugin info for "cordova-plugin-statusbar" to config.xml
Discovered plugin "cordova-plugin-device" in config.xml. Adding it to the project
Installing "cordova-plugin-device" for ios

Adding cordova-plugin-device to package.json

Saved plugin info for "cordova-plugin-device" to config.xml
Discovered plugin "cordova-plugin-splashscreen" in config.xml. Adding it to the project
Installing "cordova-plugin-splashscreen" for ios

Adding cordova-plugin-splashscreen to package.json

Saved plugin info for "cordova-plugin-splashscreen" to config.xml

Discovered plugin "cordova-plugin-ionic-webview" in config.xml. Adding it to the project

Installing "cordova-plugin-ionic-webview" for ios
Adding cordova-plugin-ionic-webview to package.json

Saved plugin info for "cordova-plugin-ionic-webview" to config.xml

Discovered plugin "cordova-plugin-ionic-keyboard" in config.xml. Adding it to the project

Installing "cordova-plugin-ionic-keyboard" for ios

Adding cordova-plugin-ionic-keyboard to package.json

Saved plugin info for "cordova-plugin-ionic-keyboard" to config.xml

--save flag or autosave detected

Saving ios@~4.5.5 into config.xml file ...

masashi-macgms:testApp masashi$ ionic cordova plugin add cordova-plugin-googlemaps --variable API_KEY_FOR_IOS="hoge"
> cordova plugin add cordova-plugin-googlemaps --variable API_KEY_FOR_IOS=hoge --save
Installing "cordova-plugin-googlemaps" for ios

Installing "com.googlemaps.ios" for ios

      Official document https://github.com/mapsplugin/cordova-plugin-googlemaps-doc/blob/master/v2.3.0/README.md Please consider to buy a beer for us 🍺 https://github.com/mapsplugin/cordova-plugin-googlemaps#buy-us-a-beer

Adding cordova-plugin-googlemaps to package.json

Saved plugin info for "cordova-plugin-googlemaps" to config.xml

masashi-macgms:testApp masashi$ ionic info

cli packages: (/Users/masashi/.nvm/versions/node/v6.12.3/lib/node_modules)

    @ionic/cli-utils  : 1.19.2
    ionic (Ionic CLI) : 3.20.0

global packages:

    cordova (Cordova CLI) : 7.1.0 

local packages:

    @ionic/app-scripts : 3.2.0
    Cordova Platforms  : ios 4.5.5
    Ionic Framework    : ionic-angular 3.9.2

System:

    Android SDK Tools : 26.1.1
    Node              : v6.12.3
    npm               : 6.4.1 
    OS                : macOS High Sierra
    Xcode             : Xcode 10.0 Build version 10A255 

Environment Variables:

    ANDROID_HOME : /android-sdk

Misc:

    backend : pro

masashi-macgms:testApp masashi$ cordova plugin list
com.googlemaps.ios 2.7.0 "Google Maps SDK for iOS"
cordova-plugin-device 2.0.2 "Device"
cordova-plugin-googlemaps 2.4.4 "cordova-plugin-googlemaps"
cordova-plugin-ionic-keyboard 2.1.2 "cordova-plugin-ionic-keyboard"
cordova-plugin-ionic-webview 2.1.4 "cordova-plugin-ionic-webview"
cordova-plugin-splashscreen 5.0.2 "Splashscreen"
cordova-plugin-statusbar 2.4.2 "StatusBar"
cordova-plugin-whitelist 1.3.3 "Whitelist"
masashi-macgms:testApp masashi$ 
madoBaker commented 6 years ago

Getting same issue here, seem to have happened when i update my ionic cli from 3.x to 4.x... reverting back to 3.x doesnt seem to help

wf9a5m75 commented 6 years ago

ionic cordova plugin add https://github.com/mapsplugin/cordova-plugin-googlemaps-sdk.git

fishgrind commented 6 years ago

having the same problems only on iOS

battika commented 6 years ago

having the same problems only on iOS

It is only on IOS as cordova-plugin-googlemaps-sdk is only used for IOS

battika commented 6 years ago

Getting same issue here, seem to have happened when i update my ionic cli from 3.x to 4.x... reverting back to 3.x doesnt seem to help

I never updated my CLI but still getting the issue

wf9a5m75 commented 6 years ago

Please show me the package.json

LBanfalvi commented 6 years ago

I have the same issue

wf9a5m75 commented 6 years ago

I said Please show me the package.json.

battika commented 6 years ago

My package.json is the following - basically an Ionic blank project + this plugin:

{
  "name": "testgmaps",
  "version": "0.0.1",
  "author": "Ionic Framework",
  "homepage": "http://ionicframework.com/",
  "private": true,
  "scripts": {
    "start": "ionic-app-scripts serve",
    "clean": "ionic-app-scripts clean",
    "build": "ionic-app-scripts build",
    "lint": "ionic-app-scripts lint"
  },
  "dependencies": {
    "@angular/animations": "5.2.11",
    "@angular/common": "5.2.11",
    "@angular/compiler": "5.2.11",
    "@angular/compiler-cli": "5.2.11",
    "@angular/core": "5.2.11",
    "@angular/forms": "5.2.11",
    "@angular/http": "5.2.11",
    "@angular/platform-browser": "5.2.11",
    "@angular/platform-browser-dynamic": "5.2.11",
    "@ionic-native/core": "~4.12.0",
    "@ionic-native/splash-screen": "~4.12.0",
    "@ionic-native/status-bar": "~4.12.0",
    "@ionic/storage": "2.1.3",
    "cordova-ios": "4.5.5",
    "cordova-plugin-device": "^2.0.2",
    "cordova-plugin-googlemaps": "^2.4.4",
    "cordova-plugin-googlemaps-sdk": "https://github.com/mapsplugin/cordova-plugin-googlemaps-sdk/tarball/2.7.0",
    "cordova-plugin-ionic-keyboard": "^2.1.2",
    "cordova-plugin-ionic-webview": "^2.1.4",
    "cordova-plugin-splashscreen": "^5.0.2",
    "cordova-plugin-statusbar": "^2.4.2",
    "cordova-plugin-whitelist": "^1.3.3",
    "ionic-angular": "3.9.2",
    "ionicons": "3.0.0",
    "rxjs": "5.5.11",
    "sw-toolbox": "3.6.0",
    "zone.js": "0.8.26"
  },
  "devDependencies": {
    "@ionic/app-scripts": "3.2.0",
    "typescript": "~2.6.2"
  },
  "description": "An Ionic project",
  "cordova": {
    "plugins": {
      "cordova-plugin-whitelist": {},
      "cordova-plugin-statusbar": {},
      "cordova-plugin-device": {},
      "cordova-plugin-splashscreen": {},
      "cordova-plugin-ionic-webview": {},
      "cordova-plugin-ionic-keyboard": {},
      "cordova-plugin-googlemaps": {
        "API_KEY_FOR_ANDROID": "WontTellYou",
        "API_KEY_FOR_IOS": "ThisNeither",
        "PLAY_SERVICES_VERSION": "15.0.1",
        "ANDROID_SUPPORT_V4_VERSION": "27.1.1",
        "LOCATION_WHEN_IN_USE_DESCRIPTION": "This app wants to get your location while this app runs only.",
        "LOCATION_ALWAYS_USAGE_DESCRIPTION": "This app wants to get your location always, even this app runs in background."
      }
    },
    "platforms": [
      "ios"
    ]
  }
}
fishgrind commented 6 years ago

this is my package.json:

{
  "name": "xxx",
  "author": "xxx",
  "homepage": "http://www.xxx.xx",
  "private": true,
  "scripts": {
    "clean": "ionic-app-scripts clean",
    "build": "ionic-app-scripts build",
    "lint": "ionic-app-scripts lint",
    "ionic:build": "ionic-app-scripts build",
    "ionic:serve": "ionic-app-scripts serve"
  },
  "config": {
    "ionic_source_map_type": "source-map",
    "ionic_copy": "./config/copy.config.js",
    "ionic_sass": "./config/sass.config.js",
    "ionic_generate_source_map": "true"
  },
  "dependencies": {
    "@angular/common": "5.0.0",
    "@angular/compiler": "5.0.0",
    "@angular/compiler-cli": "5.0.0",
    "@angular/core": "5.0.0",
    "@angular/forms": "5.0.0",
    "@angular/http": "5.0.0",
    "@angular/platform-browser": "5.0.0",
    "@angular/platform-browser-dynamic": "5.0.0",
    "@ionic-native/app-availability": "4.7.0",
    "@ionic-native/app-version": "4.7.0",
    "@ionic-native/browser-tab": "4.7.0",
    "@ionic-native/camera": "4.7.0",
    "@ionic-native/core": "4.7.0",
    "@ionic-native/diagnostic": "4.7.0",
    "@ionic-native/facebook": "^4.7.0",
    "@ionic-native/geolocation": "4.7.0",
    "@ionic-native/google-analytics": "4.7.0",
    "@ionic-native/google-maps": "4.7.0",
    "@ionic-native/in-app-browser": "4.7.0",
    "@ionic-native/is-debug": "4.7.0",
    "@ionic-native/keyboard": "^4.9.2",
    "@ionic-native/native-geocoder": "4.7.0",
    "@ionic-native/onesignal": "4.7.0",
    "@ionic-native/screen-orientation": "^4.9.2",
    "@ionic-native/social-sharing": "4.7.0",
    "@ionic-native/splash-screen": "4.7.0",
    "@ionic-native/status-bar": "4.7.0",
    "@ionic-native/vibration": "4.7.0",
    "@ionic/storage": "2.1.3",
    "android-versions": "^1.3.0",
    "angular-svg-round-progressbar": "^1.2.1",
    "chart.js": "^2.7.2",
    "cordova-android": "7.1.1",
    "cordova-build-increment": "^0.1.0",
    "cordova-facebook-audnet-sdk": "^4.26.2",
    "cordova-ios": "4.5.4",
    "cordova-plugin-add-swift-support": "^1.7.2",
    "cordova-plugin-app-version": "^0.1.9",
    "cordova-plugin-appavailability": "^0.4.2",
    "cordova-plugin-browsertab": "^0.2.0",
    "cordova-plugin-camera": "^4.0.3",
    "cordova-plugin-compat": "^1.2.0",
    "cordova-plugin-device": "^2.0.2",
    "cordova-plugin-extension": "^1.5.4",
    "cordova-plugin-facebook4": "^2.4.0",
    "cordova-plugin-geolocation": "^4.0.1",
    "cordova-plugin-google-analytics": "^1.8.6",
    "cordova-plugin-googlemaps": "^2.4.2",
    "cordova-plugin-googlemaps-sdk": "git+https://github.com/mapsplugin/cordova-plugin-googlemaps-sdk.git#2.6.0",
    "cordova-plugin-inappbrowser": "^3.0.0",
    "cordova-plugin-ionic-keyboard": "^2.1.2",
    "cordova-plugin-ionic-webview": "^2.1.3",
    "cordova-plugin-is-debug": "^1.0.0",
    "cordova-plugin-nativegeocoder": "^3.1.2",
    "cordova-plugin-screen-orientation": "^3.0.1",
    "cordova-plugin-splashscreen": "^5.0.2",
    "cordova-plugin-vibration": "^3.1.0",
    "cordova-plugin-whitelist": "^1.3.3",
    "cordova-plugin-x-socialsharing": "^5.4.1",
    "cordova-sqlite-storage": "^2.4.0",
    "cordova.plugins.diagnostic": "^4.0.10",
    "es6-promise-plugin": "^4.2.2",
    "font-awesome": "^4.7.0",
    "ionic-angular": "^3.9.2",
    "ionic2-rating": "0.0.12",
    "ionicons": "3.0.0",
    "minimist": "^1.2.0",
    "moment": "^2.22.2",
    "moment-timezone": "^0.5.21",
    "ng-lazyload-image": "^3.4.2",
    "onesignal-cordova-plugin": "^2.4.3",
    "rxjs": "5.5.2",
    "stacktrace-js": "^2.0.0",
    "sw-toolbox": "3.6.0",
    "weathericons": "^2.1.0",
    "zone.js": "0.8.18"
  },
  "devDependencies": {
    "@ionic/app-scripts": "3.2.0",
    "@types/moment-timezone": "^0.2.32",
    "typescript": "2.4.2"
  },
  "description": "xxx app",
  "cordovaPlugins": [
    "cordova-plugin-device",
    "cordova-plugin-whitelist",
    "cordova-plugin-app-version",
    "cordova-plugin-camera",
    {
      "id": "cordova-plugin-facebook4",
      "locator": "cordova-plugin-facebook4",
      "variables": {
        "APP_ID": "xxx",
        "APP_NAME": "xxx"
      }
    },
    "cordova-plugin-geolocation",
    "cordova-plugin-themeablebrowser",
    "cordova-plugin-is-debug",
    "cordova.plugins.diagnostic",
    "cordova-plugin-nativegeocoder",
    "cordova-plugin-add-swift-support",
    "cordova-plugin-network-information",
    "cordova-plugin-splashscreen",
    "onesignal-cordova-plugin"
  ],
  "cordovaPlatforms": [
    {
      "platform": "android",
      "version": "",
      "locator": "android"
    },
    {
      "platform": "ios",
      "version": "",
      "locator": "ios"
    }
  ],
  "cordova": {
    "platforms": [
      "ios",
      "android"
    ],
    "plugins": {
      "cordova-plugin-app-version": {},
      "cordova-plugin-is-debug": {},
      "cordova-plugin-whitelist": {},
      "cordova-plugin-screen-orientation": {},
      "cordova-plugin-browsertab": {
        "CUSTOM_TAB_COLOR_RGB": "#E91E63"
      },
      "cordova-plugin-appavailability": {},
      "cordova-plugin-vibration": {},
      "cordova-plugin-camera": {},
      "cordova-plugin-inappbrowser": {},
      "cordova-plugin-splashscreen": {},
      "cordova-plugin-geolocation": {},
      "cordova-plugin-device": {},
      "cordova-plugin-ionic-keyboard": {},
      "cordova.plugins.diagnostic": {},
      "cordova-plugin-nativegeocoder": {
        "LOCATION_WHEN_IN_USE_DESCRIPTION": "xxx"
      },
      "cordova-plugin-google-analytics": {
        "GMS_VERSION": "11.0.1"
      },
      "cordova-plugin-x-socialsharing": {},
      "cordova-sqlite-storage": {},
      "onesignal-cordova-plugin": {},
      "cordova-plugin-ionic-webview": {},
      "cordova-plugin-googlemaps": {
        "API_KEY_FOR_ANDROID": "xxx",
        "API_KEY_FOR_IOS": "xxx",
        "PLAY_SERVICES_VERSION": "15.0.1",
        "ANDROID_SUPPORT_V4_VERSION": "27.1.1",
        "LOCATION_WHEN_IN_USE_DESCRIPTION": "xxx",
        "LOCATION_ALWAYS_USAGE_DESCRIPTION": "xxx"
      }
    }
  }
}
wf9a5m75 commented 6 years ago

@fishgrind @battika Thanks, guys.

wf9a5m75 commented 6 years ago

Um, I wonder :confused: why you guys can not install it correctly.

According the @battika installation log, cordova or npm try to install tarball as git. I think the bug of one of them.

The purpose of tarball is to reduce the installation time. Previos way <dependency id="com.googlemaps.ios" url="https://github.com/mapsplugin/cordova-plugin-googlemaps-sdk.git#2.7.0"/> causes git clone https://github.com/mapsplugin/cordova-plugin-googlemaps-sdk.git However this causes git command communicates with the github multiple times (because multiple files).

The other hands, the new way , Github generatestarball` which is just one file. Thus, http communication is only one time. That's why I choose this.

battika commented 6 years ago

Thanks @wf9a5m75 for the explanation it actually makes lot of sense.

The funny thing is it started working for me out of the blue. I was trying to remove/reinstall the plugin and for some reason it installed correctly. I did not make any changes so I switched to another project where it failed before too and attempted to install the plugin. It was successful too. Finally, I created a new project with Ionic, added the IOS platform and this plugin. It worked fine. So, I suppose it was an intermittent issue for me and it works now. I hope rest of the guys can confirm.

On an aside note you can still consider switching back to the old git clone way if the tarball version does not prove to be rock solid on the long run.

Thank you for the attention and dealing with this issue promptly.

wf9a5m75 commented 6 years ago

Congrats, @battika

Another reason of switching new way is pull request https://github.com/mapsplugin/cordova-plugin-googlemaps/pull/2425.

This PR requested github: protocol instead of https:, because pnpm does not work with old one. However github: works as git clone. That's why I haven't chosen it.

Alternatively, cordova supports cocoapod installation. I consider to switch this way since two years ago, but pod install does not work sometimes because of install environment, such as pod command is too old.

fishgrind commented 6 years ago

@wf9a5m75 Your explanation got me thinking and I replaced Apple Git with Homebrew Git, removed platforms and plugins folder and added the ios platform again and it installed without trouble.. Perhaps it was the Git version or as @battika mentioned perhaps an intermittent issue.

Thanks for all the quick support!

battika commented 6 years ago

Glad that it worked for you @fishgrind .

Thanks for all the support and I am closing this issue.

Huge thanks @wf9a5m75 for your help.

wf9a5m75 commented 6 years ago

Um, I see. Please show me the result of $> git version.

Mine is

$ git version
git version 2.12.0

If your version is older than this, try to upgrade the git command.

using home brew

$> brew upgrade git

without homebrew Install from https://git-scm.com/

fishgrind commented 6 years ago

@wf9a5m75 my git version now is 2.19.0 using homebrew

wf9a5m75 commented 6 years ago

You replaced git with homebrew. v2.19.0 is the latest version. That's fine.

fishgrind commented 6 years ago

@wf9a5m75 yes i did and after that all seemed to be fine again

battika commented 6 years ago

Mine is version 2.16.0 but will upgrade it