Skip to content

Instantly share code, notes, and snippets.

@zachfedor
Created June 15, 2015 14:53
Show Gist options
  • Save zachfedor/38b66191647c49d5420b to your computer and use it in GitHub Desktop.
Save zachfedor/38b66191647c49d5420b to your computer and use it in GitHub Desktop.
npm debug log when npm dist-tag add fails with non-unique package name
0 info it worked if it ends with ok
1 verbose cli [ 'node',
1 verbose cli '/usr/local/bin/npm',
1 verbose cli 'dist-tag',
1 verbose cli 'add',
1 verbose cli 'how-to-node@1.0.1',
1 verbose cli 'testing' ]
2 info using npm@2.11.2
3 info using node@v0.12.2
4 verbose dist-tag add testing to how-to-node@1.0.1
5 silly mapToRegistry name how-to-node
6 silly mapToRegistry using default registry
7 silly mapToRegistry registry http://localhost:15443/
8 silly mapToRegistry uri http://localhost:15443/how-to-node
9 verbose request uri http://localhost:15443/-/package/how-to-node/dist-tags
10 verbose request no auth needed
11 info attempt registry request try #1 at 10:49:09 AM
12 verbose request id 15ad0b7ebc749fe5
13 http request GET http://localhost:15443/-/package/how-to-node/dist-tags
14 http 404 http://localhost:15443/-/package/how-to-node/dist-tags
15 verbose headers { 'content-type': 'application/json',
15 verbose headers date: 'Mon, 15 Jun 2015 14:49:09 GMT',
15 verbose headers connection: 'keep-alive',
15 verbose headers 'transfer-encoding': 'chunked' }
16 verbose stack Error: missing : -/package/how-to-node/dist-tags
16 verbose stack at CachingRegistryClient.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:247:14)
16 verbose stack at Request._callback (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:170:14)
16 verbose stack at Request.self.callback (/usr/local/lib/node_modules/npm/node_modules/request/request.js:354:22)
16 verbose stack at Request.emit (events.js:110:17)
16 verbose stack at Request.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/request/request.js:1207:14)
16 verbose stack at Request.emit (events.js:129:20)
16 verbose stack at IncomingMessage.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/request/request.js:1153:12)
16 verbose stack at IncomingMessage.emit (events.js:129:20)
16 verbose stack at _stream_readable.js:908:16
16 verbose stack at process._tickCallback (node.js:355:11)
17 verbose statusCode 404
18 verbose cwd /Users/zfedor/sites/nodeschool/how-to-npm
19 error Darwin 14.3.0
20 error argv "node" "/usr/local/bin/npm" "dist-tag" "add" "how-to-node@1.0.1" "testing"
21 error node v0.12.2
22 error npm v2.11.2
23 error code E404
24 error 404 missing : -/package/how-to-node/dist-tags
25 verbose exit [ 1, true ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment