Skip to content

npm install error #5464

Closed
finngreene opened this Issue Jun 11, 2014 · 2 comments

4 participants

@finngreene

Hey guys,

I just started the angularJS angular-phonecat tutorial when it asked me to install node .js, after doing so I ran npm install within the angular-phonecat directory and received an error. I am running node v0.10.28, npm v1.4.9.

Here is the 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@1.4.9
3 info using node@v0.10.28
4 verbose node symlink C:\Program Files\nodejs\\node.exe
5 verbose readDependencies using package.json deps
6 verbose install where, deps [ 'C:\\Users\\fgreene\\angular-phonecat',
6 verbose install   [ 'karma', 'protractor', 'http-server', 'bower', 'shelljs' ] ]
7 info preinstall angular-phonecat@0.0.0
8 verbose readDependencies using package.json deps
9 verbose cache add [ 'karma@~0.10', null ]
10 verbose cache add name=undefined spec="karma@~0.10" args=["karma@~0.10",null]
11 verbose parsed url { protocol: null,
11 verbose parsed url   slashes: null,
11 verbose parsed url   auth: null,
11 verbose parsed url   host: null,
11 verbose parsed url   port: null,
11 verbose parsed url   hostname: null,
11 verbose parsed url   hash: null,
11 verbose parsed url   search: null,
11 verbose parsed url   query: null,
11 verbose parsed url   pathname: 'karma@~0.10',
11 verbose parsed url   path: 'karma@~0.10',
11 verbose parsed url   href: 'karma@~0.10' }
12 verbose cache add name="karma" spec="~0.10" args=["karma","~0.10"]
13 verbose parsed url { protocol: null,
13 verbose parsed url   slashes: null,
13 verbose parsed url   auth: null,
13 verbose parsed url   host: null,
13 verbose parsed url   port: null,
13 verbose parsed url   hostname: null,
13 verbose parsed url   hash: null,
13 verbose parsed url   search: null,
13 verbose parsed url   query: null,
13 verbose parsed url   pathname: '~0.10',
13 verbose parsed url   path: '~0.10',
13 verbose parsed url   href: '~0.10' }
14 verbose addNamed [ 'karma', '~0.10' ]
15 verbose addNamed [ null, '>=0.10.0-0 <0.11.0-0' ]
16 verbose cache add [ 'protractor@~0.20.1', null ]
17 verbose cache add name=undefined spec="protractor@~0.20.1" args=["protractor@~0.20.1",null]
18 verbose parsed url { protocol: null,
18 verbose parsed url   slashes: null,
18 verbose parsed url   auth: null,
18 verbose parsed url   host: null,
18 verbose parsed url   port: null,
18 verbose parsed url   hostname: null,
18 verbose parsed url   hash: null,
18 verbose parsed url   search: null,
18 verbose parsed url   query: null,
18 verbose parsed url   pathname: 'protractor@~0.20.1',
18 verbose parsed url   path: 'protractor@~0.20.1',
18 verbose parsed url   href: 'protractor@~0.20.1' }
19 verbose cache add name="protractor" spec="~0.20.1" args=["protractor","~0.20.1"]
20 verbose parsed url { protocol: null,
20 verbose parsed url   slashes: null,
20 verbose parsed url   auth: null,
20 verbose parsed url   host: null,
20 verbose parsed url   port: null,
20 verbose parsed url   hostname: null,
20 verbose parsed url   hash: null,
20 verbose parsed url   search: null,
20 verbose parsed url   query: null,
20 verbose parsed url   pathname: '~0.20.1',
20 verbose parsed url   path: '~0.20.1',
20 verbose parsed url   href: '~0.20.1' }
21 verbose addNamed [ 'protractor', '~0.20.1' ]
22 verbose addNamed [ null, '>=0.20.1-0 <0.21.0-0' ]
23 verbose cache add [ 'http-server@^0.6.1', null ]
24 verbose cache add name=undefined spec="http-server@^0.6.1" args=["http-server@^0.6.1",null]
25 verbose parsed url { protocol: null,
25 verbose parsed url   slashes: null,
25 verbose parsed url   auth: null,
25 verbose parsed url   host: null,
25 verbose parsed url   port: null,
25 verbose parsed url   hostname: null,
25 verbose parsed url   hash: null,
25 verbose parsed url   search: null,
25 verbose parsed url   query: null,
25 verbose parsed url   pathname: 'http-server@^0.6.1',
25 verbose parsed url   path: 'http-server@^0.6.1',
25 verbose parsed url   href: 'http-server@^0.6.1' }
26 verbose cache add name="http-server" spec="^0.6.1" args=["http-server","^0.6.1"]
27 verbose parsed url { protocol: null,
27 verbose parsed url   slashes: null,
27 verbose parsed url   auth: null,
27 verbose parsed url   host: null,
27 verbose parsed url   port: null,
27 verbose parsed url   hostname: null,
27 verbose parsed url   hash: null,
27 verbose parsed url   search: null,
27 verbose parsed url   query: null,
27 verbose parsed url   pathname: '^0.6.1',
27 verbose parsed url   path: '^0.6.1',
27 verbose parsed url   href: '^0.6.1' }
28 verbose addNamed [ 'http-server', '^0.6.1' ]
29 verbose addNamed [ null, '>=0.6.1-0 <0.7.0-0' ]
30 verbose cache add [ 'bower@^1.3.1', null ]
31 verbose cache add name=undefined spec="bower@^1.3.1" args=["bower@^1.3.1",null]
32 verbose parsed url { protocol: null,
32 verbose parsed url   slashes: null,
32 verbose parsed url   auth: null,
32 verbose parsed url   host: null,
32 verbose parsed url   port: null,
32 verbose parsed url   hostname: null,
32 verbose parsed url   hash: null,
32 verbose parsed url   search: null,
32 verbose parsed url   query: null,
32 verbose parsed url   pathname: 'bower@^1.3.1',
32 verbose parsed url   path: 'bower@^1.3.1',
32 verbose parsed url   href: 'bower@^1.3.1' }
33 verbose cache add name="bower" spec="^1.3.1" args=["bower","^1.3.1"]
34 verbose parsed url { protocol: null,
34 verbose parsed url   slashes: null,
34 verbose parsed url   auth: null,
34 verbose parsed url   host: null,
34 verbose parsed url   port: null,
34 verbose parsed url   hostname: null,
34 verbose parsed url   hash: null,
34 verbose parsed url   search: null,
34 verbose parsed url   query: null,
34 verbose parsed url   pathname: '^1.3.1',
34 verbose parsed url   path: '^1.3.1',
34 verbose parsed url   href: '^1.3.1' }
35 verbose addNamed [ 'bower', '^1.3.1' ]
36 verbose addNamed [ null, '>=1.3.1-0 <2.0.0-0' ]
37 verbose cache add [ 'shelljs@^0.2.6', null ]
38 verbose cache add name=undefined spec="shelljs@^0.2.6" args=["shelljs@^0.2.6",null]
39 verbose parsed url { protocol: null,
39 verbose parsed url   slashes: null,
39 verbose parsed url   auth: null,
39 verbose parsed url   host: null,
39 verbose parsed url   port: null,
39 verbose parsed url   hostname: null,
39 verbose parsed url   hash: null,
39 verbose parsed url   search: null,
39 verbose parsed url   query: null,
39 verbose parsed url   pathname: 'shelljs@^0.2.6',
39 verbose parsed url   path: 'shelljs@^0.2.6',
39 verbose parsed url   href: 'shelljs@^0.2.6' }
40 verbose cache add name="shelljs" spec="^0.2.6" args=["shelljs","^0.2.6"]
41 verbose parsed url { protocol: null,
41 verbose parsed url   slashes: null,
41 verbose parsed url   auth: null,
41 verbose parsed url   host: null,
41 verbose parsed url   port: null,
41 verbose parsed url   hostname: null,
41 verbose parsed url   hash: null,
41 verbose parsed url   search: null,
41 verbose parsed url   query: null,
41 verbose parsed url   pathname: '^0.2.6',
41 verbose parsed url   path: '^0.2.6',
41 verbose parsed url   href: '^0.2.6' }
42 verbose addNamed [ 'shelljs', '^0.2.6' ]
43 verbose addNamed [ null, '>=0.2.6-0 <0.3.0-0' ]
44 silly lockFile 059b5650-karma-0-10 karma@~0.10
45 verbose lock karma@~0.10 C:\Users\fgreene\AppData\Roaming\npm-cache\059b5650-karma-0-10.lock
46 silly lockFile 1727b913-protractor-0-20-1 protractor@~0.20.1
47 verbose lock protractor@~0.20.1 C:\Users\fgreene\AppData\Roaming\npm-cache\1727b913-protractor-0-20-1.lock
48 silly lockFile e7eeaefd-http-server-0-6-1 http-server@^0.6.1
49 verbose lock http-server@^0.6.1 C:\Users\fgreene\AppData\Roaming\npm-cache\e7eeaefd-http-server-0-6-1.lock
50 silly lockFile 7c83895e-bower-1-3-1 bower@^1.3.1
51 verbose lock bower@^1.3.1 C:\Users\fgreene\AppData\Roaming\npm-cache\7c83895e-bower-1-3-1.lock
52 silly lockFile cdaabbbd-shelljs-0-2-6 shelljs@^0.2.6
53 verbose lock shelljs@^0.2.6 C:\Users\fgreene\AppData\Roaming\npm-cache\cdaabbbd-shelljs-0-2-6.lock
54 silly addNameRange { name: 'karma', range: '>=0.10.0-0 <0.11.0-0', hasData: false }
55 silly addNameRange { name: 'http-server',
55 silly addNameRange   range: '>=0.6.1-0 <0.7.0-0',
55 silly addNameRange   hasData: false }
56 silly addNameRange { name: 'shelljs', range: '>=0.2.6-0 <0.3.0-0', hasData: false }
57 silly addNameRange { name: 'protractor',
57 silly addNameRange   range: '>=0.20.1-0 <0.21.0-0',
57 silly addNameRange   hasData: false }
58 silly addNameRange { name: 'bower', range: '>=1.3.1-0 <2.0.0-0', hasData: false }
59 verbose url raw karma
60 verbose url resolving [ 'https://registry.npmjs.org/', './karma' ]
61 verbose url resolved https://registry.npmjs.org/karma
62 info trying registry request attempt 1 at 07:36:34
63 http GET https://registry.npmjs.org/karma
64 verbose url raw http-server
65 verbose url resolving [ 'https://registry.npmjs.org/', './http-server' ]
66 verbose url resolved https://registry.npmjs.org/http-server
67 info trying registry request attempt 1 at 07:36:34
68 http GET https://registry.npmjs.org/http-server
69 verbose url raw shelljs
70 verbose url resolving [ 'https://registry.npmjs.org/', './shelljs' ]
71 verbose url resolved https://registry.npmjs.org/shelljs
72 info trying registry request attempt 1 at 07:36:34
73 http GET https://registry.npmjs.org/shelljs
74 verbose url raw protractor
75 verbose url resolving [ 'https://registry.npmjs.org/', './protractor' ]
76 verbose url resolved https://registry.npmjs.org/protractor
77 info trying registry request attempt 1 at 07:36:34
78 http GET https://registry.npmjs.org/protractor
79 verbose url raw bower
80 verbose url resolving [ 'https://registry.npmjs.org/', './bower' ]
81 verbose url resolved https://registry.npmjs.org/bower
82 info trying registry request attempt 1 at 07:36:34
83 http GET https://registry.npmjs.org/bower
84 info retry will retry, error on last attempt: Error: unhandled critical extension
85 info retry will retry, error on last attempt: Error: unhandled critical extension
86 info retry will retry, error on last attempt: Error: unhandled critical extension
87 info retry will retry, error on last attempt: Error: unhandled critical extension
88 info retry will retry, error on last attempt: Error: unhandled critical extension
89 info trying registry request attempt 2 at 07:36:44
90 http GET https://registry.npmjs.org/http-server
91 info trying registry request attempt 2 at 07:36:44
92 http GET https://registry.npmjs.org/karma
93 info trying registry request attempt 2 at 07:36:44
94 http GET https://registry.npmjs.org/protractor
95 info trying registry request attempt 2 at 07:36:45
96 http GET https://registry.npmjs.org/bower
97 info trying registry request attempt 2 at 07:36:45
98 http GET https://registry.npmjs.org/shelljs
99 info retry will retry, error on last attempt: Error: unhandled critical extension
100 info retry will retry, error on last attempt: Error: unhandled critical extension
101 info retry will retry, error on last attempt: Error: unhandled critical extension
102 info retry will retry, error on last attempt: Error: unhandled critical extension
103 info retry will retry, error on last attempt: Error: unhandled critical extension
104 info trying registry request attempt 3 at 07:37:45
105 http GET https://registry.npmjs.org/protractor
106 info trying registry request attempt 3 at 07:37:45
107 http GET https://registry.npmjs.org/http-server
108 info trying registry request attempt 3 at 07:37:45
109 http GET https://registry.npmjs.org/karma
110 info trying registry request attempt 3 at 07:37:45
111 http GET https://registry.npmjs.org/shelljs
112 info trying registry request attempt 3 at 07:37:45
113 http GET https://registry.npmjs.org/bower
114 silly lockFile 1727b913-protractor-0-20-1 protractor@~0.20.1
115 silly lockFile 1727b913-protractor-0-20-1 protractor@~0.20.1
116 silly lockFile e7eeaefd-http-server-0-6-1 http-server@^0.6.1
117 silly lockFile e7eeaefd-http-server-0-6-1 http-server@^0.6.1
118 silly lockFile 7c83895e-bower-1-3-1 bower@^1.3.1
119 silly lockFile 7c83895e-bower-1-3-1 bower@^1.3.1
120 silly lockFile 059b5650-karma-0-10 karma@~0.10
121 silly lockFile 059b5650-karma-0-10 karma@~0.10
122 error Error: unhandled critical extension
122 error     at SecurePair.<anonymous> (tls.js:1370:32)
122 error     at SecurePair.EventEmitter.emit (events.js:92:17)
122 error     at SecurePair.maybeInitFinished (tls.js:982:10)
122 error     at CleartextStream.read [as _read] (tls.js:469:13)
122 error     at CleartextStream.Readable.read (_stream_readable.js:320:10)
122 error     at EncryptedStream.write [as _write] (tls.js:366:25)
122 error     at doWrite (_stream_writable.js:226:10)
122 error     at writeOrBuffer (_stream_writable.js:216:5)
122 error     at EncryptedStream.Writable.write (_stream_writable.js:183:11)
122 error     at write (_stream_readable.js:582:24)
122 error     at flow (_stream_readable.js:591:7)
122 error     at Socket.pipeOnReadable (_stream_readable.js:623:5)
123 error If you need help, you may report this *entire* log,
123 error including the npm and node versions, at:
123 error     <http://github.com/npm/npm/issues>
124 error System Windows_NT 6.1.7601
125 error command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
126 error cwd C:\Users\fgreene\angular-phonecat
127 error node -v v0.10.28
128 error npm -v 1.4.9
129 verbose exit [ 1, true ]
@iarna iarna added the support label Sep 19, 2014
@smikes
smikes commented Nov 23, 2014

Is this still a problem for you?

I haven't seen this particular error before (unhandled critical extension) but there have been substantial improvements since npm@1.4.9 , mainly fixing bugs in the install command. Can you try instaling a new npm and see if the problem persists?

To update npm on Windows, follow the instructions here: https://github.com/npm/npm/wiki/Troubleshooting#upgrading-on-windows

We are trying to clean up older npm issues, so if we don't hear back from you within a week, we will close this issue. (Don't worry -- you can always come back again and re-open it!)

Thanks!

@othiym23
othiym23 commented Dec 1, 2014

Closing as abandoned. Open a new issue if you encounter this behavior again!

@othiym23 othiym23 closed this Dec 1, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.