npm install ENOTFOUND error

Hi All,

When i try to set up and run the Cesium earth, i got a error as shown below

While trying to execute the command npm install in the cesium root directory i get the following

C:\GIS\webgl>npm install
npm ERR! Windows_NT 6.3.9600
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\
node_modules\\npm\\bin\\npm-cli.js" "install"
npm ERR! node v4.3.2
npm ERR! npm v2.14.12
npm ERR! code ENOTFOUND
npm ERR! errno ENOTFOUND
npm ERR! syscall getaddrinfo

npm ERR! network getaddrinfo ENOTFOUND registry.npmjs.org registry.npmjs.org:443

npm ERR! network This is most likely not a problem with npm itself
npm ERR! network and is related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settin
gs.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly. See: 'npm help config'

npm ERR! Please include the following file with any support request:
npm ERR! C:\GIS\webgl\npm-debug.log

The content of the npm-debug.log file is shown 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' ]
2 info using npm@2.14.12
3 info using node@v4.3.2
4 verbose readDependencies loading dependencies from C:\GIS\webgl\package.json
5 verbose install where, deps [ 'C:\\GIS\\webgl',
5 verbose install [ 'jsdoc', 'express', 'compression', 'request', 'yargs' ] ]
6 verbose install where, peers [ 'C:\\GIS\\webgl', ]
7 verbose installManyTop reading for lifecycle C:\GIS\webgl\package.json
8 info preinstall cesium@0.30.0
9 verbose readDependencies loading dependencies from C:\GIS\webgl\package.json
10 silly cache add args [ 'jsdoc@3.3.0-alpha9', null ]
11 verbose cache add spec jsdoc@3.3.0-alpha9
12 silly cache add args [ 'express@4.4.4', null ]
13 verbose cache add spec express@4.4.4
14 silly cache add parsed spec Result {
14 silly cache add raw: 'jsdoc@3.3.0-alpha9',
14 silly cache add scope: null,
14 silly cache add name: 'jsdoc',
14 silly cache add rawSpec: '3.3.0-alpha9',
14 silly cache add spec: '3.3.0-alpha9',
14 silly cache add type: 'version' }
15 silly addNamed jsdoc@3.3.0-alpha9
16 verbose addNamed "3.3.0-alpha9" is a plain semver version for jsdoc
17 silly mapToRegistry name jsdoc
18 silly mapToRegistry using default registry
19 silly mapToRegistry registry https://registry.npmjs.org/
20 silly mapToRegistry uri https://registry.npmjs.org/jsdoc
21 verbose addNameVersion registry:https://registry.npmjs.org/jsdoc not in flight; fetching
22 silly cache add parsed spec Result {
22 silly cache add raw: 'express@4.4.4',
22 silly cache add scope: null,
22 silly cache add name: 'express',
22 silly cache add rawSpec: '4.4.4',
22 silly cache add spec: '4.4.4',
22 silly cache add type: 'version' }
23 silly addNamed express@4.4.4
24 verbose addNamed "4.4.4" is a plain semver version for express
25 silly mapToRegistry name express
26 silly mapToRegistry using default registry
27 silly mapToRegistry registry https://registry.npmjs.org/
28 silly mapToRegistry uri https://registry.npmjs.org/express
29 verbose addNameVersion registry:https://registry.npmjs.org/express not in flight; fetching
30 silly cache add args [ 'compression@1.0.8', null ]
31 verbose cache add spec compression@1.0.8
32 silly cache add parsed spec Result {
32 silly cache add raw: 'compression@1.0.8',
32 silly cache add scope: null,
32 silly cache add name: 'compression',
32 silly cache add rawSpec: '1.0.8',
32 silly cache add spec: '1.0.8',
32 silly cache add type: 'version' }
33 silly addNamed compression@1.0.8
34 verbose addNamed "1.0.8" is a plain semver version for compression
35 silly mapToRegistry name compression
36 silly mapToRegistry using default registry
37 silly mapToRegistry registry https://registry.npmjs.org/
38 silly mapToRegistry uri https://registry.npmjs.org/compression
39 verbose addNameVersion registry:https://registry.npmjs.org/compression not in flight; fetching
40 silly cache add args [ 'request@2.36.0', null ]
41 verbose cache add spec request@2.36.0
42 silly cache add parsed spec Result {
42 silly cache add raw: 'request@2.36.0',
42 silly cache add scope: null,
42 silly cache add name: 'request',
42 silly cache add rawSpec: '2.36.0',
42 silly cache add spec: '2.36.0',
42 silly cache add type: 'version' }
43 silly addNamed request@2.36.0
44 verbose addNamed "2.36.0" is a plain semver version for request
45 silly mapToRegistry name request
46 silly mapToRegistry using default registry
47 silly mapToRegistry registry https://registry.npmjs.org/
48 silly mapToRegistry uri https://registry.npmjs.org/request
49 verbose addNameVersion registry:https://registry.npmjs.org/request not in flight; fetching
50 silly cache add args [ 'yargs@1.2.6', null ]
51 verbose cache add spec yargs@1.2.6
52 silly cache add parsed spec Result {
52 silly cache add raw: 'yargs@1.2.6',
52 silly cache add scope: null,
52 silly cache add name: 'yargs',
52 silly cache add rawSpec: '1.2.6',
52 silly cache add spec: '1.2.6',
52 silly cache add type: 'version' }
53 silly addNamed yargs@1.2.6
54 verbose addNamed "1.2.6" is a plain semver version for yargs
55 silly mapToRegistry name yargs
56 silly mapToRegistry using default registry
57 silly mapToRegistry registry https://registry.npmjs.org/
58 silly mapToRegistry uri https://registry.npmjs.org/yargs
59 verbose addNameVersion registry:https://registry.npmjs.org/yargs not in flight; fetching
60 verbose request uri https://registry.npmjs.org/jsdoc
61 verbose request no auth needed
62 info attempt registry request try #1 at 10:53:02 AM
63 verbose request id 0e1999c03252b85d
64 http request GET https://registry.npmjs.org/jsdoc
65 verbose request uri https://registry.npmjs.org/express
66 verbose request no auth needed
67 info attempt registry request try #1 at 10:53:02 AM
68 http request GET https://registry.npmjs.org/express
69 verbose request uri https://registry.npmjs.org/compression
70 verbose request no auth needed
71 info attempt registry request try #1 at 10:53:02 AM
72 http request GET https://registry.npmjs.org/compression
73 verbose request uri https://registry.npmjs.org/request
74 verbose request no auth needed
75 info attempt registry request try #1 at 10:53:02 AM
76 http request GET https://registry.npmjs.org/request
77 verbose request uri https://registry.npmjs.org/yargs
78 verbose request no auth needed
79 info attempt registry request try #1 at 10:53:02 AM
80 http request GET https://registry.npmjs.org/yargs
81 info retry will retry, error on last attempt: Error: getaddrinfo ENOTFOUND registry.npmjs.org registry.npmjs.org:443
82 info retry will retry, error on last attempt: Error: getaddrinfo ENOTFOUND registry.npmjs.org registry.npmjs.org:443
83 info retry will retry, error on last attempt: Error: getaddrinfo ENOTFOUND registry.npmjs.org registry.npmjs.org:443
84 info retry will retry, error on last attempt: Error: getaddrinfo ENOTFOUND registry.npmjs.org registry.npmjs.org:443
85 info retry will retry, error on last attempt: Error: getaddrinfo ENOTFOUND registry.npmjs.org registry.npmjs.org:443
86 info attempt registry request try #2 at 10:53:12 AM
87 http request GET https://registry.npmjs.org/jsdoc
88 info attempt registry request try #2 at 10:53:12 AM
89 http request GET https://registry.npmjs.org/express
90 info attempt registry request try #2 at 10:53:12 AM
91 http request GET https://registry.npmjs.org/compression
92 info attempt registry request try #2 at 10:53:12 AM
93 http request GET https://registry.npmjs.org/request
94 info attempt registry request try #2 at 10:53:12 AM
95 http request GET https://registry.npmjs.org/yargs
96 info retry will retry, error on last attempt: Error: getaddrinfo ENOTFOUND registry.npmjs.org registry.npmjs.org:443
97 info retry will retry, error on last attempt: Error: getaddrinfo ENOTFOUND registry.npmjs.org registry.npmjs.org:443
98 info retry will retry, error on last attempt: Error: getaddrinfo ENOTFOUND registry.npmjs.org registry.npmjs.org:443
99 info retry will retry, error on last attempt: Error: getaddrinfo ENOTFOUND registry.npmjs.org registry.npmjs.org:443
100 info retry will retry, error on last attempt: Error: getaddrinfo ENOTFOUND registry.npmjs.org registry.npmjs.org:443
101 info attempt registry request try #3 at 10:54:12 AM
102 http request GET https://registry.npmjs.org/jsdoc
103 info attempt registry request try #3 at 10:54:12 AM
104 http request GET https://registry.npmjs.org/express
105 info attempt registry request try #3 at 10:54:12 AM
106 http request GET https://registry.npmjs.org/compression
107 info attempt registry request try #3 at 10:54:12 AM
108 http request GET https://registry.npmjs.org/request
109 info attempt registry request try #3 at 10:54:12 AM
110 http request GET https://registry.npmjs.org/yargs
111 verbose stack Error: getaddrinfo ENOTFOUND registry.npmjs.org registry.npmjs.org:443
111 verbose stack at errnoException (dns.js:26:10)
111 verbose stack at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:77:26)
112 verbose cwd C:\GIS\webgl
113 error Windows_NT 6.3.9600
114 error argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
115 error node v4.3.2
116 error npm v2.14.12
117 error code ENOTFOUND
118 error errno ENOTFOUND
119 error syscall getaddrinfo
120 error network getaddrinfo ENOTFOUND registry.npmjs.org registry.npmjs.org:443
120 error network This is most likely not a problem with npm itself
120 error network and is related to network connectivity.
120 error network In most cases you are behind a proxy or have bad network settings.
120 error network
120 error network If you are behind a proxy, please make sure that the
120 error network 'proxy' config is set properly. See: 'npm help config'
121 verbose exit [ 1, true ]

Please help to resolve the issue

Hello,

It looks like your machine is having trouble connecting to the npm registry. Check your network settings. You might have to set up a proxy.

Best,

Hannah

The machine where i try to install is not connected to internet. Is this a problem to install npm.Please provide support to resolve the issue,.

In order for npm install to work, you need an internet connection. It copies the files needed by the Cesium node server we supply down from the internet into your directory.
If you can’t connect that machine to the internet, you can set up your own server to host the files locally instead of using the one we provide.

Best,

Hannah

Thank you so much Hannah pinkos...Is there any documentation about how to setup own server to host the files locally..Thanks in advance

maddie

Having the same problem. I am connected to the internet, but still getting these erros. How can I resolve this?