Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

I can not install PhoneGap #5356

Closed
sevillacesar opened this issue May 27, 2014 · 3 comments
Closed

I can not install PhoneGap #5356

sevillacesar opened this issue May 27, 2014 · 3 comments
Labels

Comments

@sevillacesar
Copy link

I can not install PhoneGap on my desktop computer. I refer the log below:

0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\\\node.exe',
1 verbose cli   'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli   'install',
1 verbose cli   '-g',
1 verbose cli   'phonegap' ]
2 info using npm@1.4.9
3 info using node@v0.10.28
4 verbose node symlink C:\Program Files\nodejs\\node.exe
5 verbose cache add [ 'phonegap', null ]
6 verbose cache add name=undefined spec="phonegap" args=["phonegap",null]
7 verbose parsed url { protocol: null,
7 verbose parsed url   slashes: null,
7 verbose parsed url   auth: null,
7 verbose parsed url   host: null,
7 verbose parsed url   port: null,
7 verbose parsed url   hostname: null,
7 verbose parsed url   hash: null,
7 verbose parsed url   search: null,
7 verbose parsed url   query: null,
7 verbose parsed url   pathname: 'phonegap',
7 verbose parsed url   path: 'phonegap',
7 verbose parsed url   href: 'phonegap' }
8 silly lockFile 10db903f-phonegap phonegap
9 verbose lock phonegap C:\Users\csevill\AppData\Roaming\npm-cache\10db903f-phonegap.lock
10 silly lockFile 10db903f-phonegap phonegap
11 silly lockFile 10db903f-phonegap phonegap
12 verbose addNamed [ 'phonegap', '' ]
13 verbose addNamed [ null, '*' ]
14 silly lockFile 3a6257f3-phonegap phonegap@
15 verbose lock phonegap@ C:\Users\csevill\AppData\Roaming\npm-cache\3a6257f3-phonegap.lock
16 silly addNameRange { name: 'phonegap', range: '*', hasData: false }
17 verbose url raw phonegap
18 verbose url resolving [ 'https://registry.npmjs.org/', './phonegap' ]
19 verbose url resolved https://registry.npmjs.org/phonegap
20 info trying registry request attempt 1 at 14:22:10
21 http GET https://registry.npmjs.org/phonegap
22 info retry will retry, error on last attempt: Error: connect ENETUNREACH
23 info trying registry request attempt 2 at 14:22:42
24 http GET https://registry.npmjs.org/phonegap
25 info retry will retry, error on last attempt: Error: connect ENETUNREACH
26 info trying registry request attempt 3 at 14:24:03
27 http GET https://registry.npmjs.org/phonegap
28 silly lockFile 3a6257f3-phonegap phonegap@
29 silly lockFile 3a6257f3-phonegap phonegap@
30 error Error: connect ENETUNREACH
30 error     at errnoException (net.js:904:11)
30 error     at Object.afterConnect [as oncomplete] (net.js:895:19)
31 error If you need help, you may report this *entire* log,
31 error including the npm and node versions, at:
31 error     <http://github.com/npm/npm/issues>
32 error System Windows_NT 6.1.7601
33 error command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "phonegap"
34 error cwd C:\Users\csevill
35 error node -v v0.10.28
36 error npm -v 1.4.9
37 error syscall connect
38 error code ENETUNREACH
39 error errno ENETUNREACH
40 verbose exit [ 1, true ]
@faiq
Copy link
Contributor

faiq commented Jun 4, 2014

Hey looks like you're getting a ENETUNREACH error meaning that theres a network error.

Check your network connectivity and make sure that the address is valid.

Let me know how this works

@faiq faiq added the support label Jun 4, 2014
@chrismeyersfsu
Copy link
Contributor

#5566
npm cache clean dep-graph
npm 1.4.14 and before has problems with complex installs like phonegap
@othiym23 close this issue?

@othiym23
Copy link
Contributor

I believe this was due to a transient problem with our package registry. If you encounter it again, please open a new issue and let us know. Sorry for the inconvenience!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants