Skip to content

Instantly share code, notes, and snippets.

@chrisradek
Created February 9, 2018 00:35
Show Gist options
  • Save chrisradek/0aa7e36973f1f134369d425bd8725ab4 to your computer and use it in GitHub Desktop.
Save chrisradek/0aa7e36973f1f134369d425bd8725ab4 to your computer and use it in GitHub Desktop.
npm-debug log for failing publish
0 info it worked if it ends with ok
1 verbose cli [ '/Users/radekc/.nvm/versions/node/v8.8.1/bin/node',
1 verbose cli '/Users/radekc/.nvm/versions/node/v8.8.1/bin/npm',
1 verbose cli 'publish' ]
2 info using [email protected]
3 info using [email protected]
4 verbose npm-session 4c3ad49e35c2b471
5 verbose publish [ '.' ]
6 info lifecycle [email protected]~prepublish: [email protected]
7 info lifecycle [email protected]~prepare: [email protected]
8 info lifecycle [email protected]~prepublishOnly: [email protected]
9 info lifecycle [email protected]~prepack: [email protected]
10 info lifecycle [email protected]~postpack: [email protected]
11 verbose getPublishConfig undefined
12 silly mapToRegistry name aws-sdk
13 silly mapToRegistry using default registry
14 silly mapToRegistry registry https://registry.npmjs.org/
15 silly mapToRegistry data { type: 'tag',
15 silly mapToRegistry registry: true,
15 silly mapToRegistry where: undefined,
15 silly mapToRegistry raw: 'aws-sdk',
15 silly mapToRegistry name: 'aws-sdk',
15 silly mapToRegistry escapedName: 'aws-sdk',
15 silly mapToRegistry scope: undefined,
15 silly mapToRegistry rawSpec: '',
15 silly mapToRegistry saveSpec: null,
15 silly mapToRegistry fetchSpec: 'latest',
15 silly mapToRegistry gitRange: undefined,
15 silly mapToRegistry gitCommittish: undefined,
15 silly mapToRegistry hosted: undefined }
16 silly mapToRegistry uri https://registry.npmjs.org/aws-sdk
17 verbose publish registryBase https://registry.npmjs.org/
18 silly publish uploading /var/folders/v6/yqs_clr14k3f28l_zlxzrqmxcvtz59/T/npm-57190-bc8ffc50/tmp/fromDir-772a9920/package.tgz
19 verbose request uri https://registry.npmjs.org/aws-sdk
20 verbose request sending authorization for write operation
21 info attempt registry request try #1 at 16:33:45
22 verbose request using bearer token for auth
23 verbose request id 96513df4bdf73540
24 http request PUT https://registry.npmjs.org/aws-sdk
25 http 404 https://registry.npmjs.org/aws-sdk
26 verbose headers { 'content-type': 'application/json',
26 verbose headers 'cache-control': 'max-age=0',
26 verbose headers 'content-length': '42',
26 verbose headers 'accept-ranges': 'bytes',
26 verbose headers date: 'Fri, 09 Feb 2018 00:33:47 GMT',
26 verbose headers via: '1.1 varnish',
26 verbose headers connection: 'keep-alive',
26 verbose headers 'x-served-by': 'cache-sea1048-SEA',
26 verbose headers 'x-cache': 'MISS',
26 verbose headers 'x-cache-hits': '0',
26 verbose headers 'x-timer': 'S1518136426.647859,VS0,VE1406' }
27 error publish Failed PUT 404
28 verbose stack Error: Team not found : aws-sdk
28 verbose stack at makeError (/Users/radekc/.nvm/versions/node/v8.8.1/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:314:12)
28 verbose stack at RegClient.<anonymous> (/Users/radekc/.nvm/versions/node/v8.8.1/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:302:14)
28 verbose stack at Request._callback (/Users/radekc/.nvm/versions/node/v8.8.1/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:216:14)
28 verbose stack at Request.self.callback (/Users/radekc/.nvm/versions/node/v8.8.1/lib/node_modules/npm/node_modules/request/request.js:188:22)
28 verbose stack at emitTwo (events.js:125:13)
28 verbose stack at Request.emit (events.js:213:7)
28 verbose stack at Request.<anonymous> (/Users/radekc/.nvm/versions/node/v8.8.1/lib/node_modules/npm/node_modules/request/request.js:1171:10)
28 verbose stack at emitOne (events.js:115:13)
28 verbose stack at Request.emit (events.js:210:7)
28 verbose stack at IncomingMessage.<anonymous> (/Users/radekc/.nvm/versions/node/v8.8.1/lib/node_modules/npm/node_modules/request/request.js:1091:12)
28 verbose stack at Object.onceWrapper (events.js:312:30)
28 verbose stack at emitNone (events.js:110:20)
28 verbose stack at IncomingMessage.emit (events.js:207:7)
28 verbose stack at endReadableNT (_stream_readable.js:1056:12)
28 verbose stack at _combinedTickCallback (internal/process/next_tick.js:138:11)
28 verbose stack at process._tickCallback (internal/process/next_tick.js:180:9)
29 verbose statusCode 404
30 verbose pkgid aws-sdk
31 verbose cwd /Users/radekc/publish-sdk/2.191.0/aws-sdk-js
32 verbose Darwin 16.7.0
33 verbose argv "/Users/radekc/.nvm/versions/node/v8.8.1/bin/node" "/Users/radekc/.nvm/versions/node/v8.8.1/bin/npm" "publish"
34 verbose node v8.8.1
35 verbose npm v5.4.2
36 error code E404
37 error 404 Team not found : aws-sdk
38 error 404
39 error 404 'aws-sdk' is not in the npm registry.
40 error 404 You should bug the author to publish it (or use the name yourself!)
41 error 404 Note that you can also install from a
42 error 404 tarball, folder, http url, or git url.
43 verbose exit [ 1, true ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment