Skip to content

Instantly share code, notes, and snippets.

@guyellis
Created September 25, 2014 18:44
Show Gist options
  • Save guyellis/2f9d6afdad8f44038eee to your computer and use it in GitHub Desktop.
Save guyellis/2f9d6afdad8f44038eee to your computer and use it in GitHub Desktop.
npm-debug.log
0 info it worked if it ends with ok
1 verbose cli [ 'node', '/home/guy/local/bin/npm', 'publish' ]
2 info using npm@2.0.0
3 info using node@v0.10.31
4 verbose publish [ '.' ]
5 verbose cache add [ '.', null ]
6 verbose cache add spec="." args=[".",null]
7 verbose parsed spec { raw: '.',
7 verbose parsed spec scope: null,
7 verbose parsed spec name: null,
7 verbose parsed spec rawSpec: '.',
7 verbose parsed spec spec: '/home/guy/source/http-status-check',
7 verbose parsed spec type: 'local' }
8 verbose cache add local package /home/guy/source/http-status-check
9 silly lockFile 3a52ce78- .
10 verbose lock . /home/guy/.npm/3a52ce78-.lock
11 verbose tar pack [ '/home/guy/.npm/http-status-check/0.0.5/package.tgz', '.' ]
12 verbose tarball /home/guy/.npm/http-status-check/0.0.5/package.tgz
13 verbose folder .
14 info prepublish http-status-check@0.0.5
15 silly lockFile 1f1177db-tar tar://.
16 verbose lock tar://. /home/guy/.npm/1f1177db-tar.lock
17 silly lockFile 5a7e8abe-p-status-check-0-0-5-package-tgz tar:///home/guy/.npm/http-status-check/0.0.5/package.tgz
18 verbose lock tar:///home/guy/.npm/http-status-check/0.0.5/package.tgz /home/guy/.npm/5a7e8abe-p-status-check-0-0-5-package-tgz.lock
19 silly lockFile 1f1177db-tar tar://.
20 silly lockFile 1f1177db-tar tar://.
21 silly lockFile 5a7e8abe-p-status-check-0-0-5-package-tgz tar:///home/guy/.npm/http-status-check/0.0.5/package.tgz
22 silly lockFile 5a7e8abe-p-status-check-0-0-5-package-tgz tar:///home/guy/.npm/http-status-check/0.0.5/package.tgz
23 silly lockFile 902a9513--http-status-check-0-0-5-package /home/guy/.npm/http-status-check/0.0.5/package
24 verbose lock /home/guy/.npm/http-status-check/0.0.5/package /home/guy/.npm/902a9513--http-status-check-0-0-5-package.lock
25 silly lockFile 902a9513--http-status-check-0-0-5-package /home/guy/.npm/http-status-check/0.0.5/package
26 silly lockFile 902a9513--http-status-check-0-0-5-package /home/guy/.npm/http-status-check/0.0.5/package
27 silly lockFile 3a52ce78- .
28 silly lockFile 3a52ce78- .
29 silly publish { name: 'http-status-check',
29 silly publish version: '0.0.5',
29 silly publish description: 'Utility to check the HTTP status of URL endpoints',
29 silly publish main: 'index.js',
29 silly publish scripts:
29 silly publish { test: 'mocha',
29 silly publish win_istanbul: 'istanbul.cmd cover node_modules\\mocha\\bin\\_mocha',
29 silly publish istanbul: 'istanbul cover node_modules/.bin/_mocha test/*.js test/**/*.js' },
29 silly publish repository:
29 silly publish { type: 'git',
29 silly publish url: 'https://github.com/guyellis/http-status-check.git' },
29 silly publish keywords: [ 'http', 'status', 'checker' ],
29 silly publish author:
29 silly publish { name: 'Guy Ellis',
29 silly publish email: 'wildfiction@gmail.com',
29 silly publish url: 'http://www.guyellisrocks.com/' },
29 silly publish license: 'MIT',
29 silly publish bugs: { url: 'https://github.com/guyellis/http-status-check/issues' },
29 silly publish homepage: 'https://github.com/guyellis/http-status-check',
29 silly publish dependencies:
29 silly publish { async: '0.9.0',
29 silly publish debug: '2.0.0',
29 silly publish lodash: '2.4.1',
29 silly publish nodemailer: '1.3.0',
29 silly publish request: '2.44.0',
29 silly publish sugar: '1.4.1' },
29 silly publish devDependencies: { chai: '*', istanbul: '*', mocha: '*', rewire: '*' },
29 silly publish readme: '# HTTP Status Check\n\n[![Build Status](https://travis-ci.org/guyellis/http-status-check.svg?branch=master)](https://travis-ci.org/guyellis/http-status-check)\n\nChecks your sites\' HTTP statuses\n\n## Install\n\n```\nnpm install http-status-check\n```\n\n##Run\n\n```\nnode index.js\n```\n\n##Questions?\n\nFeel free to contact me on twitter if you have any questions: [@wildfiction](https://twitter.com/wildfiction)\n\n##Getting Started\n\nRunning `node index.js` should give you an indication\n of how it works. It uses the `samplesites.js` file for\n the names of the sites to test.\n \nCopy `samplesites.js` to `checksites.js`. If `checksites.js`\nis found then it takes precedence over `samplesites.js`.\n\nNow edit `checksites.js` and replace the sites with your own sites\nthat you want to run checks on.\n\n##checksites.js config file\n\nThe `samplesites.js` file is heavily commented and a good starting point.\n\n* `sites` - an array of sites that will be checked\n * `name` - any name that you want to give this site. This will be logged to the console with the status.\n * `expectedStatus` - the status that you expected this site to return, e.g. 200 or 301\n * `requestUrl` - URL or array of URLs to of the site(s) to check\n * `responseHeaders` - an object with a collection of response headers expected back from the site. Each of these is compared to the actual response headers received. \n * `requestHeaders` - an object with a collection of request headers to send with the request. \n * `disabled` - defaults to false. Set to true if you don\'t want this site to be checked. Useful if you don\'t want to delete the details from the checksites.js config file but also don\'t want it run. Will appear in reports as "not run." \n * `excludedHeaders` - An array of headers that you expect not to be returned by the server. (For example, for security you may not want the X-Powered-By header to be returned.) If any of these headers are present then the check will be considered a failure and reported as such.\n * `expectedText` - A string or an array of strings or an array of objects. If an array of objects then each object should have a string \'text\' property and an optional boolean caseSensitive property \n * `text` - The text to find on the page\n * `caseSensitive` - true/false to indicate if the comparison should be case sensitive. Defaults to false if missing and if expectedText is a string or array of strings.\n* `concurrentRequests` - The number of sites to check at the same time. Defaults to 3 if this is missing\n* `allSites` - Data that will be applied to each of the site objects above if it is missing from the site object. i.e. the data in the site object will take precedence over this data.\n \n## Enhancements and Bugs\n\nAdd requests for enhancements and bugs to: [HTTP Status Check Issues](https://github.com/guyellis/http-status-check/issues)',
29 silly publish readmeFilename: 'README.md',
29 silly publish gitHead: '8a742f1fa945299f7d98d02c09b3c7f82a675d76',
29 silly publish _id: 'http-status-check@0.0.5',
29 silly publish _shasum: 'd8353e25bbec58a236401ba314f43a2c3ac41532',
29 silly publish _from: '.' }
30 verbose mapToRegistry name http-status-check
31 verbose mapToRegistry uri https://registry.npmjs.org/http-status-check
32 verbose publish registryBase https://registry.npmjs.org/
33 verbose request on initialization, where is /http-status-check
34 verbose request after pass 1, where is /http-status-check
35 verbose request url raw /http-status-check
36 verbose request resolving registry [ 'https://registry.npmjs.org/', './http-status-check' ]
37 verbose request after pass 2, where is https://registry.npmjs.org/http-status-check
38 verbose request sending authorization for write operation
39 info attempt registry request try #1 at 11:34:54
40 verbose request id 2f52f622efa460fc
41 http request PUT https://registry.npmjs.org/http-status-check
42 http 500 https://registry.npmjs.org/http-status-check
43 verbose bad json An internal server error occurred. Please try again later.
44 error registry error parsing json
45 info retry will retry, error on last attempt: SyntaxError: Unexpected token A
45 info retry An internal server error occurred. Please try again later.
46 info attempt registry request try #2 at 11:35:05
47 http request PUT https://registry.npmjs.org/http-status-check
48 http 500 https://registry.npmjs.org/http-status-check
49 verbose bad json An internal server error occurred. Please try again later.
50 error registry error parsing json
51 info retry will retry, error on last attempt: SyntaxError: Unexpected token A
51 info retry An internal server error occurred. Please try again later.
52 info attempt registry request try #3 at 11:36:05
53 http request PUT https://registry.npmjs.org/http-status-check
54 http 500 https://registry.npmjs.org/http-status-check
55 verbose bad json An internal server error occurred. Please try again later.
56 error registry error parsing json
57 verbose headers { date: 'Thu, 25 Sep 2014 18:36:05 GMT',
57 verbose headers server: 'Apache',
57 verbose headers 'content-type': 'text/html',
57 verbose headers expires: 'now',
57 verbose headers pragma: 'no-cache',
57 verbose headers 'cache-control': 'max-age=0',
57 verbose headers 'content-length': '58',
57 verbose headers 'accept-ranges': 'bytes',
57 verbose headers via: '1.1 varnish',
57 verbose headers 'x-served-by': 'cache-lax1431-LAX',
57 verbose headers 'x-cache': 'MISS',
57 verbose headers 'x-cache-hits': '0',
57 verbose headers 'x-timer': 'S1411670164.907995,VS0,VE170',
57 verbose headers connection: 'close' }
58 error publish Failed PUT 500
59 verbose type unexpected_token
60 verbose stack SyntaxError: Unexpected token A
60 verbose stack An internal server error occurred. Please try again later.
60 verbose stack at Object.parse (native)
60 verbose stack at RegClient.<anonymous> (/home/guy/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:226:23)
60 verbose stack at Request._callback (/home/guy/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:198:65)
60 verbose stack at Request.self.callback (/home/guy/local/lib/node_modules/npm/node_modules/request/request.js:236:22)
60 verbose stack at Request.emit (events.js:98:17)
60 verbose stack at Request.<anonymous> (/home/guy/local/lib/node_modules/npm/node_modules/request/request.js:1142:14)
60 verbose stack at Request.emit (events.js:117:20)
60 verbose stack at IncomingMessage.<anonymous> (/home/guy/local/lib/node_modules/npm/node_modules/request/request.js:1096:12)
60 verbose stack at IncomingMessage.emit (events.js:117:20)
60 verbose stack at _stream_readable.js:943:16
61 verbose cwd /home/guy/source/http-status-check
62 error Linux 3.13.0-24-generic
63 error argv "node" "/home/guy/local/bin/npm" "publish"
64 error node v0.10.31
65 error npm v2.0.0
66 error Unexpected token A
66 error An internal server error occurred. Please try again later.
67 error If you need help, you may report this error at:
67 error <http://github.com/npm/npm/issues>
68 verbose exit [ 1, true ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment