Skip to content

Instantly share code, notes, and snippets.

@gradosevic
Created June 14, 2018 06:48
Show Gist options
  • Save gradosevic/33fc5ced2cbd3b0d98ddb85b2d34bc68 to your computer and use it in GitHub Desktop.
Save gradosevic/33fc5ced2cbd3b0d98ddb85b2d34bc68 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/bin/npm', 'i', '-g', 'npm@latest' ]
2 info using [email protected]
3 info using [email protected]
4 silly loadCurrentTree Starting
5 silly install loadCurrentTree
6 silly install readGlobalPackageData
7 silly fetchPackageMetaData npm@latest
8 silly fetchNamedPackageData npm
9 silly mapToRegistry name npm
10 silly mapToRegistry using default registry
11 silly mapToRegistry registry https://registry.npmjs.org/
12 silly mapToRegistry data Result {
12 silly mapToRegistry raw: 'npm',
12 silly mapToRegistry scope: null,
12 silly mapToRegistry escapedName: 'npm',
12 silly mapToRegistry name: 'npm',
12 silly mapToRegistry rawSpec: '',
12 silly mapToRegistry spec: 'latest',
12 silly mapToRegistry type: 'tag' }
13 silly mapToRegistry uri https://registry.npmjs.org/npm
14 verbose request uri https://registry.npmjs.org/npm
15 verbose request no auth needed
16 info attempt registry request try #1 at 06:40:00
17 verbose request id 2b714c828cfa441d
18 http request GET https://registry.npmjs.org/npm
19 http 500 https://registry.npmjs.org/npm
20 verbose bad json <html>
20 verbose bad json <head>
20 verbose bad json <title>Fastly error: unknown domain</title>
20 verbose bad json </head>
20 verbose bad json <body>
20 verbose bad json Fastly error: unknown domain. Please check that this domain has been added to a service.
20 verbose bad json </body>
20 verbose bad json </html>
21 error registry error parsing json
22 verbose headers { server: 'Varnish',
22 verbose headers 'retry-after': '0',
22 verbose headers 'content-type': 'text/html',
22 verbose headers 'content-length': '177',
22 verbose headers 'accept-ranges': 'bytes',
22 verbose headers date: 'Thu, 14 Jun 2018 06:40:00 GMT',
22 verbose headers via: '1.1 varnish',
22 verbose headers connection: 'close',
22 verbose headers 'x-served-by': 'cache-lcy19249-LCY',
22 verbose headers 'x-cache': 'MISS',
22 verbose headers 'x-cache-hits': '0',
22 verbose headers 'x-timer': 'S1528958400.356536,VS0,VE0' }
23 info retry will retry, error on last attempt: SyntaxError: Unexpected token < in JSON at position 0
23 info retry <html>
23 info retry <head>
23 info retry <title>Fastly error: unknown domain</title>
23 info retry </head>
23 info retry <body>
23 info retry Fastly error: unknown domain. Please check that this domain has been added to a service.
23 info retry </body>
23 info retry </html>
24 info attempt registry request try #2 at 06:40:11
25 http request GET https://registry.npmjs.org/npm
26 http 500 https://registry.npmjs.org/npm
27 verbose bad json <html>
27 verbose bad json <head>
27 verbose bad json <title>Fastly error: unknown domain</title>
27 verbose bad json </head>
27 verbose bad json <body>
27 verbose bad json Fastly error: unknown domain. Please check that this domain has been added to a service.
27 verbose bad json </body>
27 verbose bad json </html>
28 error registry error parsing json
29 verbose headers { server: 'Varnish',
29 verbose headers 'retry-after': '0',
29 verbose headers 'content-type': 'text/html',
29 verbose headers 'content-length': '177',
29 verbose headers 'accept-ranges': 'bytes',
29 verbose headers date: 'Thu, 14 Jun 2018 06:40:10 GMT',
29 verbose headers via: '1.1 varnish',
29 verbose headers connection: 'close',
29 verbose headers 'x-served-by': 'cache-lcy19251-LCY',
29 verbose headers 'x-cache': 'MISS',
29 verbose headers 'x-cache-hits': '0',
29 verbose headers 'x-timer': 'S1528958411.940902,VS0,VE0' }
30 info retry will retry, error on last attempt: SyntaxError: Unexpected token < in JSON at position 0
30 info retry <html>
30 info retry <head>
30 info retry <title>Fastly error: unknown domain</title>
30 info retry </head>
30 info retry <body>
30 info retry Fastly error: unknown domain. Please check that this domain has been added to a service.
30 info retry </body>
30 info retry </html>
31 info attempt registry request try #3 at 06:41:11
32 http request GET https://registry.npmjs.org/npm
33 http 500 https://registry.npmjs.org/npm
34 verbose bad json <html>
34 verbose bad json <head>
34 verbose bad json <title>Fastly error: unknown domain</title>
34 verbose bad json </head>
34 verbose bad json <body>
34 verbose bad json Fastly error: unknown domain. Please check that this domain has been added to a service.
34 verbose bad json </body>
34 verbose bad json </html>
35 error registry error parsing json
36 verbose headers { server: 'Varnish',
36 verbose headers 'retry-after': '0',
36 verbose headers 'content-type': 'text/html',
36 verbose headers 'content-length': '177',
36 verbose headers 'accept-ranges': 'bytes',
36 verbose headers date: 'Thu, 14 Jun 2018 06:41:11 GMT',
36 verbose headers via: '1.1 varnish',
36 verbose headers connection: 'close',
36 verbose headers 'x-served-by': 'cache-lcy19223-LCY',
36 verbose headers 'x-cache': 'MISS',
36 verbose headers 'x-cache-hits': '0',
36 verbose headers 'x-timer': 'S1528958471.160230,VS0,VE0' }
37 silly get cb [ 500,
37 silly get { server: 'Varnish',
37 silly get 'retry-after': '0',
37 silly get 'content-type': 'text/html',
37 silly get 'content-length': '177',
37 silly get 'accept-ranges': 'bytes',
37 silly get date: 'Thu, 14 Jun 2018 06:41:11 GMT',
37 silly get via: '1.1 varnish',
37 silly get connection: 'close',
37 silly get 'x-served-by': 'cache-lcy19223-LCY',
37 silly get 'x-cache': 'MISS',
37 silly get 'x-cache-hits': '0',
37 silly get 'x-timer': 'S1528958471.160230,VS0,VE0' } ]
38 silly fetchPackageMetaData SyntaxError: Unexpected token < in JSON at position 0
38 silly fetchPackageMetaData <html>
38 silly fetchPackageMetaData <head>
38 silly fetchPackageMetaData <title>Fastly error: unknown domain</title>
38 silly fetchPackageMetaData </head>
38 silly fetchPackageMetaData <body>
38 silly fetchPackageMetaData Fastly error: unknown domain. Please check that this domain has been added to a service.
38 silly fetchPackageMetaData </body>
38 silly fetchPackageMetaData </html>
38 silly fetchPackageMetaData at JSON.parse (<anonymous>)
38 silly fetchPackageMetaData at CachingRegistryClient.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:237:23)
38 silly fetchPackageMetaData at Request._callback (/usr/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:210:14)
38 silly fetchPackageMetaData at Request.self.callback (/usr/lib/node_modules/npm/node_modules/request/request.js:187:22)
38 silly fetchPackageMetaData at emitTwo (events.js:125:13)
38 silly fetchPackageMetaData at Request.emit (events.js:213:7)
38 silly fetchPackageMetaData at Request.<anonymous> (/usr/lib/node_modules/npm/node_modules/request/request.js:1048:10)
38 silly fetchPackageMetaData at emitOne (events.js:115:13)
38 silly fetchPackageMetaData at Request.emit (events.js:210:7)
38 silly fetchPackageMetaData at IncomingMessage.<anonymous> (/usr/lib/node_modules/npm/node_modules/request/request.js:969:12)
38 silly fetchPackageMetaData error for npm@latest SyntaxError: Unexpected token < in JSON at position 0
38 silly fetchPackageMetaData <html>
38 silly fetchPackageMetaData <head>
38 silly fetchPackageMetaData <title>Fastly error: unknown domain</title>
38 silly fetchPackageMetaData </head>
38 silly fetchPackageMetaData <body>
38 silly fetchPackageMetaData Fastly error: unknown domain. Please check that this domain has been added to a service.
38 silly fetchPackageMetaData </body>
38 silly fetchPackageMetaData </html>
38 silly fetchPackageMetaData at JSON.parse (<anonymous>)
38 silly fetchPackageMetaData at CachingRegistryClient.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:237:23)
38 silly fetchPackageMetaData at Request._callback (/usr/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:210:14)
38 silly fetchPackageMetaData at Request.self.callback (/usr/lib/node_modules/npm/node_modules/request/request.js:187:22)
38 silly fetchPackageMetaData at emitTwo (events.js:125:13)
38 silly fetchPackageMetaData at Request.emit (events.js:213:7)
38 silly fetchPackageMetaData at Request.<anonymous> (/usr/lib/node_modules/npm/node_modules/request/request.js:1048:10)
38 silly fetchPackageMetaData at emitOne (events.js:115:13)
38 silly fetchPackageMetaData at Request.emit (events.js:210:7)
38 silly fetchPackageMetaData at IncomingMessage.<anonymous> (/usr/lib/node_modules/npm/node_modules/request/request.js:969:12)
39 silly rollbackFailedOptional Starting
40 silly rollbackFailedOptional Finishing
41 silly runTopLevelLifecycles Finishing
42 silly install printInstalled
43 verbose stack SyntaxError: Unexpected token < in JSON at position 0
43 verbose stack <html>
43 verbose stack <head>
43 verbose stack <title>Fastly error: unknown domain</title>
43 verbose stack </head>
43 verbose stack <body>
43 verbose stack Fastly error: unknown domain. Please check that this domain has been added to a service.
43 verbose stack </body>
43 verbose stack </html>
43 verbose stack at JSON.parse (<anonymous>)
43 verbose stack at CachingRegistryClient.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:237:23)
43 verbose stack at Request._callback (/usr/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:210:14)
43 verbose stack at Request.self.callback (/usr/lib/node_modules/npm/node_modules/request/request.js:187:22)
43 verbose stack at emitTwo (events.js:125:13)
43 verbose stack at Request.emit (events.js:213:7)
43 verbose stack at Request.<anonymous> (/usr/lib/node_modules/npm/node_modules/request/request.js:1048:10)
43 verbose stack at emitOne (events.js:115:13)
43 verbose stack at Request.emit (events.js:210:7)
43 verbose stack at IncomingMessage.<anonymous> (/usr/lib/node_modules/npm/node_modules/request/request.js:969:12)
44 verbose cwd /home/vagrant/projects/native
45 error Linux 4.4.0-66-generic
46 error argv "/usr/local/bin/node" "/usr/bin/npm" "i" "-g" "npm@latest"
47 error node v8.4.0
48 error npm v3.10.10
49 error Unexpected token < in JSON at position 0
49 error <html>
49 error <head>
49 error <title>Fastly error: unknown domain</title>
49 error </head>
49 error <body>
49 error Fastly error: unknown domain. Please check that this domain has been added to a service.
49 error </body>
49 error </html>
50 error If you need help, you may report this error at:
50 error <https://github.com/npm/npm/issues>
51 verbose exit [ 1, true ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment