[Pkg-javascript-devel] Bug#854966: npm always fails to connect to registry.npmjs.org for installs
Derek Cunningham
djc at te2consult.com
Sun Feb 12 16:53:47 UTC 2017
Package: npm
Version: 1.1.4~dfsg-2
Severity: important
Dear Maintainer,
This has occurred after having a number of issues installing node
and nodejs on Debian Wheezy. doing a apt-get update does not
find a newer version of npm but various forums suggest this as solution.
Bottom line npm seems not suitable for Wheezy without some
complex config issues.
-- System Information:
Debian Release: 7.11
Architecture: armhf (armv7l)
Kernel: Linux 4.1.19-v7+ (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages npm depends on:
ii node-abbrev 1.0.3-1
ii node-fstream 0.1.13-1
ii node-graceful-fs 1.1.8-1
ii node-ini 1.0.2-1
ii node-minimatch 0.2.0-1
ii node-mkdirp 0.3.1-2
ii node-node-uuid 1.2.0~20110510-2
ii node-nopt 1.0.10-2
ii node-request 2.9.153-1
ii node-rimraf 2.0.1-1
ii node-semver 1.0.13-2
ii node-tar 0.1.13-1
ii node-which 1.0.5-1
ii nodejs 0.6.19~dfsg1-6
ii nodejs-dev 0.6.19~dfsg1-6
npm recommends no packages.
Versions of packages npm suggests:
ii build-essential 11.5+b1
-- no debconf information
-------------- next part --------------
info it worked if it ends with ok
verbose cli [ '/usr/bin/nodejs', '/usr/bin/npm', 'search' ]
info using npm at 1.1.4
info using node at v0.6.19
verbose config file /root/.npmrc
verbose config file /usr/etc/npmrc
verbose config file /usr/share/npm/npmrc
verbose mkdir (expected) error ENOENT, stat '/root/.npm'
verbose mkdir (expected) error ENOENT, stat '/root/.npm/-'
verbose mkdir (expected) error ENOENT, stat '/root/.npm/-/all'
verbose mkdir done: /root/.npm/-/all 755
WARN Building the local index for the first time, please be patient
verbose raw, before any munging /-/all
verbose url resolving [ 'https://registry.npmjs.org/', './-/all' ]
verbose url resolved https://registry.npmjs.org/-/all
http GET https://registry.npmjs.org/-/all
ERR! Error: SSL Error: CERT_UNTRUSTED
ERR! at ClientRequest.<anonymous> (/usr/lib/nodejs/request/main.js:412:26)
ERR! at ClientRequest.g (events.js:156:14)
ERR! at ClientRequest.emit (events.js:67:17)
ERR! at HTTPParser.parserOnIncomingClient [as onIncoming] (http.js:1256:7)
ERR! at HTTPParser.parserOnHeadersComplete [as onHeadersComplete] (http.js:91:29)
ERR! at CleartextStream.socketOnData [as ondata] (http.js:1288:20)
ERR! at CleartextStream._push (tls.js:375:27)
ERR! at SecurePair.cycle (tls.js:734:20)
ERR! at EncryptedStream.write (tls.js:130:13)
ERR! at Socket.ondata (stream.js:38:26)
ERR! You may report this log at:
ERR! <http://bugs.debian.org/npm>
ERR! or use
ERR! reportbug --attach /home/pi/npm-debug.log npm
ERR!
ERR! System Linux 4.1.19-v7+
ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "search"
ERR! cwd /home/pi
ERR! node -v v0.6.19
ERR! npm -v 1.1.4
ERR! message SSL Error: CERT_UNTRUSTED
verbose exit [ 1, true ]
More information about the Pkg-javascript-devel
mailing list