Re: Unable to install anything using npm

1,432 views
Skip to first unread message

mscdex

unread,
Jul 10, 2012, 1:24:12 AM7/10/12
to nodejs
On Jul 9, 11:01 pm, Harlan Bloom <har...@bloomenterprises.org> wrote:
> npm ERR! npm -v 1.1.1

That's a very old version of npm. Have you tried updating it? Since
you aren't able to install anything, you may have to execute the
installer script from npmjs.org manually [1].

[1] http://npmjs.org/install.sh

mscdex

unread,
Jul 10, 2012, 1:25:24 AM7/10/12
to nodejs
Additionally, it may be worthwhile if you could post the contents of
the resulting npm-debug.log somewhere.

Harlan H. Bloom

unread,
Jul 10, 2012, 8:15:46 AM7/10/12
to nod...@googlegroups.com
I downloaded the lastest version of npm from the website this morning.  Here is the install output:

isaacs-npm-103d049$ make install
scripts/doc-build.sh doc/api/restart.md man/man3/restart.3
make[1]: Entering directory `/data/home/harlan/Downloads/development/javascript/isaacs-npm-103d049'
node cli.js install https://github.com/isaacs/ronnjs/tarball/master
npm http GET https://github.com/isaacs/ronnjs/tarball/master
npm http 200 https://github.com/isaacs/ronnjs/tarball/master
npm http GET https://registry.npmjs.org/opts
npm http GET https://registry.npmjs.org/opts
npm http GET https://registry.npmjs.org/opts
npm ERR! Error: SSL Error: CERT_HAS_EXPIRED
npm ERR!     at ClientRequest.<anonymous> (/data/home/harlan/Downloads/development/javascript/isaacs-npm-103d049/node_modules/request/main.js:440:26)
npm ERR!     at ClientRequest.g (events.js:185:14)
npm ERR!     at ClientRequest.EventEmitter.emit (events.js:88:17)
npm ERR!     at HTTPParser.parserOnIncomingClient (http.js:1445:7)
npm ERR!     at HTTPParser.parserOnHeadersComplete [as onHeadersComplete] (http.js:111:23)
npm ERR!     at CleartextStream.socketOnData (http.js:1356:20)
npm ERR!     at CleartextStream.CryptoStream._push (tls.js:396:27)
npm ERR!     at SecurePair.cycle (tls.js:750:20)
npm ERR!     at EncryptedStream.CryptoStream.write (tls.js:131:13)
npm ERR!     at Socket.ondata (stream.js:38:26)
npm ERR!  [Error: SSL Error: CERT_HAS_EXPIRED]
npm ERR! You may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <np...@googlegroups.com>

npm ERR! System Linux 2.6.38-15-server
npm ERR! command "node" "/data/home/harlan/Downloads/development/javascript/isaacs-npm-103d049/cli.js" "install" "https://github.com/isaacs/ronnjs/tarball/master"
npm ERR! cwd /data/home/harlan/Downloads/development/javascript/isaacs-npm-103d049
npm ERR! node -v v0.8.2
npm ERR! npm -v 1.1.36
npm ERR! message SSL Error: CERT_HAS_EXPIRED
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /data/home/harlan/Downloads/development/javascript/isaacs-npm-103d049/npm-debug.log
npm ERR! not ok code 0
make[1]: *** [node_modules/.bin/ronn] Error 1
make[1]: Leaving directory `/data/home/harlan/Downloads/development/javascript/isaacs-npm-103d049'
make: *** [man/man3/restart.3] Error 2


Here is the corresponding npm-debug.log file:

0 info it worked if it ends with ok
1 verbose cli [ 'node',
1 verbose cli   '/data/home/harlan/Downloads/development/javascript/isaacs-npm-103d049/cli.js',
1 verbose cli   'install',
1 verbose cli   'https://github.com/isaacs/ronnjs/tarball/master' ]
2 info using n...@1.1.36
3 info using no...@v0.8.2
4 verbose config file /data/home/harlan/.npmrc
5 verbose config file /usr/local/etc/npmrc
6 verbose config file /data/home/harlan/Downloads/development/javascript/isaacs-npm-103d049/npmrc
7 verbose read json /data/home/harlan/Downloads/development/javascript/isaacs-npm-103d049/package.json
8 verbose read json /data/home/harlan/Downloads/development/javascript/isaacs-npm-103d049/node_modules/init-package-json/package.json
9 verbose read json /data/home/harlan/Downloads/development/javascript/isaacs-npm-103d049/node_modules/npm-registry-client/package.json
10 verbose read json /data/home/harlan/Downloads/development/javascript/isaacs-npm-103d049/node_modules/ansi/package.json
11 verbose read json /data/home/harlan/Downloads/development/javascript/isaacs-npm-103d049/node_modules/read-package-json/package.json
12 verbose read json /data/home/harlan/Downloads/development/javascript/isaacs-npm-103d049/node_modules/fstream-npm/package.json
13 verbose read json /data/home/harlan/Downloads/development/javascript/isaacs-npm-103d049/node_modules/request/package.json
14 verbose read json /data/home/harlan/Downloads/development/javascript/isaacs-npm-103d049/node_modules/slide/package.json
15 verbose read json /data/home/harlan/Downloads/development/javascript/isaacs-npm-103d049/node_modules/osenv/package.json
16 verbose read json /data/home/harlan/Downloads/development/javascript/isaacs-npm-103d049/node_modules/block-stream/package.json
17 verbose read json /data/home/harlan/Downloads/development/javascript/isaacs-npm-103d049/node_modules/uid-number/package.json
18 verbose read json /data/home/harlan/Downloads/development/javascript/isaacs-npm-103d049/node_modules/mkdirp/package.json
19 verbose read json /data/home/harlan/Downloads/development/javascript/isaacs-npm-103d049/node_modules/graceful-fs/package.json
20 verbose read json /data/home/harlan/Downloads/development/javascript/isaacs-npm-103d049/node_modules/nopt/package.json
21 verbose read json /data/home/harlan/Downloads/development/javascript/isaacs-npm-103d049/node_modules/abbrev/package.json
22 verbose read json /data/home/harlan/Downloads/development/javascript/isaacs-npm-103d049/node_modules/npmlog/package.json
23 verbose read json /data/home/harlan/Downloads/development/javascript/isaacs-npm-103d049/node_modules/inherits/package.json
24 verbose read json /data/home/harlan/Downloads/development/javascript/isaacs-npm-103d049/node_modules/archy/package.json
25 verbose read json /data/home/harlan/Downloads/development/javascript/isaacs-npm-103d049/node_modules/proto-list/package.json
26 verbose read json /data/home/harlan/Downloads/development/javascript/isaacs-npm-103d049/node_modules/glob/package.json
27 verbose read json /data/home/harlan/Downloads/development/javascript/isaacs-npm-103d049/node_modules/lru-cache/package.json
28 verbose read json /data/home/harlan/Downloads/development/javascript/isaacs-npm-103d049/node_modules/read-installed/package.json
29 verbose read json /data/home/harlan/Downloads/development/javascript/isaacs-npm-103d049/node_modules/fstream/package.json
30 verbose read json /data/home/harlan/Downloads/development/javascript/isaacs-npm-103d049/node_modules/couch-login/package.json
31 verbose read json /data/home/harlan/Downloads/development/javascript/isaacs-npm-103d049/node_modules/semver/package.json
32 verbose read json /data/home/harlan/Downloads/development/javascript/isaacs-npm-103d049/node_modules/rimraf/package.json
33 verbose read json /data/home/harlan/Downloads/development/javascript/isaacs-npm-103d049/node_modules/read/package.json
34 verbose read json /data/home/harlan/Downloads/development/javascript/isaacs-npm-103d049/node_modules/retry/package.json
35 verbose read json /data/home/harlan/Downloads/development/javascript/isaacs-npm-103d049/node_modules/minimatch/package.json
36 verbose read json /data/home/harlan/Downloads/development/javascript/isaacs-npm-103d049/node_modules/node-uuid/package.json
37 verbose read json /data/home/harlan/Downloads/development/javascript/isaacs-npm-103d049/node_modules/tar/package.json
38 verbose read json /data/home/harlan/Downloads/development/javascript/isaacs-npm-103d049/node_modules/lockfile/package.json
39 verbose read json /data/home/harlan/Downloads/development/javascript/isaacs-npm-103d049/node_modules/which/package.json
40 verbose read json /data/home/harlan/Downloads/development/javascript/isaacs-npm-103d049/node_modules/ini/package.json
41 verbose read json /data/home/harlan/Downloads/development/javascript/isaacs-npm-103d049/node_modules/node-gyp/package.json
42 verbose read json /data/home/harlan/Downloads/development/javascript/isaacs-npm-103d049/node_modules/chownr/package.json
43 verbose from cache /data/home/harlan/Downloads/development/javascript/isaacs-npm-103d049/package.json
44 verbose readDependencies using package.json deps
45 verbose cache add [ 'https://github.com/isaacs/ronnjs/tarball/master', null ]
46 silly cache add name=undefined spec="https://github.com/isaacs/ronnjs/tarball/master" args=["https://github.com/isaacs/ronnjs/tarball/master",null]
47 verbose parsed url { protocol: 'https:',
47 verbose parsed url   slashes: true,
47 verbose parsed url   host: 'github.com',
47 verbose parsed url   hostname: 'github.com',
47 verbose parsed url   href: 'https://github.com/isaacs/ronnjs/tarball/master',
47 verbose parsed url   pathname: '/isaacs/ronnjs/tarball/master',
47 verbose parsed url   path: '/isaacs/ronnjs/tarball/master' }
48 silly lockFile d2b3da2e-com-isaacs-ronnjs-tarball-master https://github.com/isaacs/ronnjs/tarball/master
49 verbose lock https://github.com/isaacs/ronnjs/tarball/master /data/home/harlan/.npm/d2b3da2e-com-isaacs-ronnjs-tarball-master.lock
50 verbose addRemoteTarball [ 'https://github.com/isaacs/ronnjs/tarball/master', null ]
51 info retry fetch attempt 1 at 06:08:22
52 verbose fetch to= /data/home/harlan/tmp/npm-32584/1341918502524-0.31652130582369864/tmp.tgz
53 http GET https://github.com/isaacs/ronnjs/tarball/master
54 http 200 https://github.com/isaacs/ronnjs/tarball/master
55 verbose tar unpack /data/home/harlan/tmp/npm-32584/1341918502524-0.31652130582369864/tmp.tgz
56 silly lockFile 00857de0-2524-0-31652130582369864-package /data/home/harlan/tmp/npm-32584/1341918502524-0.31652130582369864/package
57 verbose lock /data/home/harlan/tmp/npm-32584/1341918502524-0.31652130582369864/package /data/home/harlan/.npm/00857de0-2524-0-31652130582369864-package.lock
58 silly gunzTarPerm modes [ '755', '644' ]
59 silly gunzTarPerm extractEntry
60 silly gunzTarPerm modified mode [ '', 509, 493 ]
61 silly gunzTarPerm extractEntry .gitignore
62 silly gunzTarPerm modified mode [ '.gitignore', 436, 420 ]
63 silly gunzTarPerm extractEntry .npmignore
64 silly gunzTarPerm modified mode [ '.npmignore', 436, 420 ]
65 silly gunzTarPerm extractEntry CHANGES
66 silly gunzTarPerm modified mode [ 'CHANGES', 436, 420 ]
67 silly gunzTarPerm extractEntry LICENSE
68 silly gunzTarPerm modified mode [ 'LICENSE', 436, 420 ]
69 silly gunzTarPerm extractEntry README.md
70 silly gunzTarPerm modified mode [ 'README.md', 436, 420 ]
71 silly gunzTarPerm extractEntry TODO
72 silly gunzTarPerm modified mode [ 'TODO', 436, 420 ]
73 silly gunzTarPerm extractEntry bin/
74 silly gunzTarPerm modified mode [ 'bin/', 509, 493 ]
75 silly gunzTarPerm extractEntry bin/ronn.js
76 silly gunzTarPerm modified mode [ 'bin/ronn.js', 509, 493 ]
77 silly gunzTarPerm extractEntry lib/
78 silly gunzTarPerm modified mode [ 'lib/', 509, 493 ]
79 silly gunzTarPerm extractEntry lib/ext/
80 silly gunzTarPerm modified mode [ 'lib/ext/', 509, 493 ]
81 silly gunzTarPerm extractEntry lib/ext/markdown.js
82 silly gunzTarPerm modified mode [ 'lib/ext/markdown.js', 436, 420 ]
83 silly gunzTarPerm extractEntry lib/ronn.js
84 silly gunzTarPerm modified mode [ 'lib/ronn.js', 436, 420 ]
85 silly gunzTarPerm extractEntry package.json
86 silly gunzTarPerm modified mode [ 'package.json', 436, 420 ]
87 verbose read json /data/home/harlan/tmp/npm-32584/1341918502524-0.31652130582369864/package/package.json
88 silly lockFile 00857de0-2524-0-31652130582369864-package /data/home/harlan/tmp/npm-32584/1341918502524-0.31652130582369864/package
89 verbose from cache /data/home/harlan/tmp/npm-32584/1341918502524-0.31652130582369864/package/package.json
90 verbose tar pack [ '/data/home/harlan/.npm/ronn/0.3.7/package.tgz',
90 verbose tar pack   '/data/home/harlan/tmp/npm-32584/1341918502524-0.31652130582369864/package' ]
91 verbose tarball /data/home/harlan/.npm/ronn/0.3.7/package.tgz
92 verbose folder /data/home/harlan/tmp/npm-32584/1341918502524-0.31652130582369864/package
93 silly lockFile ba7d2867-arlan-npm-ronn-0-3-7-package-tgz /data/home/harlan/.npm/ronn/0.3.7/package.tgz
94 verbose lock /data/home/harlan/.npm/ronn/0.3.7/package.tgz /data/home/harlan/.npm/ba7d2867-arlan-npm-ronn-0-3-7-package-tgz.lock
95 silly lockFile ba7d2867-arlan-npm-ronn-0-3-7-package-tgz /data/home/harlan/.npm/ronn/0.3.7/package.tgz
96 silly lockFile d89a5616-me-harlan-npm-ronn-0-3-7-package /data/home/harlan/.npm/ronn/0.3.7/package
97 verbose lock /data/home/harlan/.npm/ronn/0.3.7/package /data/home/harlan/.npm/d89a5616-me-harlan-npm-ronn-0-3-7-package.lock
98 silly lockFile d89a5616-me-harlan-npm-ronn-0-3-7-package /data/home/harlan/.npm/ronn/0.3.7/package
99 verbose tar unpack /data/home/harlan/.npm/ronn/0.3.7/package.tgz
100 silly lockFile d89a5616-me-harlan-npm-ronn-0-3-7-package /data/home/harlan/.npm/ronn/0.3.7/package
101 verbose lock /data/home/harlan/.npm/ronn/0.3.7/package /data/home/harlan/.npm/d89a5616-me-harlan-npm-ronn-0-3-7-package.lock
102 silly gunzTarPerm modes [ '755', '644' ]
103 silly gunzTarPerm extractEntry package.json
104 silly gunzTarPerm extractEntry .npmignore
105 silly gunzTarPerm extractEntry README.md
106 silly gunzTarPerm extractEntry LICENSE
107 silly gunzTarPerm extractEntry CHANGES
108 silly gunzTarPerm extractEntry bin/ronn.js
109 silly gunzTarPerm extractEntry TODO
110 silly gunzTarPerm extractEntry lib/ronn.js
111 silly gunzTarPerm extractEntry lib/ext/markdown.js
112 verbose read json /data/home/harlan/.npm/ronn/0.3.7/package/package.json
113 silly lockFile d89a5616-me-harlan-npm-ronn-0-3-7-package /data/home/harlan/.npm/ronn/0.3.7/package
114 silly shasum updated bytes 19834
115 info shasum da96eda3c657087cc2f771b2a1b6c113b8abc724
115 info shasum /data/home/harlan/.npm/ronn/0.3.7/package.tgz
116 verbose from cache /data/home/harlan/.npm/ronn/0.3.7/package/package.json
117 verbose chmod /data/home/harlan/.npm/ronn/0.3.7/package.tgz 644
118 verbose chown /data/home/harlan/.npm/ronn/0.3.7/package.tgz [ 1000, 1000 ]
119 silly lockFile d2b3da2e-com-isaacs-ronnjs-tarball-master https://github.com/isaacs/ronnjs/tarball/master
120 silly resolved [ { name: 'ronn',
120 silly resolved     version: '0.3.7',
120 silly resolved     description: 'markdown to roff and html converter',
120 silly resolved     keywords: [ 'markdown', 'roff', 'man', 'documentation' ],
120 silly resolved     main: 'lib/ronn',
120 silly resolved     directories: { lib: 'lib' },
120 silly resolved     engines: { node: '>=0.1.103' },
120 silly resolved     bin: { ronn: './bin/ronn.js' },
120 silly resolved     dependencies: { opts: '>=1.2.0' },
120 silly resolved     contributors: [ [Object], [Object] ],
120 silly resolved     licenses: [ [Object] ],
120 silly resolved     repositories: [ [Object] ],
120 silly resolved     readme: 'ronnjs(1) -- markdown to roff/html converter\n=======================================\n\n## Synopsis\n\nJavascript port of [ronn], using [markdown-js] to produce roff man pages.\nNot fully compatible with [ronn], although it aims to be, wherever possible.\n\n## Usage\n\nThis outputs doc.roff from a markdown file :\n\n\tronn.js --build --roff doc.md\n\nCommand-line options are listed with --help\n\nWhen file argument is omitted, ronn.js reads standard input.\n\n\n## How it works ?\n\n[markdown-js] parses markdown text to a document model, which in turn is\nused to ouput a man page.\n\n\n[ronn]: \t\thttp://github.com/rtomayko/ronn\n[markdown-js]:\thttp://github.com/evilstreak/markdown-js\n',
120 silly resolved     _id: 'ro...@0.3.7',
120 silly resolved     dist: { shasum: 'da96eda3c657087cc2f771b2a1b6c113b8abc724' },
120 silly resolved     _from: 'https://github.com/isaacs/ronnjs/tarball/master' } ]
121 info install ro...@0.3.7 into /data/home/harlan/Downloads/development/javascript/isaacs-npm-103d049
122 info installOne ro...@0.3.7
123 verbose from cache /data/home/harlan/.npm/ronn/0.3.7/package/package.json
124 info /data/home/harlan/Downloads/development/javascript/isaacs-npm-103d049/node_modules/ronn unbuild
125 verbose read json /data/home/harlan/Downloads/development/javascript/isaacs-npm-103d049/node_modules/ronn/package.json
126 verbose tar unpack /data/home/harlan/.npm/ronn/0.3.7/package.tgz
127 silly lockFile 54c8c85a-cs-npm-103d049-node-modules-ronn /data/home/harlan/Downloads/development/javascript/isaacs-npm-103d049/node_modules/ronn
128 verbose lock /data/home/harlan/Downloads/development/javascript/isaacs-npm-103d049/node_modules/ronn /data/home/harlan/.npm/54c8c85a-cs-npm-103d049-node-modules-ronn.lock
129 silly gunzTarPerm modes [ '755', '644' ]
130 silly gunzTarPerm extractEntry package.json
131 silly gunzTarPerm extractEntry .npmignore
132 silly gunzTarPerm extractEntry README.md
133 silly gunzTarPerm extractEntry LICENSE
134 silly gunzTarPerm extractEntry CHANGES
135 silly gunzTarPerm extractEntry bin/ronn.js
136 silly gunzTarPerm extractEntry TODO
137 silly gunzTarPerm extractEntry lib/ronn.js
138 silly gunzTarPerm extractEntry lib/ext/markdown.js
139 verbose read json /data/home/harlan/Downloads/development/javascript/isaacs-npm-103d049/node_modules/ronn/package.json
140 silly lockFile 54c8c85a-cs-npm-103d049-node-modules-ronn /data/home/harlan/Downloads/development/javascript/isaacs-npm-103d049/node_modules/ronn
141 info preinstall ro...@0.3.7
142 verbose from cache /data/home/harlan/Downloads/development/javascript/isaacs-npm-103d049/node_modules/ronn/package.json
143 verbose readDependencies using package.json deps
144 verbose from cache /data/home/harlan/Downloads/development/javascript/isaacs-npm-103d049/node_modules/ronn/package.json
145 verbose readDependencies using package.json deps
146 verbose cache add [ 'opts@>=1.2.0', null ]
147 silly cache add name=undefined spec="opts@>=1.2.0" args=["opts@>=1.2.0",null]
148 verbose parsed url { pathname: 'opts@%3E=1.2.0',
148 verbose parsed url   path: 'opts@%3E=1.2.0',
148 verbose parsed url   href: 'opts@%3E=1.2.0' }
149 silly cache add name="opts" spec=">=1.2.0" args=["opts",">=1.2.0"]
150 verbose parsed url { pathname: '%3E=1.2.0', path: '%3E=1.2.0', href: '%3E=1.2.0' }
151 verbose addNamed [ 'opts', '>=1.2.0' ]
152 verbose addNamed [ null, '>=1.2.0' ]
153 silly lockFile d50a14af-opts-1-2-0 opts@>=1.2.0
154 verbose lock opts@>=1.2.0 /data/home/harlan/.npm/d50a14af-opts-1-2-0.lock
155 silly addNameRange { name: 'opts', range: '>=1.2.0', hasData: false }
156 verbose url raw opts
157 verbose url resolving [ 'https://registry.npmjs.org/', './opts' ]
158 verbose url resolved https://registry.npmjs.org/opts
159 info retry registry request attempt 1 at 06:08:24
160 http GET https://registry.npmjs.org/opts
161 info retry will retry, error on last attempt: Error: SSL Error: CERT_HAS_EXPIRED
162 info retry registry request attempt 2 at 06:08:34
163 http GET https://registry.npmjs.org/opts
164 info retry will retry, error on last attempt: Error: SSL Error: CERT_HAS_EXPIRED
165 info retry registry request attempt 3 at 06:09:34
166 http GET https://registry.npmjs.org/opts
167 silly lockFile d50a14af-opts-1-2-0 opts@>=1.2.0
168 verbose about to build /data/home/harlan/Downloads/development/javascript/isaacs-npm-103d049/node_modules/ronn
169 info /data/home/harlan/Downloads/development/javascript/isaacs-npm-103d049/node_modules/ronn unbuild
170 verbose from cache /data/home/harlan/Downloads/development/javascript/isaacs-npm-103d049/node_modules/ronn/package.json
171 info preuninstall ro...@0.3.7
172 info uninstall ro...@0.3.7
173 verbose true,/data/home/harlan/Downloads/development/javascript/isaacs-npm-103d049/node_modules,/data/home/harlan/Downloads/development/javascript/isaacs-npm-103d049/node_modules unbuild ro...@0.3.7
174 verbose /data/home/harlan/Downloads/development/javascript/isaacs-npm-103d049/node_modules/.bin,[object Object] binRoot
175 info postuninstall ro...@0.3.7
176 error Error: SSL Error: CERT_HAS_EXPIRED
176 error     at ClientRequest.<anonymous> (/data/home/harlan/Downloads/development/javascript/isaacs-npm-103d049/node_modules/request/main.js:440:26)
176 error     at ClientRequest.g (events.js:185:14)
176 error     at ClientRequest.EventEmitter.emit (events.js:88:17)
176 error     at HTTPParser.parserOnIncomingClient (http.js:1445:7)
176 error     at HTTPParser.parserOnHeadersComplete [as onHeadersComplete] (http.js:111:23)
176 error     at CleartextStream.socketOnData (http.js:1356:20)
176 error     at CleartextStream.CryptoStream._push (tls.js:396:27)
176 error     at SecurePair.cycle (tls.js:750:20)
176 error     at EncryptedStream.CryptoStream.write (tls.js:131:13)
176 error     at Socket.ondata (stream.js:38:26)
176 error  [Error: SSL Error: CERT_HAS_EXPIRED]
177 error You may report this log at:
177 error     <http://github.com/isaacs/npm/issues>
177 error or email it to:
177 error     <np...@googlegroups.com>
178 error System Linux 2.6.38-15-server
179 error command "node" "/data/home/harlan/Downloads/development/javascript/isaacs-npm-103d049/cli.js" "install" "https://github.com/isaacs/ronnjs/tarball/master"
180 error cwd /data/home/harlan/Downloads/development/javascript/isaacs-npm-103d049
181 error node -v v0.8.2
182 error npm -v 1.1.36
183 error message SSL Error: CERT_HAS_EXPIRED
184 verbose exit [ 1, true ]


I've gotten the CERT_HAS_EXPIRED several times while trying to install modules using npm in the past week or so.

Thank You all for your help!!!

Harlan...


isaacs-npm-103d049$ make install
scripts/doc-build.sh doc/api/restart.md man/man3/restart.3
make[1]: Entering directory `/data/home/harlan/Downloads/development/javascript/isaacs-npm-103d049'
node cli.js install https://github.com/isaacs/ronnjs/tarball/master
npm http GET https://github.com/isaacs/ronnjs/tarball/master
npm http 200 https://github.com/isaacs/ronnjs/tarball/master
npm http GET https://registry.npmjs.org/opts
npm http GET https://registry.npmjs.org/opts
npm http GET https://registry.npmjs.org/opts
npm ERR! Error: SSL Error: CERT_HAS_EXPIRED
npm ERR!     at ClientRequest.<anonymous> (/data/home/harlan/Downloads/development/javascript/isaacs-npm-103d049/node_modules/request/main.js:440:26)
npm ERR!     at ClientRequest.g (events.js:185:14)
npm ERR!     at ClientRequest.EventEmitter.emit (events.js:88:17)
npm ERR!     at HTTPParser.parserOnIncomingClient (http.js:1445:7)
npm ERR!     at HTTPParser.parserOnHeadersComplete [as onHeadersComplete] (http.js:111:23)
npm ERR!     at CleartextStream.socketOnData (http.js:1356:20)
npm ERR!     at CleartextStream.CryptoStream._push (tls.js:396:27)
npm ERR!     at SecurePair.cycle (tls.js:750:20)
npm ERR!     at EncryptedStream.CryptoStream.write (tls.js:131:13)
npm ERR!     at Socket.ondata (stream.js:38:26)
npm ERR!  [Error: SSL Error: CERT_HAS_EXPIRED]
npm ERR! You may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <np...@googlegroups.com>

npm ERR! System Linux 2.6.38-15-server
npm ERR! command "node" "/data/home/harlan/Downloads/development/javascript/isaacs-npm-103d049/cli.js" "install" "https://github.com/isaacs/ronnjs/tarball/master"
npm ERR! cwd /data/home/harlan/Downloads/development/javascript/isaacs-npm-103d049
npm ERR! node -v v0.8.2
npm ERR! npm -v 1.1.36
npm ERR! message SSL Error: CERT_HAS_EXPIRED
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /data/home/harlan/Downloads/development/javascript/isaacs-npm-103d049/npm-debug.log
npm ERR! not ok code 0
make[1]: *** [node_modules/.bin/ronn] Error 1
make[1]: Leaving directory `/data/home/harlan/Downloads/development/javascript/isaacs-npm-103d049'
make: *** [man/man3/restart.3] Error 2



From: "mscdex" <msc...@gmail.com>
To: "nodejs" <nod...@googlegroups.com>
Sent: Tuesday, July 10, 2012 12:25:24 AM
Subject: [nodejs] Re: Unable to install anything using npm
--
Job Board: http://jobs.nodejs.org/
Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nod...@googlegroups.com
To unsubscribe from this group, send email to
nodejs+un...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

ec.developer

unread,
Jul 10, 2012, 8:36:39 AM7/10/12
to nod...@googlegroups.com
Have you tried to update the npm instead of installing newer version? 
Try sudo npm -g update npm

On Tuesday, July 10, 2012 6:01:57 AM UTC+3, Harlan Bloom wrote:
I am unable to use npm to install anything.  I have cleared the cache several times using "npm cache clean".

visionmedia-express-5426eb0$ npm install
npm http GET https://registry.npmjs.org/connect/2.3.7
npm http GET https://registry.npmjs.org/commander/0.6.1
npm http GET https://registry.npmjs.org/range-parser/0.0.4
npm http GET https://registry.npmjs.org/response-send/0.0.1
npm http GET https://registry.npmjs.org/mkdirp/0.3.3
npm http GET https://registry.npmjs.org/cookie/0.0.3
npm http GET https://registry.npmjs.org/fresh/0.1.0
npm http GET https://registry.npmjs.org/methods/0.0.1
npm http GET https://registry.npmjs.org/debug
npm http GET https://registry.npmjs.org/ejs
npm http GET https://registry.npmjs.org/mocha
npm http GET https://registry.npmjs.org/jade
npm http GET https://registry.npmjs.org/hjs
npm http GET https://registry.npmjs.org/stylus
npm http GET https://registry.npmjs.org/should
npm http GET https://registry.npmjs.org/connect-redis
npm http GET https://registry.npmjs.org/github-flavored-markdown
npm http GET https://registry.npmjs.org/supertest/0.0.1

npm ERR! Error: failed to fetch from registry: connect/2.3.7
npm ERR!     at /usr/local/lib/node_modules/npm/lib/utils/npm-registry-client/get.js:139:12
npm ERR!     at cb (/usr/local/lib/node_modules/npm/lib/utils/npm-registry-client/request.js:32:9)
npm ERR!     at Request._callback (/usr/local/lib/node_modules/npm/lib/utils/npm-registry-client/request.js:137:18)
npm ERR!     at Request.request.self.callback (/usr/local/lib/node_modules/npm/node_modules/request/main.js:109:22)
npm ERR!     at Request.request.self.headers.content-type (/usr/local/lib/node_modules/npm/node_modules/request/main.js:198:58)
npm ERR!     at Request.EventEmitter.emit (events.js:115:20)
npm ERR!     at ClientRequest.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/request/main.js:356:14)

npm ERR!     at ClientRequest.g (events.js:185:14)
npm ERR!     at ClientRequest.EventEmitter.emit (events.js:88:17)
npm ERR!     at HTTPParser.parserOnIncomingClient [as onIncoming] (http.js:1445:7)

npm ERR! You may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <np...@googlegroups.com>
npm ERR!
npm ERR! System Linux 2.6.38-15-server
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! cwd /data/home/harlan/Downloads/development/javascript/node_modules/visionmedia-express-5426eb0
npm ERR! node -v v0.8.0

npm ERR! npm -v 1.1.1
npm ERR! message failed to fetch from registry: connect/2.3.7

npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /data/home/harlan/Downloads/development/javascript/node_modules/visionmedia-express-5426eb0/npm-debug.log
npm not ok


  Any ideas or suggestions?

Thanks,

Harlan...

mscdex

unread,
Jul 10, 2012, 10:43:00 AM7/10/12
to nodejs
On Jul 10, 8:36 am, "ec.developer" <ec.develo...@gmail.com> wrote:
> Have you tried to update the npm instead of installing newer version?
> Try sudo npm -g update npm

Kind of hard to do if he can't retrieve anything from npm ;-)

cayasso

unread,
Aug 15, 2012, 1:05:57 AM8/15/12
to nod...@googlegroups.com
Make sure you have the correct date and time on your machine!

JB
Reply all
Reply to author
Forward
0 new messages