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

When i am running this command i am getting below error.(npm install -g less) #16141

Closed
dinipy opened this issue Mar 24, 2017 · 2 comments
Closed

Comments

@dinipy
Copy link

dinipy commented Mar 24, 2017

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 'less' ]
2 info using npm@3.10.10
3 info using node@v6.10.1
4 silly loadCurrentTree Starting
5 silly install loadCurrentTree
6 silly install readGlobalPackageData
7 silly fetchPackageMetaData less
8 silly fetchNamedPackageData less
9 silly mapToRegistry name less
10 silly mapToRegistry using default registry
11 silly mapToRegistry registry https://registry.npmjs.org/
12 silly mapToRegistry data Result {
12 silly mapToRegistry raw: 'less',
12 silly mapToRegistry scope: null,
12 silly mapToRegistry escapedName: 'less',
12 silly mapToRegistry name: 'less',
12 silly mapToRegistry rawSpec: '',
12 silly mapToRegistry spec: 'latest',
12 silly mapToRegistry type: 'tag' }
13 silly mapToRegistry uri https://registry.npmjs.org/less
14 verbose request uri https://registry.npmjs.org/less
15 verbose request no auth needed
16 info attempt registry request try #1 at 11:19:02 AM
17 verbose request id f42f2c6f0d97686c
18 http request GET https://registry.npmjs.org/less
19 info retry will retry, error on last attempt: Error: getaddrinfo EAI_AGAIN registry.npmjs.org:443
20 info attempt registry request try #2 at 11:19:24 AM
21 http request GET https://registry.npmjs.org/less
22 info retry will retry, error on last attempt: Error: getaddrinfo EAI_AGAIN registry.npmjs.org:443
23 info attempt registry request try #3 at 11:20:36 AM
24 http request GET https://registry.npmjs.org/less
25 silly fetchPackageMetaData Error: getaddrinfo EAI_AGAIN registry.npmjs.org:443
25 silly fetchPackageMetaData at Object.exports._errnoException (util.js:1018:11)
25 silly fetchPackageMetaData at errnoException (dns.js:33:15)
25 silly fetchPackageMetaData at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:76:26)
25 silly fetchPackageMetaData error for less { Error: getaddrinfo EAI_AGAIN registry.npmjs.org:443
25 silly fetchPackageMetaData at Object.exports._errnoException (util.js:1018:11)
25 silly fetchPackageMetaData at errnoException (dns.js:33:15)
25 silly fetchPackageMetaData at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:76:26)
25 silly fetchPackageMetaData code: 'EAI_AGAIN',
25 silly fetchPackageMetaData errno: 'EAI_AGAIN',
25 silly fetchPackageMetaData syscall: 'getaddrinfo',
25 silly fetchPackageMetaData hostname: 'registry.npmjs.org',
25 silly fetchPackageMetaData host: 'registry.npmjs.org',
25 silly fetchPackageMetaData port: 443 }
26 silly rollbackFailedOptional Starting
27 silly rollbackFailedOptional Finishing
28 silly runTopLevelLifecycles Finishing
29 silly install printInstalled
30 verbose stack Error: getaddrinfo EAI_AGAIN registry.npmjs.org:443
30 verbose stack at Object.exports._errnoException (util.js:1018:11)
30 verbose stack at errnoException (dns.js:33:15)
30 verbose stack at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:76:26)
31 verbose cwd C:\Users\dnraghavaraju\Desktop\odoocrm\odoo-10.0
32 error Windows_NT 6.1.7601
33 error argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "-g" "less"
34 error node v6.10.1
35 error npm v3.10.10
36 error code EAI_AGAIN
37 error errno EAI_AGAIN
38 error syscall getaddrinfo
39 error getaddrinfo EAI_AGAIN registry.npmjs.org:443
40 error If you need help, you may report this error at:
40 error https://github.com/npm/npm/issues
41 verbose exit [ 1, true ]

@dinipy dinipy closed this as completed Mar 24, 2017
@dinipy dinipy reopened this Mar 24, 2017
@kenany kenany added the support label Mar 24, 2017
@legodude17
Copy link
Contributor

Do you have a stable internet connection?

@npm-robot
Copy link

We're closing this support issue as it has gone three days without activity. The npm CLI team itself does not provide support via this issue tracker, but we are happy when users help each other here. In our experience once a support issue goes dormant it's unlikely to get further activity. If you're still having problems, you may be better served by joining package.community and asking your question there.

For more information about our new issue aging policies and why we've instituted them please see our blog post.

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

No branches or pull requests

4 participants