Skip to content
This repository has been archived by the owner. It is now read-only.

npm install error - fetch failed https://registry.npmjs.org.request/-/request-2.58.0.tgz #9225

Closed
Milutinke92 opened this issue Aug 10, 2015 · 5 comments

Comments

@Milutinke92
Copy link

commented Aug 10, 2015

I have Windows 10 now. I am trying to install node modules and to start Cesium server.js.

This is Command windows >
image

This is npm-debug.log

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.11.3
3 info using node@v0.12.7
4 verbose readDependencies loading dependencies from C:\Users\Stefan\Downloads\Cesium-1.12\package.json
5 verbose install where, deps [ 'C:\\Users\\Stefan\\Downloads\\Cesium-1.12',
5 verbose install   [ 'jsdoc', 'express', 'compression', 'request', 'yargs' ] ]
6 verbose install where, peers [ 'C:\\Users\\Stefan\\Downloads\\Cesium-1.12', [] ]
7 verbose installManyTop reading for lifecycle C:\Users\Stefan\Downloads\Cesium-1.12\package.json
8 info preinstall cesium@1.12.0
9 verbose readDependencies loading dependencies from C:\Users\Stefan\Downloads\Cesium-1.12\package.json
10 silly cache add args [ 'compression@1.5.1', null ]
11 verbose cache add spec compression@1.5.1
12 silly cache add parsed spec { raw: 'compression@1.5.1',
12 silly cache add   scope: null,
12 silly cache add   name: 'compression',
12 silly cache add   rawSpec: '1.5.1',
12 silly cache add   spec: '1.5.1',
12 silly cache add   type: 'version' }
13 silly addNamed compression@1.5.1
14 verbose addNamed "1.5.1" is a plain semver version for compression
15 silly mapToRegistry name compression
16 silly mapToRegistry using default registry
17 silly mapToRegistry registry https://registry.npmjs.org/
18 silly mapToRegistry uri https://registry.npmjs.org/compression
19 verbose addNameVersion registry:https://registry.npmjs.org/compression not in flight; fetching
20 silly cache add args [ 'request@2.58.0', null ]
21 verbose cache add spec request@2.58.0
22 silly cache add parsed spec { raw: 'request@2.58.0',
22 silly cache add   scope: null,
22 silly cache add   name: 'request',
22 silly cache add   rawSpec: '2.58.0',
22 silly cache add   spec: '2.58.0',
22 silly cache add   type: 'version' }
23 silly addNamed request@2.58.0
24 verbose addNamed "2.58.0" is a plain semver version for request
25 silly mapToRegistry name request
26 silly mapToRegistry using default registry
27 silly mapToRegistry registry https://registry.npmjs.org/
28 silly mapToRegistry uri https://registry.npmjs.org/request
29 verbose addNameVersion registry:https://registry.npmjs.org/request not in flight; fetching
30 silly cache add args [ 'yargs@3.15.0', null ]
31 verbose cache add spec yargs@3.15.0
32 silly cache add parsed spec { raw: 'yargs@3.15.0',
32 silly cache add   scope: null,
32 silly cache add   name: 'yargs',
32 silly cache add   rawSpec: '3.15.0',
32 silly cache add   spec: '3.15.0',
32 silly cache add   type: 'version' }
33 silly addNamed yargs@3.15.0
34 verbose addNamed "3.15.0" is a plain semver version for yargs
35 silly mapToRegistry name yargs
36 silly mapToRegistry using default registry
37 silly mapToRegistry registry https://registry.npmjs.org/
38 silly mapToRegistry uri https://registry.npmjs.org/yargs
39 verbose addNameVersion registry:https://registry.npmjs.org/yargs not in flight; fetching
40 silly cache add args [ 'jsdoc@3.3.2', null ]
41 verbose cache add spec jsdoc@3.3.2
42 silly cache add parsed spec { raw: 'jsdoc@3.3.2',
42 silly cache add   scope: null,
42 silly cache add   name: 'jsdoc',
42 silly cache add   rawSpec: '3.3.2',
42 silly cache add   spec: '3.3.2',
42 silly cache add   type: 'version' }
43 silly addNamed jsdoc@3.3.2
44 verbose addNamed "3.3.2" is a plain semver version for jsdoc
45 silly mapToRegistry name jsdoc
46 silly mapToRegistry using default registry
47 silly mapToRegistry registry https://registry.npmjs.org/
48 silly mapToRegistry uri https://registry.npmjs.org/jsdoc
49 verbose addNameVersion registry:https://registry.npmjs.org/jsdoc not in flight; fetching
50 silly cache add args [ 'express@4.13.1', null ]
51 verbose cache add spec express@4.13.1
52 silly cache add parsed spec { raw: 'express@4.13.1',
52 silly cache add   scope: null,
52 silly cache add   name: 'express',
52 silly cache add   rawSpec: '4.13.1',
52 silly cache add   spec: '4.13.1',
52 silly cache add   type: 'version' }
53 silly addNamed express@4.13.1
54 verbose addNamed "4.13.1" is a plain semver version for express
55 silly mapToRegistry name express
56 silly mapToRegistry using default registry
57 silly mapToRegistry registry https://registry.npmjs.org/
58 silly mapToRegistry uri https://registry.npmjs.org/express
59 verbose addNameVersion registry:https://registry.npmjs.org/express not in flight; fetching
60 verbose request uri https://registry.npmjs.org/compression
61 verbose request no auth needed
62 info attempt registry request try #1 at 8:33:38 PM
63 verbose request id 1a4bd40987cae63b
64 verbose etag "4EL1COKBGP7OYOQVPHK7KRUMZ"
65 http request GET https://registry.npmjs.org/compression
66 verbose request uri https://registry.npmjs.org/request
67 verbose request no auth needed
68 info attempt registry request try #1 at 8:33:38 PM
69 verbose etag "4MCZRYIS8M3M1IGUJJY0C3KEL"
70 http request GET https://registry.npmjs.org/request
71 verbose request uri https://registry.npmjs.org/jsdoc
72 verbose request no auth needed
73 info attempt registry request try #1 at 8:33:38 PM
74 verbose etag "1KZB66V4RR31PP16LPV4S5OGC"
75 http request GET https://registry.npmjs.org/jsdoc
76 verbose request uri https://registry.npmjs.org/yargs
77 verbose request no auth needed
78 info attempt registry request try #1 at 8:33:38 PM
79 verbose etag "CCOQRR5ZHJ1JBPIHMMZ0XEG2N"
80 http request GET https://registry.npmjs.org/yargs
81 verbose request uri https://registry.npmjs.org/express
82 verbose request no auth needed
83 info attempt registry request try #1 at 8:33:38 PM
84 verbose etag "AYA5U4XXWWX2J3OKMAE6J9JYM"
85 http request GET https://registry.npmjs.org/express
86 info retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=connect ETIMEDOUT
87 info retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=connect ETIMEDOUT
88 info retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=connect ETIMEDOUT
89 info retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=connect ETIMEDOUT
90 info retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=connect ETIMEDOUT
91 info attempt registry request try #2 at 8:34:09 PM
92 verbose etag "4EL1COKBGP7OYOQVPHK7KRUMZ"
93 http request GET https://registry.npmjs.org/compression
94 info attempt registry request try #2 at 8:34:09 PM
95 verbose etag "1KZB66V4RR31PP16LPV4S5OGC"
96 http request GET https://registry.npmjs.org/jsdoc
97 info attempt registry request try #2 at 8:34:09 PM
98 verbose etag "4MCZRYIS8M3M1IGUJJY0C3KEL"
99 http request GET https://registry.npmjs.org/request
100 info attempt registry request try #2 at 8:34:09 PM
101 verbose etag "CCOQRR5ZHJ1JBPIHMMZ0XEG2N"
102 http request GET https://registry.npmjs.org/yargs
103 info attempt registry request try #2 at 8:34:09 PM
104 verbose etag "AYA5U4XXWWX2J3OKMAE6J9JYM"
105 http request GET https://registry.npmjs.org/express
106 info retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=connect ETIMEDOUT
107 info retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=connect ETIMEDOUT
108 info retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=connect ETIMEDOUT
109 info retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=connect ETIMEDOUT
110 info retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=connect ETIMEDOUT
111 info attempt registry request try #3 at 8:35:30 PM
112 verbose etag "4EL1COKBGP7OYOQVPHK7KRUMZ"
113 http request GET https://registry.npmjs.org/compression
114 info attempt registry request try #3 at 8:35:30 PM
115 verbose etag "1KZB66V4RR31PP16LPV4S5OGC"
116 http request GET https://registry.npmjs.org/jsdoc
117 info attempt registry request try #3 at 8:35:30 PM
118 verbose etag "CCOQRR5ZHJ1JBPIHMMZ0XEG2N"
119 http request GET https://registry.npmjs.org/yargs
120 info attempt registry request try #3 at 8:35:30 PM
121 verbose etag "4MCZRYIS8M3M1IGUJJY0C3KEL"
122 http request GET https://registry.npmjs.org/request
123 info attempt registry request try #3 at 8:35:30 PM
124 verbose etag "AYA5U4XXWWX2J3OKMAE6J9JYM"
125 http request GET https://registry.npmjs.org/express
126 silly get cb [ 304, undefined ]
127 verbose etag https://registry.npmjs.org/compression from cache
128 verbose get saving compression to C:\Users\Stefan\AppData\Roaming\npm-cache\registry.npmjs.org\compression\.cache.json
129 silly get cb [ 304, undefined ]
130 verbose etag https://registry.npmjs.org/request from cache
131 verbose get saving request to C:\Users\Stefan\AppData\Roaming\npm-cache\registry.npmjs.org\request\.cache.json
132 silly get cb [ 304, undefined ]
133 verbose etag https://registry.npmjs.org/jsdoc from cache
134 verbose get saving jsdoc to C:\Users\Stefan\AppData\Roaming\npm-cache\registry.npmjs.org\jsdoc\.cache.json
135 silly get cb [ 304, undefined ]
136 verbose etag https://registry.npmjs.org/express from cache
137 verbose get saving express to C:\Users\Stefan\AppData\Roaming\npm-cache\registry.npmjs.org\express\.cache.json
138 silly get cb [ 304, undefined ]
139 verbose etag https://registry.npmjs.org/yargs from cache
140 verbose get saving yargs to C:\Users\Stefan\AppData\Roaming\npm-cache\registry.npmjs.org\yargs\.cache.json
141 silly mapToRegistry name request
142 silly mapToRegistry using default registry
143 silly mapToRegistry registry https://registry.npmjs.org/
144 silly mapToRegistry uri https://registry.npmjs.org/request
145 verbose addRemoteTarball https://registry.npmjs.org/request/-/request-2.58.0.tgz not in flight; adding
146 verbose addRemoteTarball [ 'https://registry.npmjs.org/request/-/request-2.58.0.tgz',
146 verbose addRemoteTarball   'b5f49c0b94aab7fad388612a1fb6ad03b6cc1580' ]
147 silly mapToRegistry name jsdoc
148 silly mapToRegistry using default registry
149 silly mapToRegistry registry https://registry.npmjs.org/
150 silly mapToRegistry uri https://registry.npmjs.org/jsdoc
151 verbose addRemoteTarball https://registry.npmjs.org/jsdoc/-/jsdoc-3.3.2.tgz not in flight; adding
152 verbose addRemoteTarball [ 'https://registry.npmjs.org/jsdoc/-/jsdoc-3.3.2.tgz',
152 verbose addRemoteTarball   '689e2507494ead440a1369dadf92fc44edd02836' ]
153 info retry fetch attempt 1 at 8:35:51 PM
154 info attempt registry request try #1 at 8:35:51 PM
155 http fetch GET https://registry.npmjs.org/request/-/request-2.58.0.tgz
156 info retry fetch attempt 1 at 8:35:51 PM
157 info attempt registry request try #1 at 8:35:51 PM
158 http fetch GET https://registry.npmjs.org/jsdoc/-/jsdoc-3.3.2.tgz
159 info retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=connect ETIMEDOUT
160 info retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=connect ETIMEDOUT
161 info attempt registry request try #2 at 8:36:23 PM
162 http fetch GET https://registry.npmjs.org/request/-/request-2.58.0.tgz
163 info attempt registry request try #2 at 8:36:23 PM
164 http fetch GET https://registry.npmjs.org/jsdoc/-/jsdoc-3.3.2.tgz
165 info retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=connect ETIMEDOUT
166 info retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=connect ETIMEDOUT
167 info attempt registry request try #3 at 8:37:44 PM
168 http fetch GET https://registry.npmjs.org/jsdoc/-/jsdoc-3.3.2.tgz
169 info attempt registry request try #3 at 8:37:44 PM
170 http fetch GET https://registry.npmjs.org/request/-/request-2.58.0.tgz
171 error fetch failed https://registry.npmjs.org/jsdoc/-/jsdoc-3.3.2.tgz
172 warn retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=connect ETIMEDOUT
173 error fetch failed https://registry.npmjs.org/request/-/request-2.58.0.tgz
174 warn retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=connect ETIMEDOUT
175 info retry fetch attempt 2 at 8:38:15 PM
176 info attempt registry request try #1 at 8:38:15 PM
177 http fetch GET https://registry.npmjs.org/jsdoc/-/jsdoc-3.3.2.tgz
178 info retry fetch attempt 2 at 8:38:15 PM
179 info attempt registry request try #1 at 8:38:15 PM
180 http fetch GET https://registry.npmjs.org/request/-/request-2.58.0.tgz
181 info retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=connect ETIMEDOUT
182 info retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=connect ETIMEDOUT
183 info attempt registry request try #2 at 8:38:46 PM
184 http fetch GET https://registry.npmjs.org/jsdoc/-/jsdoc-3.3.2.tgz
185 info attempt registry request try #2 at 8:38:46 PM
186 http fetch GET https://registry.npmjs.org/request/-/request-2.58.0.tgz
187 info retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=connect ETIMEDOUT
188 info retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=connect ETIMEDOUT
189 info attempt registry request try #3 at 8:40:07 PM
190 http fetch GET https://registry.npmjs.org/request/-/request-2.58.0.tgz
191 info attempt registry request try #3 at 8:40:07 PM
192 http fetch GET https://registry.npmjs.org/jsdoc/-/jsdoc-3.3.2.tgz
193 error fetch failed https://registry.npmjs.org/request/-/request-2.58.0.tgz
194 warn retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=connect ETIMEDOUT
195 error fetch failed https://registry.npmjs.org/jsdoc/-/jsdoc-3.3.2.tgz
196 warn retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=connect ETIMEDOUT
197 info retry fetch attempt 3 at 8:41:28 PM
198 info attempt registry request try #1 at 8:41:28 PM
199 http fetch GET https://registry.npmjs.org/request/-/request-2.58.0.tgz
200 info retry fetch attempt 3 at 8:41:28 PM
201 info attempt registry request try #1 at 8:41:28 PM
202 http fetch GET https://registry.npmjs.org/jsdoc/-/jsdoc-3.3.2.tgz
203 info retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=connect ETIMEDOUT
204 info retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=connect ETIMEDOUT
205 info attempt registry request try #2 at 8:41:59 PM
206 http fetch GET https://registry.npmjs.org/request/-/request-2.58.0.tgz
207 info attempt registry request try #2 at 8:41:59 PM
208 http fetch GET https://registry.npmjs.org/jsdoc/-/jsdoc-3.3.2.tgz
209 info retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=connect ETIMEDOUT
210 info retry will retry, error on last attempt: Error: tunneling socket could not be established, cause=connect ETIMEDOUT
211 info attempt registry request try #3 at 8:43:20 PM
212 http fetch GET https://registry.npmjs.org/request/-/request-2.58.0.tgz
213 info attempt registry request try #3 at 8:43:20 PM
214 http fetch GET https://registry.npmjs.org/jsdoc/-/jsdoc-3.3.2.tgz
215 error fetch failed https://registry.npmjs.org/request/-/request-2.58.0.tgz
216 error fetch failed https://registry.npmjs.org/jsdoc/-/jsdoc-3.3.2.tgz
217 verbose stack Error: version not found: compression@1.5.1
217 verbose stack     at setData (C:\Program Files\nodejs\node_modules\npm\lib\cache\add-named.js:137:12)
217 verbose stack     at RES (C:\Program Files\nodejs\node_modules\npm\node_modules\inflight\inflight.js:23:14)
217 verbose stack     at f (C:\Program Files\nodejs\node_modules\npm\node_modules\once\once.js:17:25)
217 verbose stack     at fixName (C:\Program Files\nodejs\node_modules\npm\lib\cache\add-named.js:29:5)
217 verbose stack     at saved (C:\Program Files\nodejs\node_modules\npm\lib\cache\caching-client.js:173:7)
217 verbose stack     at FSReqWrap.oncomplete (fs.js:95:15)
218 verbose statusCode 404
219 verbose cwd C:\Users\Stefan\Downloads\Cesium-1.12
220 error Windows_NT 6.3.9600
221 error argv "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
222 error node v0.12.7
223 error npm  v2.11.3
224 error version not found: compression@1.5.1
225 error If you need help, you may report this error at:
225 error     <https://github.com/npm/npm/issues>
226 verbose exit [ 1, true ]

@Milutinke92 Milutinke92 changed the title NPM Install Error NPM Install Error - fetch failed https://registry.npmjs.org.request/-/request-2.58.0.tgz Aug 10, 2015

@bambii7

This comment has been minimized.

Copy link

commented Aug 10, 2015

May have a similar issue. Fresh install of Ubuntu 14.04. Not exactly sure what the error is from the log file, some stream issue.....

10939 silly lockFile 20f74202-8868-0-09516942221671343-package tar:///home/angelica/tmp/npm-16159-yA0PlAEp/1439234088868-0.09516942221671343/package
10940 error Error: ENOENT, lstat '/home/angelica/tmp/npm-16159-yA0PlAEp/1439234088833-0.4128296074923128/package/package.json'
10941 error If you need help, you may report this log at:
10941 error http://github.com/isaacs/npm/issues
10941 error or email it to:
10941 error npm-@googlegroups.com
10942 error System Linux 4.1.0-x86_64-linode59
10943 error command "/usr/bin/nodejs" "/usr/bin/npm" "install"
10945 error node -v v0.10.25
10946 error npm -v 1.3.10
10947 error path /home/angelica/tmp/npm-16159-yA0PlAEp/1439234088833-0.4128296074923128/package/package.json
10948 error fstream_path /home/angelica/tmp/npm-16159-yA0PlAEp/1439234088833-0.4128296074923128/package/package.json
10949 error fstream_type File
10950 error fstream_class FileWriter
10951 error code ENOENT
10952 error errno 34
10953 error fstream_stack /usr/lib/nodejs/fstream/lib/writer.js:284:26
10953 error fstream_stack Object.oncomplete (fs.js:107:15)
10954 verbose exit [ 34, true ]

@KenanY

This comment has been minimized.

Copy link
Collaborator

commented Aug 11, 2015

@Milutinke92 All the ETIMEDOUT errors in your log lead me to believe that your internet connection is causing your issue. Maybe you are behind a proxy or a firewall that is causing the requests to timeout?

@bambii7 Your error looks different, but regardless I would suggest you first update npm, and maybe even run npm cache clean.

@Milutinke92

This comment has been minimized.

Copy link
Author

commented Aug 11, 2015

@KenanY You were right. One time when i was behind proxy, I set up proxy setting and then, even when i reinstal Node.js couple of times, settings where the same. And because I am not behind the proxy now, it didn't work.

@othiym23 othiym23 changed the title NPM Install Error - fetch failed https://registry.npmjs.org.request/-/request-2.58.0.tgz npm install error - fetch failed https://registry.npmjs.org.request/-/request-2.58.0.tgz Aug 18, 2015

@bambii7

This comment has been minimized.

Copy link

commented Aug 18, 2015

@KenanY yep after updating npm all went swimmingly.

@ehsalazar ehsalazar self-assigned this Aug 18, 2015

@ehsalazar

This comment has been minimized.

Copy link

commented Aug 18, 2015

Good to hear. I'll close this for now as we’re trying to clean up some solved issues. We’ll be happy to reopen if necessary.

@ehsalazar ehsalazar closed this Aug 18, 2015

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
5 participants
You can’t perform that action at this time.