Skip to content

Instantly share code, notes, and snippets.

@abranhe
Created June 8, 2018 06:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abranhe/1a431bb163308321c59fd1f6bac77b99 to your computer and use it in GitHub Desktop.
Save abranhe/1a431bb163308321c59fd1f6bac77b99 to your computer and use it in GitHub Desktop.
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'publish' ]
2 info using npm@5.6.0
3 info using node@v8.11.2
4 verbose npm-session 147881e0f3e6c455
5 verbose publish [ '.' ]
6 info lifecycle clear@1.0.1~prepublish: clear@1.0.1
7 info lifecycle clear@1.0.1~prepare: clear@1.0.1
8 info lifecycle clear@1.0.1~prepublishOnly: clear@1.0.1
9 info lifecycle clear@1.0.1~prepack: clear@1.0.1
10 info lifecycle clear@1.0.1~postpack: clear@1.0.1
11 verbose getPublishConfig undefined
12 silly mapToRegistry name clear
13 silly mapToRegistry using default registry
14 silly mapToRegistry registry http://registry.npmjs.org/
15 silly mapToRegistry data { type: 'tag',
15 silly mapToRegistry registry: true,
15 silly mapToRegistry where: undefined,
15 silly mapToRegistry raw: 'clear',
15 silly mapToRegistry name: 'clear',
15 silly mapToRegistry escapedName: 'clear',
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 http://registry.npmjs.org/clear
17 verbose publish registryBase http://registry.npmjs.org/
18 silly publish uploading /var/folders/74/4rrptb2j51g9q33sbtbm2c5h0000gn/T/npm-1644-6f031b78/tmp/fromDir-a7d36185/package.tgz
19 verbose request uri http://registry.npmjs.org/clear
20 verbose request sending authorization for write operation
21 info attempt registry request try #1 at 02:39:50
22 verbose request using bearer token for auth
23 verbose request id bca9b91ff8d5a5bd
24 http request PUT http://registry.npmjs.org/clear
25 http 403 http://registry.npmjs.org/clear
26 verbose headers { date: 'Fri, 08 Jun 2018 06:39:50 GMT',
26 verbose headers 'content-type': 'application/json',
26 verbose headers 'transfer-encoding': 'chunked',
26 verbose headers connection: 'keep-alive',
26 verbose headers 'set-cookie':
26 verbose headers [ '__cfduid=d0dc77ac9ad6ab8395f85249eb1fc8f341528439990; expires=Sat, 08-Jun-19 06:39:50 GMT; path=/; domain=.registry.npmjs.org; HttpOnly' ],
26 verbose headers 'cf-ray': '42795d14c47d5296-MIA',
26 verbose headers 'expect-ct': 'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
26 verbose headers server: 'cloudflare',
26 verbose headers 'content-encoding': 'gzip' }
27 error publish Failed PUT 403
28 verbose stack Error: You do not have permission to publish "clear". Are you logged in as the correct user? : clear
28 verbose stack at makeError (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:314:12)
28 verbose stack at RegClient.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:302:14)
28 verbose stack at /usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:222:7
28 verbose stack at Gunzip.onEnd (zlib.js:131:5)
28 verbose stack at emitNone (events.js:111:20)
28 verbose stack at Gunzip.emit (events.js:208:7)
28 verbose stack at endReadableNT (_stream_readable.js:1064: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 403
30 verbose pkgid clear
31 verbose cwd /Users/user/Desktop/packagefolder
32 verbose Darwin 17.5.0
33 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "publish"
34 verbose node v8.11.2
35 verbose npm v5.6.0
36 error code E403
37 error You do not have permission to publish "clear". Are you logged in as the correct user? : clear
38 verbose exit [ 1, true ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment