phonegap installation issue #5721

Closed
mvirajm opened this Issue Jul 17, 2014 · 4 comments

Projects

None yet

5 participants

mvirajm commented Jul 17, 2014

Im receiving following err when Im trying to install phonegap using node.js. I open cmd and entered below command
npm install -g phonegap
(I tried having downloaded both 64 bit and 32 bit nod js, but faield. My machine is 64bit windows 7)
I received below info in my cmd

0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files (x86)\\nodejs\\\\node.exe',
1 verbose cli   'C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli   'install',
1 verbose cli   '-g',
1 verbose cli   'phonegap-2.9.1' ]
2 info using npm@1.4.14
3 info using node@v0.10.29
4 verbose node symlink C:\Program Files (x86)\nodejs\\node.exe
5 verbose cache add [ 'phonegap-2.9.1', null ]
6 verbose cache add name=undefined spec="phonegap-2.9.1" args=["phonegap-2.9.1",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-2.9.1',
7 verbose parsed url   path: 'phonegap-2.9.1',
7 verbose parsed url   href: 'phonegap-2.9.1' }
8 silly lockFile fd478870-phonegap-2-9-1 phonegap-2.9.1
9 verbose lock phonegap-2.9.1 C:\Users\malitham\AppData\Roaming\npm-cache\fd478870-phonegap-2-9-1.lock
10 silly lockFile fd478870-phonegap-2-9-1 phonegap-2.9.1
11 silly lockFile fd478870-phonegap-2-9-1 phonegap-2.9.1
12 verbose addNamed [ 'phonegap-2.9.1', '' ]
13 verbose addNamed [ null, '*' ]
14 silly lockFile b730e05a-phonegap-2-9-1 phonegap-2.9.1@
15 verbose lock phonegap-2.9.1@ C:\Users\malitham\AppData\Roaming\npm-cache\b730e05a-phonegap-2-9-1.lock
16 silly addNameRange { name: 'phonegap-2.9.1', range: '*', hasData: false }
17 verbose url raw phonegap-2.9.1
18 verbose url resolving [ 'https://registry.npmjs.org/', './phonegap-2.9.1' ]
19 verbose url resolved https://registry.npmjs.org/phonegap-2.9.1
20 info trying registry request attempt 1 at 13:19:08
21 http GET https://registry.npmjs.org/phonegap-2.9.1
22 info retry will retry, error on last attempt: Error: connect ENETUNREACH
23 info trying registry request attempt 2 at 13:19:39
24 http GET https://registry.npmjs.org/phonegap-2.9.1
25 info retry will retry, error on last attempt: Error: connect ENETUNREACH
26 info trying registry request attempt 3 at 13:21:00
27 http GET https://registry.npmjs.org/phonegap-2.9.1
28 silly lockFile b730e05a-phonegap-2-9-1 phonegap-2.9.1@
29 silly lockFile b730e05a-phonegap-2-9-1 phonegap-2.9.1@
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 (x86)\\nodejs\\\\node.exe" "C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "phonegap-2.9.1"
34 error cwd C:\tools\phonegap-2.9.1
35 error node -v v0.10.29
36 error npm -v 1.4.14
37 error syscall connect
38 error code ENETUNREACH
39 error errno ENETUNREACH
40 verbose exit [ 1, true ]
Member
KenanY commented Jul 18, 2014

ENETUNREACH means that the network isn't reachable from your host, so this seems like a connection problem on your end.

@iarna iarna added the support label Sep 17, 2014
Contributor

@mvirajm was it in fact a connection issue?

Contributor

Closing as abandoned. (@KenanY seems to have been right – it's either a transient network issue, a proxy configuration issue, or the computer isn't connected to a network.)

@othiym23 othiym23 closed this Sep 25, 2014
mvirajm commented Sep 26, 2014

Yes it is because of connection issue. Thanks Forrest in advance

On Fri, Sep 26, 2014 at 1:40 AM, Forrest L Norvell <notifications@github.com

wrote:

Closed #5721 #5721.


Reply to this email directly or view it on GitHub
#5721 (comment).

Thanks & Regards,Malitha VIraj Mathugama,
Mob: (+94) 77 4 038 422

Email: mvirajm@gmail.com
Blog: http://malithavm.blogspot.com/ http://prasadmathugama.blogspot.com/

http://prasadmathugama.blogspot.com/ http://twitter.com/prasad_Era

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment