Created
June 9, 2014 22:46
-
-
Save timkim/0494403c0828aac745d0 to your computer and use it in GitHub Desktop.
cordova-lib error
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
timbo:tests timkim$ sudo npm install -g phonegap | |
Password: | |
npm http GET https://registry.npmjs.org/phonegap | |
npm http 200 https://registry.npmjs.org/phonegap | |
npm http GET https://registry.npmjs.org/phonegap/-/phonegap-3.5.0-0.20.3.tgz | |
npm http 200 https://registry.npmjs.org/phonegap/-/phonegap-3.5.0-0.20.3.tgz | |
npm http GET https://registry.npmjs.org/colors/0.6.0-1 | |
npm http GET https://registry.npmjs.org/cordova/3.5.0-0.2.4 | |
npm http GET https://registry.npmjs.org/connect-phonegap/0.11.0 | |
npm http GET https://registry.npmjs.org/optimist/0.6.0 | |
npm http GET https://registry.npmjs.org/phonegap-build/0.8.4 | |
npm http GET https://registry.npmjs.org/pluralize/0.0.4 | |
npm http GET https://registry.npmjs.org/prompt/0.2.11 | |
npm http GET https://registry.npmjs.org/qrcode-terminal/0.9.4 | |
npm http GET https://registry.npmjs.org/semver/1.1.0 | |
npm http GET https://registry.npmjs.org/shelljs/0.1.4 | |
npm http 200 https://registry.npmjs.org/connect-phonegap/0.11.0 | |
npm http 200 https://registry.npmjs.org/optimist/0.6.0 | |
npm http 200 https://registry.npmjs.org/phonegap-build/0.8.4 | |
npm http GET https://registry.npmjs.org/connect-phonegap/-/connect-phonegap-0.11.0.tgz | |
npm http 200 https://registry.npmjs.org/cordova/3.5.0-0.2.4 | |
npm http GET https://registry.npmjs.org/optimist/-/optimist-0.6.0.tgz | |
npm http GET https://registry.npmjs.org/phonegap-build/-/phonegap-build-0.8.4.tgz | |
npm http 200 https://registry.npmjs.org/pluralize/0.0.4 | |
npm http 200 https://registry.npmjs.org/qrcode-terminal/0.9.4 | |
npm http 200 https://registry.npmjs.org/semver/1.1.0 | |
npm http 200 https://registry.npmjs.org/prompt/0.2.11 | |
npm http 200 https://registry.npmjs.org/connect-phonegap/-/connect-phonegap-0.11.0.tgz | |
npm http 200 https://registry.npmjs.org/phonegap-build/-/phonegap-build-0.8.4.tgz | |
npm http 200 https://registry.npmjs.org/shelljs/0.1.4 | |
npm http GET https://registry.npmjs.org/cordova/-/cordova-3.5.0-0.2.4.tgz | |
npm http 200 https://registry.npmjs.org/optimist/-/optimist-0.6.0.tgz | |
npm http GET https://registry.npmjs.org/prompt/-/prompt-0.2.11.tgz | |
npm http 200 https://registry.npmjs.org/colors/0.6.0-1 | |
npm http 200 https://registry.npmjs.org/cordova/-/cordova-3.5.0-0.2.4.tgz | |
npm http GET https://registry.npmjs.org/pluralize/-/pluralize-0.0.4.tgz | |
npm http GET https://registry.npmjs.org/semver/-/semver-1.1.0.tgz | |
npm http 200 https://registry.npmjs.org/prompt/-/prompt-0.2.11.tgz | |
npm http GET https://registry.npmjs.org/shelljs/-/shelljs-0.1.4.tgz | |
npm http GET https://registry.npmjs.org/qrcode-terminal/-/qrcode-terminal-0.9.4.tgz | |
npm http 200 https://registry.npmjs.org/pluralize/-/pluralize-0.0.4.tgz | |
npm http 200 https://registry.npmjs.org/semver/-/semver-1.1.0.tgz | |
npm http 200 https://registry.npmjs.org/shelljs/-/shelljs-0.1.4.tgz | |
npm http GET https://registry.npmjs.org/colors/-/colors-0.6.0-1.tgz | |
npm http 200 https://registry.npmjs.org/qrcode-terminal/-/qrcode-terminal-0.9.4.tgz | |
npm http 200 https://registry.npmjs.org/colors/-/colors-0.6.0-1.tgz | |
npm ERR! git clone git://git.apache.org/cordova-lib.git Cloning into bare repository '/Users/timkim/.npm/_git-remotes/git-git-apache-org-cordova-lib-git-2ad6cfdb'... | |
npm ERR! git clone git://git.apache.org/cordova-lib.git fatal: unable to connect to git.apache.org: | |
npm ERR! git clone git://git.apache.org/cordova-lib.git git.apache.org[0: 192.87.106.249]: errno=Operation timed out | |
npm ERR! Error: Command failed: Cloning into bare repository '/Users/timkim/.npm/_git-remotes/git-git-apache-org-cordova-lib-git-2ad6cfdb'... | |
npm ERR! fatal: unable to connect to git.apache.org: | |
npm ERR! git.apache.org[0: 192.87.106.249]: errno=Operation timed out | |
npm ERR! | |
npm ERR! | |
npm ERR! at ChildProcess.exithandler (child_process.js:637:15) | |
npm ERR! at ChildProcess.EventEmitter.emit (events.js:98:17) | |
npm ERR! at maybeClose (child_process.js:735:16) | |
npm ERR! at Socket.<anonymous> (child_process.js:948:11) | |
npm ERR! at Socket.EventEmitter.emit (events.js:95:17) | |
npm ERR! at Pipe.close (net.js:466:12) | |
npm ERR! If you need help, you may report this log at: | |
npm ERR! <http://github.com/isaacs/npm/issues> | |
npm ERR! or email it to: | |
npm ERR! <[email protected]> | |
npm ERR! System Darwin 13.1.0 | |
npm ERR! command "node" "/usr/local/bin/npm" "install" "-g" "phonegap" | |
npm ERR! cwd /Users/timkim/repo/phonegap-app-developer/tests | |
npm ERR! node -v v0.10.21 | |
npm ERR! npm -v 1.3.11 | |
npm ERR! code 128 | |
npm ERR! | |
npm ERR! Additional logging details can be found in: | |
npm ERR! /Users/timkim/repo/phonegap-app-developer/tests/npm-debug.log | |
npm ERR! not ok code 0 |
I have the same problem, is this then a known issue?
I am getting this issue in windows.. I am the only user but then why error?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I resolved changing the owner of the target directory (/Users/timkim/.npm/_git-remotes/) to the user itself. It was created with owner root and simply didn't work