[Pkg-javascript-devel] Bug#801897: TypeError: Request path contains unescaped characters

Stephen Kitt skitt at debian.org
Thu Oct 15 18:29:02 UTC 2015


Package: npm
Version: 1.4.21+ds-2
Severity: normal

Dear Maintainer,

    npm view keybase

now produces the following error:

npm ERR! TypeError: Request path contains unescaped characters.
npm ERR!     at new ClientRequest (_http_client.js:51:11)
npm ERR!     at TunnelingAgent.exports.request (http.js:31:10)
npm ERR!     at TunnelingAgent.createSocket (/usr/lib/nodejs/tunnel-agent/index.js:117:25)
npm ERR!     at TunnelingAgent.createSecureSocket [as createSocket] (/usr/lib/nodejs/tunnel-agent/index.js:184:41)
npm ERR!     at TunnelingAgent.addRequest (/usr/lib/nodejs/tunnel-agent/index.js:80:8)
npm ERR!     at new ClientRequest (_http_client.js:133:16)
npm ERR!     at Object.exports.request (http.js:31:10)
npm ERR!     at Object.exports.request (https.js:163:15)
npm ERR!     at Request.start (/usr/lib/nodejs/request/index.js:607:30)
npm ERR!     at Request.end (/usr/lib/nodejs/request/index.js:1235:28)
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>

npm ERR! System Linux 4.1.0-2-amd64
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "view" "keybase"
npm ERR! cwd /home/steve/Debian/keybase
npm ERR! node -v v4.1.1
npm ERR! npm -v 1.4.21
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /home/steve/Debian/keybase/npm-debug.log
npm ERR! not ok code 0

I'm attaching the debug log.

Regards,

Stephen


-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable'), (200, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.1.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages npm depends on:
ii  node-abbrev               1.0.5-2
ii  node-ansi                 0.3.0-2
ii  node-ansi-color-table     1.0.0-1
ii  node-archy                0.0.2-1
ii  node-block-stream         0.0.7-1
ii  node-fstream              0.1.24-1
ii  node-fstream-ignore       0.0.6-2
ii  node-github-url-from-git  1.1.1-1
ii  node-glob                 4.0.5-1
ii  node-graceful-fs          3.0.2-1
ii  node-gyp                  3.0.3-2
ii  node-inherits             2.0.1-3
ii  node-ini                  1.1.0-1
ii  node-lockfile             0.4.1-1
ii  node-lru-cache            2.3.1-1
ii  node-minimatch            1.0.0-1
ii  node-mkdirp               0.5.0-1
ii  node-nopt                 3.0.1-1
ii  node-npmlog               0.0.4-1
ii  node-once                 1.1.1-1
ii  node-osenv                0.1.0-1
ii  node-read                 1.0.5-1
ii  node-read-package-json    1.2.4-1
ii  node-request              2.26.1-1
ii  node-retry                0.6.0-1
ii  node-rimraf               2.2.8-1
ii  node-semver               2.1.0-2
ii  node-sha                  1.2.3-1
ii  node-slide                1.1.4-1
ii  node-tar                  1.0.3-2
ii  node-underscore           1.7.0~dfsg-1
ii  node-which                1.0.5-2
ii  nodejs                    4.1.1~dfsg-3

npm recommends no packages.

npm suggests no packages.

-- no debconf information
-------------- next part --------------
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/nodejs', '/usr/bin/npm', 'view', 'keybase' ]
2 info using npm at 1.4.21
3 info using node at v4.1.1
4 verbose request where is /keybase
5 verbose request registry https://registry.npmjs.org/
6 verbose request id ab667c259a85ed77
7 verbose url raw /keybase
8 verbose url resolving [ 'https://registry.npmjs.org/', './keybase' ]
9 verbose url resolved https://registry.npmjs.org/keybase
10 verbose request where is https://registry.npmjs.org/keybase
11 info trying registry request attempt 1 at 20:27:06
12 verbose etag "1WS3R8IPGGL59P0LA9CS36VSS"
13 http GET https://registry.npmjs.org/keybase
14 error TypeError: Request path contains unescaped characters.
14 error     at new ClientRequest (_http_client.js:51:11)
14 error     at TunnelingAgent.exports.request (http.js:31:10)
14 error     at TunnelingAgent.createSocket (/usr/lib/nodejs/tunnel-agent/index.js:117:25)
14 error     at TunnelingAgent.createSecureSocket [as createSocket] (/usr/lib/nodejs/tunnel-agent/index.js:184:41)
14 error     at TunnelingAgent.addRequest (/usr/lib/nodejs/tunnel-agent/index.js:80:8)
14 error     at new ClientRequest (_http_client.js:133:16)
14 error     at Object.exports.request (http.js:31:10)
14 error     at Object.exports.request (https.js:163:15)
14 error     at Request.start (/usr/lib/nodejs/request/index.js:607:30)
14 error     at Request.end (/usr/lib/nodejs/request/index.js:1235:28)
15 error If you need help, you may report this *entire* log,
15 error including the npm and node versions, at:
15 error     <http://github.com/npm/npm/issues>
16 error System Linux 4.1.0-2-amd64
17 error command "/usr/bin/nodejs" "/usr/bin/npm" "view" "keybase"
18 error cwd /home/steve/Debian/keybase
19 error node -v v4.1.1
20 error npm -v 1.4.21
21 verbose exit [ 1, true ]


More information about the Pkg-javascript-devel mailing list