From df3a83aecf992dfedfc760dd1f2cebf9e980bd2a Mon Sep 17 00:00:00 2001 From: Sebastian Sandqvist Date: Wed, 2 Sep 2015 11:59:55 -0700 Subject: [PATCH] fix name --- npm-debug.log | 141 ++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 107 insertions(+), 34 deletions(-) diff --git a/npm-debug.log b/npm-debug.log index bb36630..c4a827f 100644 --- a/npm-debug.log +++ b/npm-debug.log @@ -1,37 +1,110 @@ 0 info it worked if it ends with ok -1 verbose cli [ '/usr/local/bin/iojs', '/usr/local/bin/npm', 'run', 'lint' ] +1 verbose cli [ '/usr/local/bin/iojs', '/usr/local/bin/npm', 'publish' ] 2 info using npm@2.13.3 3 info using node@v3.1.0 -4 verbose run-script [ 'prelint', 'lint', 'postlint' ] -5 info prelint s-ago@1.0.4 -6 info lint s-ago@1.0.4 -7 verbose unsafe-perm in lifecycle true -8 info s-ago@1.0.4 Failed to exec lint script -9 verbose stack Error: s-ago@1.0.4 lint: `jscs index.js --config=./etc/.jscs.json && eslint index.js -c etc/.eslint.json` -9 verbose stack Exit status 1 -9 verbose stack at EventEmitter. (/usr/local/lib/node_modules/npm/lib/utils/lifecycle.js:214:16) -9 verbose stack at emitTwo (events.js:87:13) -9 verbose stack at EventEmitter.emit (events.js:172:7) -9 verbose stack at ChildProcess. (/usr/local/lib/node_modules/npm/lib/utils/spawn.js:24:14) -9 verbose stack at emitTwo (events.js:87:13) -9 verbose stack at ChildProcess.emit (events.js:172:7) -9 verbose stack at maybeClose (internal/child_process.js:764:16) -9 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5) -10 verbose pkgid s-ago@1.0.4 -11 verbose cwd /Users/sebastiansandqvist/Documents/Sites & Projects/apps/~modules/s-ago -12 error Darwin 13.4.0 -13 error argv "/usr/local/bin/iojs" "/usr/local/bin/npm" "run" "lint" -14 error node v3.1.0 -15 error npm v2.13.3 -16 error code ELIFECYCLE -17 error s-ago@1.0.4 lint: `jscs index.js --config=./etc/.jscs.json && eslint index.js -c etc/.eslint.json` -17 error Exit status 1 -18 error Failed at the s-ago@1.0.4 lint script 'jscs index.js --config=./etc/.jscs.json && eslint index.js -c etc/.eslint.json'. -18 error This is most likely a problem with the s-ago package, -18 error not with npm itself. -18 error Tell the author that this fails on your system: -18 error jscs index.js --config=./etc/.jscs.json && eslint index.js -c etc/.eslint.json -18 error You can get their info via: -18 error npm owner ls s-ago -18 error There is likely additional logging output above. -19 verbose exit [ 1, true ] +4 verbose publish [ '.' ] +5 silly cache add args [ '.', null ] +6 verbose cache add spec . +7 silly cache add parsed spec Result { +7 silly cache add raw: '.', +7 silly cache add scope: null, +7 silly cache add name: null, +7 silly cache add rawSpec: '.', +7 silly cache add spec: '/Users/sebastiansandqvist/Documents/Sites & Projects/apps/~modules/s-ago', +7 silly cache add type: 'directory' } +8 verbose addLocalDirectory /Users/sebastiansandqvist/.npm/s-ago/1.0.4/package.tgz not in flight; packing +9 verbose tar pack [ '/Users/sebastiansandqvist/.npm/s-ago/1.0.4/package.tgz', +9 verbose tar pack '/Users/sebastiansandqvist/Documents/Sites & Projects/apps/~modules/s-ago' ] +10 verbose tarball /Users/sebastiansandqvist/.npm/s-ago/1.0.4/package.tgz +11 verbose folder /Users/sebastiansandqvist/Documents/Sites & Projects/apps/~modules/s-ago +12 info prepublish s-ago@1.0.4 +13 verbose addLocalTarball adding from inside cache /Users/sebastiansandqvist/.npm/s-ago/1.0.4/package.tgz +14 silly cache afterAdd s-ago@1.0.4 +15 verbose afterAdd /Users/sebastiansandqvist/.npm/s-ago/1.0.4/package/package.json not in flight; writing +16 verbose afterAdd /Users/sebastiansandqvist/.npm/s-ago/1.0.4/package/package.json written +17 silly publish { name: 's-ago', +17 silly publish version: '1.0.4', +17 silly publish description: 'Human readable relative times (eg. 4 minutes ago)', +17 silly publish main: 'index.js', +17 silly publish directories: { test: 'test' }, +17 silly publish scripts: +17 silly publish { coverage: 'istanbul cover node_modules/mocha/bin/_mocha -dir etc --report lcovonly -- test/ -R spec', +17 silly publish postcoverage: 'rm etc/coverage.json', +17 silly publish lint: 'jscs index.js --config=./etc/.jscs.json && eslint index.js -c etc/.eslint.json', +17 silly publish postlint: 'npm run coverage', +17 silly publish test: 'mocha', +17 silly publish posttest: 'npm run lint' }, +17 silly publish repository: +17 silly publish { type: 'git', +17 silly publish url: 'https://github.com/sebastiansandqvist/s-ago.git' }, +17 silly publish keywords: [ 'relative', 'date', 'time', 'ago', 'timestamp', 'format' ], +17 silly publish author: { name: 'sebastian sandqvist' }, +17 silly publish license: 'ISC', +17 silly publish bugs: { url: 'https://github.com/sebastiansandqvist/s-ago/issues' }, +17 silly publish homepage: 'https://github.com/sebastiansandqvist/s-ago', +17 silly publish devDependencies: +17 silly publish { chai: '^3.2.0', +17 silly publish 'codeclimate-test-reporter': '^0.1.0', +17 silly publish eslint: '^1.3.1', +17 silly publish istanbul: '^0.3.19', +17 silly publish jscs: '^2.1.1', +17 silly publish jshint: '^2.8.0', +17 silly publish 'jshint-stylish': '^2.0.1', +17 silly publish mocha: '^2.2.5', +17 silly publish 's-eslint': '^1.0.1' }, +17 silly publish readme: '# s-ago\n\n[![NPM version](https://img.shields.io/npm/v/s-ago.svg)](https://www.npmjs.com/package/s-ago) ![Dependencies](https://img.shields.io/david/sebastiansandqvist/s-ago.svg) [![build status](http://img.shields.io/travis/sebastiansandqvist/s-ago.svg)](https://travis-ci.org/sebastiansandqvist/s-ago) [![Test Coverage](https://codeclimate.com/github/sebastiansandqvist/s-ago/badges/coverage.svg)](https://codeclimate.com/github/sebastiansandqvist/s-ago/coverage) [![NPM license](https://img.shields.io/npm/l/s-ago.svg)](https://www.npmjs.com/package/s-ago)\n\nThis is the smallest, fully unit tested module (26 SLOC) to convert Date objects into human readable relative timestamps, such as \'4 minutes ago\' or \'yesterday\'.\n\n## Usage\n```javascript\nvar ago = require(\'s-ago\');\n\nvar now = new Date();\nvar yesterday = new Date(now - (24 * 60 * 60 * 1000));\nvar hoursAgo = new Date(now - (6 * 60 * 60 * 1000));\n\nago(now); // \'just now\'\nago(yesterday); // \'yesterday\'\nago(hoursAgo); // \'6 hours ago\'\n```\n\nOutput is as follows:\n\nTime | Output\n--- | ---\nLess than 1 minute | `just now`\n1-2 minutes | `a minute ago`\n2-46 minutes | # `minutes ago`\n46 minutes - 2 hours | `an hour ago`\n2-20 hours | # `hours ago`\n20-48 hours | `yesterday`\n2-6 days | `last week`\n7-28 days | # `weeks ago`\n28 days - 2 months | `last month`\n2-11 months | # `months ago`\n11-23 months | `last year`\n2+ years | # `years ago`\n\nDon\'t like the thresholds or output? You can customize them. Thresholds are set via each object\'s `max` key, and the output format for the previous 1 unit of time (eg. `yesterday` or `last week`) is set in each object\'s `prev` key.\n\nThe default is as follows:\n```javascript\nago.units = [\n\t{ max: 2760000, value: 60000, name: \'minute\', prev: \'a minute ago\' }, // max: 46 minutes\n\t{ max: 72000000, value: 3600000, name: \'hour\', prev: \'an hour ago\' }, // max: 20 hours\n\t{ max: 518400000, value: 86400000, name: \'day\', prev: \'yesterday\' }, // max: 6 days\n\t{ max: 2419200000, value: 604800000, name: \'week\', prev: \'last week\' }, // max: 28 days\n\t{ max: 28512000000, value: 2592000000, name: \'month\', prev: \'last month\' }, // max: 11 months\n\t{ max: Infinity, value: 31536000000, name: \'year\', prev: \'last year\' }\n];\n```\n\nIf you want it to display `a week ago` instead of `last week` (and do the same for months and years), you would set ago.units to the following before running `ago`.\n\n```javascript\nago.units = [\n\t{ max: 2760000, value: 60000, name: \'minute\', prev: \'a minute ago\' }, // max: 46 minutes\n\t{ max: 72000000, value: 3600000, name: \'hour\', prev: \'an hour ago\' }, // max: 20 hours\n\t{ max: 518400000, value: 86400000, name: \'day\', prev: \'yesterday\' }, // max: 6 days\n\t{ max: 2419200000, value: 604800000, name: \'week\', prev: \'a week ago\' }, // max: 28 days\n\t{ max: 28512000000, value: 2592000000, name: \'month\', prev: \'a month ago\' }, // max: 11 months\n\t{ max: Infinity, value: 31536000000, name: \'year\', prev: \'a year ago\' }\n];\n```\n\n## License (ISC)\nCopyright (c) 2015, Sebastian Sandqvist \n\nPermission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.\n\nTHE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.', +17 silly publish readmeFilename: 'README.md', +17 silly publish gitHead: 'bf43d1aa565969b6939ebcfaac685a8493a7ac61', +17 silly publish _id: 's-ago@1.0.4', +17 silly publish _shasum: '7e54e5ef39c051759d7f3ea12ca5d4d6150b9576', +17 silly publish _from: '.' } +18 verbose getPublishConfig undefined +19 silly mapToRegistry name s-ago +20 silly mapToRegistry using default registry +21 silly mapToRegistry registry https://registry.npmjs.org/ +22 silly mapToRegistry uri https://registry.npmjs.org/s-ago +23 verbose publish registryBase https://registry.npmjs.org/ +24 silly publish uploading /Users/sebastiansandqvist/.npm/s-ago/1.0.4/package.tgz +25 verbose request uri https://registry.npmjs.org/s-ago +26 verbose request sending authorization for write operation +27 info attempt registry request try #1 at 11:59:12 AM +28 verbose request using bearer token for auth +29 verbose request id 4d994e6673b391c3 +30 http request PUT https://registry.npmjs.org/s-ago +31 http 403 https://registry.npmjs.org/s-ago +32 verbose headers { 'content-type': 'application/json', +32 verbose headers 'cache-control': 'max-age=60', +32 verbose headers 'content-length': '95', +32 verbose headers 'accept-ranges': 'bytes', +32 verbose headers date: 'Wed, 02 Sep 2015 18:59:15 GMT', +32 verbose headers via: '1.1 varnish', +32 verbose headers connection: 'keep-alive', +32 verbose headers 'x-served-by': 'cache-lax1432-LAX', +32 verbose headers 'x-cache': 'MISS', +32 verbose headers 'x-cache-hits': '0', +32 verbose headers 'x-timer': 'S1441220354.601390,VS0,VE810' } +33 verbose request invalidating /Users/sebastiansandqvist/.npm/registry.npmjs.org/s-ago on PUT +34 error publish Failed PUT 403 +35 verbose stack Error: "You cannot publish over the previously published version 1.0.4." : s-ago +35 verbose stack at CachingRegistryClient. (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:247:14) +35 verbose stack at Request._callback (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:170:14) +35 verbose stack at Request.self.callback (/usr/local/lib/node_modules/npm/node_modules/request/request.js:198:22) +35 verbose stack at emitTwo (events.js:87:13) +35 verbose stack at Request.emit (events.js:172:7) +35 verbose stack at Request. (/usr/local/lib/node_modules/npm/node_modules/request/request.js:1057:14) +35 verbose stack at emitOne (events.js:82:20) +35 verbose stack at Request.emit (events.js:169:7) +35 verbose stack at IncomingMessage. (/usr/local/lib/node_modules/npm/node_modules/request/request.js:1003:12) +35 verbose stack at emitNone (events.js:72:20) +36 verbose statusCode 403 +37 verbose pkgid s-ago +38 verbose cwd /Users/sebastiansandqvist/Documents/Sites & Projects/apps/~modules/s-ago +39 error Darwin 13.4.0 +40 error argv "/usr/local/bin/iojs" "/usr/local/bin/npm" "publish" +41 error node v3.1.0 +42 error npm v2.13.3 +43 error code E403 +44 error "You cannot publish over the previously published version 1.0.4." : s-ago +45 error If you need help, you may report this error at: +45 error +46 verbose exit [ 1, true ]