Skip to content

Instantly share code, notes, and snippets.

@NHQ
Created February 11, 2014 16:12
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 NHQ/7854107a09cfb019b826 to your computer and use it in GitHub Desktop.
Save NHQ/7854107a09cfb019b826 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@1.3.14
3 info using node@v0.10.22
4 verbose publish [ '.' ]
5 verbose cache add [ '.', null ]
6 verbose cache add name=undefined spec="." args=[".",null]
7 verbose parsed url { protocol: null,
7 verbose parsed url slashes: null,
7 verbose parsed url auth: null,
7 verbose parsed url host: null,
7 verbose parsed url port: null,
7 verbose parsed url hostname: null,
7 verbose parsed url hash: null,
7 verbose parsed url search: null,
7 verbose parsed url query: null,
7 verbose parsed url pathname: '.',
7 verbose parsed url path: '.',
7 verbose parsed url href: '.' }
8 silly lockFile 3a52ce78- .
9 verbose lock . /home/nhq/.npm/3a52ce78-.lock
10 verbose tar pack [ '/home/nhq/tmp/npm-14662-78GC7OpE/1392134753287-0.06261468818411231/tmp.tgz',
10 verbose tar pack '.' ]
11 verbose tarball /home/nhq/tmp/npm-14662-78GC7OpE/1392134753287-0.06261468818411231/tmp.tgz
12 verbose folder .
13 info prepublish sorta@0.2.0
14 silly lockFile 1f1177db-tar tar://.
15 verbose lock tar://. /home/nhq/.npm/1f1177db-tar.lock
16 silly lockFile 98edc247-3287-0-06261468818411231-tmp-tgz tar:///home/nhq/tmp/npm-14662-78GC7OpE/1392134753287-0.06261468818411231/tmp.tgz
17 verbose lock tar:///home/nhq/tmp/npm-14662-78GC7OpE/1392134753287-0.06261468818411231/tmp.tgz /home/nhq/.npm/98edc247-3287-0-06261468818411231-tmp-tgz.lock
18 silly lockFile 1f1177db-tar tar://.
19 silly lockFile 1f1177db-tar tar://.
20 silly lockFile 98edc247-3287-0-06261468818411231-tmp-tgz tar:///home/nhq/tmp/npm-14662-78GC7OpE/1392134753287-0.06261468818411231/tmp.tgz
21 silly lockFile 98edc247-3287-0-06261468818411231-tmp-tgz tar:///home/nhq/tmp/npm-14662-78GC7OpE/1392134753287-0.06261468818411231/tmp.tgz
22 verbose tar unpack /home/nhq/tmp/npm-14662-78GC7OpE/1392134753287-0.06261468818411231/tmp.tgz
23 silly lockFile 0b808b09-3287-0-06261468818411231-package tar:///home/nhq/tmp/npm-14662-78GC7OpE/1392134753287-0.06261468818411231/package
24 verbose lock tar:///home/nhq/tmp/npm-14662-78GC7OpE/1392134753287-0.06261468818411231/package /home/nhq/.npm/0b808b09-3287-0-06261468818411231-package.lock
25 silly lockFile 98edc247-3287-0-06261468818411231-tmp-tgz tar:///home/nhq/tmp/npm-14662-78GC7OpE/1392134753287-0.06261468818411231/tmp.tgz
26 verbose lock tar:///home/nhq/tmp/npm-14662-78GC7OpE/1392134753287-0.06261468818411231/tmp.tgz /home/nhq/.npm/98edc247-3287-0-06261468818411231-tmp-tgz.lock
27 silly gunzTarPerm modes [ '755', '644' ]
28 silly gunzTarPerm extractEntry package.json
29 silly gunzTarPerm modified mode [ 'package.json', 436, 420 ]
30 silly gunzTarPerm extractEntry README.md
31 silly gunzTarPerm modified mode [ 'README.md', 436, 420 ]
32 silly gunzTarPerm extractEntry sortByDate.js
33 silly gunzTarPerm modified mode [ 'sortByDate.js', 436, 420 ]
34 silly gunzTarPerm extractEntry test.js
35 silly gunzTarPerm modified mode [ 'test.js', 436, 420 ]
36 silly gunzTarPerm extractEntry events.json
37 silly gunzTarPerm modified mode [ 'events.json', 436, 420 ]
38 silly lockFile 0b808b09-3287-0-06261468818411231-package tar:///home/nhq/tmp/npm-14662-78GC7OpE/1392134753287-0.06261468818411231/package
39 silly lockFile 0b808b09-3287-0-06261468818411231-package tar:///home/nhq/tmp/npm-14662-78GC7OpE/1392134753287-0.06261468818411231/package
40 silly lockFile 98edc247-3287-0-06261468818411231-tmp-tgz tar:///home/nhq/tmp/npm-14662-78GC7OpE/1392134753287-0.06261468818411231/tmp.tgz
41 silly lockFile 98edc247-3287-0-06261468818411231-tmp-tgz tar:///home/nhq/tmp/npm-14662-78GC7OpE/1392134753287-0.06261468818411231/tmp.tgz
42 verbose tar pack [ '/home/nhq/.npm/sorta/0.2.0/package.tgz',
42 verbose tar pack '/home/nhq/tmp/npm-14662-78GC7OpE/1392134753287-0.06261468818411231/package' ]
43 verbose tarball /home/nhq/.npm/sorta/0.2.0/package.tgz
44 verbose folder /home/nhq/tmp/npm-14662-78GC7OpE/1392134753287-0.06261468818411231/package
45 silly lockFile 0b808b09-3287-0-06261468818411231-package tar:///home/nhq/tmp/npm-14662-78GC7OpE/1392134753287-0.06261468818411231/package
46 verbose lock tar:///home/nhq/tmp/npm-14662-78GC7OpE/1392134753287-0.06261468818411231/package /home/nhq/.npm/0b808b09-3287-0-06261468818411231-package.lock
47 silly lockFile 26aec92f--nhq-npm-sorta-0-2-0-package-tgz tar:///home/nhq/.npm/sorta/0.2.0/package.tgz
48 verbose lock tar:///home/nhq/.npm/sorta/0.2.0/package.tgz /home/nhq/.npm/26aec92f--nhq-npm-sorta-0-2-0-package-tgz.lock
49 silly lockFile 0b808b09-3287-0-06261468818411231-package tar:///home/nhq/tmp/npm-14662-78GC7OpE/1392134753287-0.06261468818411231/package
50 silly lockFile 0b808b09-3287-0-06261468818411231-package tar:///home/nhq/tmp/npm-14662-78GC7OpE/1392134753287-0.06261468818411231/package
51 silly lockFile 26aec92f--nhq-npm-sorta-0-2-0-package-tgz tar:///home/nhq/.npm/sorta/0.2.0/package.tgz
52 silly lockFile 26aec92f--nhq-npm-sorta-0-2-0-package-tgz tar:///home/nhq/.npm/sorta/0.2.0/package.tgz
53 silly lockFile e79c5601-home-nhq-npm-sorta-0-2-0-package /home/nhq/.npm/sorta/0.2.0/package
54 verbose lock /home/nhq/.npm/sorta/0.2.0/package /home/nhq/.npm/e79c5601-home-nhq-npm-sorta-0-2-0-package.lock
55 silly lockFile e79c5601-home-nhq-npm-sorta-0-2-0-package /home/nhq/.npm/sorta/0.2.0/package
56 silly lockFile e79c5601-home-nhq-npm-sorta-0-2-0-package /home/nhq/.npm/sorta/0.2.0/package
57 verbose tar unpack /home/nhq/.npm/sorta/0.2.0/package.tgz
58 silly lockFile d20481d6-home-nhq-npm-sorta-0-2-0-package tar:///home/nhq/.npm/sorta/0.2.0/package
59 verbose lock tar:///home/nhq/.npm/sorta/0.2.0/package /home/nhq/.npm/d20481d6-home-nhq-npm-sorta-0-2-0-package.lock
60 silly lockFile 26aec92f--nhq-npm-sorta-0-2-0-package-tgz tar:///home/nhq/.npm/sorta/0.2.0/package.tgz
61 verbose lock tar:///home/nhq/.npm/sorta/0.2.0/package.tgz /home/nhq/.npm/26aec92f--nhq-npm-sorta-0-2-0-package-tgz.lock
62 silly gunzTarPerm modes [ '755', '644' ]
63 silly gunzTarPerm extractEntry package.json
64 silly gunzTarPerm extractEntry README.md
65 silly gunzTarPerm extractEntry sortByDate.js
66 silly gunzTarPerm extractEntry test.js
67 silly gunzTarPerm extractEntry events.json
68 silly lockFile d20481d6-home-nhq-npm-sorta-0-2-0-package tar:///home/nhq/.npm/sorta/0.2.0/package
69 silly lockFile d20481d6-home-nhq-npm-sorta-0-2-0-package tar:///home/nhq/.npm/sorta/0.2.0/package
70 silly lockFile 26aec92f--nhq-npm-sorta-0-2-0-package-tgz tar:///home/nhq/.npm/sorta/0.2.0/package.tgz
71 silly lockFile 26aec92f--nhq-npm-sorta-0-2-0-package-tgz tar:///home/nhq/.npm/sorta/0.2.0/package.tgz
72 verbose chmod /home/nhq/.npm/sorta/0.2.0/package.tgz 644
73 verbose chown /home/nhq/.npm/sorta/0.2.0/package.tgz [ 1000, 1000 ]
74 silly lockFile 3a52ce78- .
75 silly lockFile 3a52ce78- .
76 silly publish { name: 'sorta',
76 silly publish version: '0.2.0',
76 silly publish description: 'sort lists of objects by date strings',
76 silly publish main: 'sortByDate.js',
76 silly publish dependencies: { moment: '~2.5.1' },
76 silly publish devDependencies: { tape: '~2.3.0' },
76 silly publish testing:
76 silly publish { files: 'test.js',
76 silly publish browsers:
76 silly publish [ 'iexplore/6.0',
76 silly publish 'iexplore/7.0',
76 silly publish 'iexplore/8.0',
76 silly publish 'iexplore/10.0',
76 silly publish 'iexplore/9.0',
76 silly publish 'chrome/4.0',
76 silly publish 'chrome/5.0',
76 silly publish 'chrome/6.0',
76 silly publish 'chrome/7.0',
76 silly publish 'chrome/8.0',
76 silly publish 'chrome/9.0',
76 silly publish 'chrome/10.0',
76 silly publish 'chrome/11.0',
76 silly publish 'chrome/12.0',
76 silly publish 'chrome/13.0',
76 silly publish 'chrome/14.0',
76 silly publish 'chrome/15.0',
76 silly publish 'chrome/16.0',
76 silly publish 'chrome/17.0',
76 silly publish 'chrome/18.0',
76 silly publish 'chrome/19.0',
76 silly publish 'chrome/20.0',
76 silly publish 'chrome/21.0',
76 silly publish 'chrome/22.0',
76 silly publish 'chrome/23.0',
76 silly publish 'chrome/24.0',
76 silly publish 'chrome/25.0',
76 silly publish 'chrome/26.0',
76 silly publish 'chrome/27.0',
76 silly publish 'chrome/28.0',
76 silly publish 'chrome/29.0',
76 silly publish 'chrome/30.0',
76 silly publish 'chrome/31.0',
76 silly publish 'firefox/3.0',
76 silly publish 'firefox/3.5',
76 silly publish 'firefox/3.6',
76 silly publish 'firefox/4.0',
76 silly publish 'firefox/5.0',
76 silly publish 'firefox/6.0',
76 silly publish 'firefox/7.0',
76 silly publish 'firefox/8.0',
76 silly publish 'firefox/9.0',
76 silly publish 'firefox/10.0',
76 silly publish 'firefox/11.0',
76 silly publish 'firefox/12.0',
76 silly publish 'firefox/13.0',
76 silly publish 'firefox/14.0',
76 silly publish 'firefox/15.0',
76 silly publish 'firefox/16.0',
76 silly publish 'firefox/17.0',
76 silly publish 'firefox/18.0',
76 silly publish 'firefox/19.0',
76 silly publish 'firefox/20.0',
76 silly publish 'firefox/21.0',
76 silly publish 'firefox/22.0',
76 silly publish 'firefox/23.0',
76 silly publish 'firefox/24.0',
76 silly publish 'firefox/25.0',
76 silly publish 'opera/10.0',
76 silly publish 'opera/10.5',
76 silly publish 'opera/11.0',
76 silly publish 'opera/11.5',
76 silly publish 'opera/11.6',
76 silly publish 'opera/12.0',
76 silly publish 'opera/15.0',
76 silly publish 'opera/16.0',
76 silly publish 'opera/17.0',
76 silly publish 'safari/4.0',
76 silly publish 'safari/5.0.5',
76 silly publish 'safari/5.1',
76 silly publish 'firefox/nightly',
76 silly publish 'opera/next',
76 silly publish 'chrome/canary',
76 silly publish 'iphone/6.0',
76 silly publish 'ipad/6.0',
76 silly publish 'safari/6.0',
76 silly publish 'android-browser/4.2' ] },
76 silly publish scripts: { test: 'node test.ls' },
76 silly publish repository: { type: 'git', url: 'git@github.com:NHQ/sorta.git' },
76 silly publish keywords: [ 'date', 'moment', 'dates' ],
76 silly publish author:
76 silly publish { name: 'Johnny Honestly',
76 silly publish email: 'mostmodernist@gmail.com',
76 silly publish url: 'http://johnnyscript.us/' },
76 silly publish license: 'BSD-2-Clause',
76 silly publish bugs: { url: 'https://github.com/NHQ/sorta/issues' },
76 silly publish homepage: 'https://github.com/NHQ/sorta',
76 silly publish readme: '## sorta\n\nThis module returns several functions that sort/filter a list of objects by date string. This module uses [moment](http://momentjs.com/), so your date values can also be moment objects.\n\nThis module works in Node.js and the browser, with Browserify.\n\n[![browser support](https://ci.testling.com/NHQ/sorta.png?duhhhhhh)](https://ci.testling.com/NHQ/sorta)\n\n```\nnpm install sorta\n```\n\n### usage\n\nAll functions take the same first 3 params:\n* [Array] an array of objects\n* [String] key in each object that points to the date string (ie. \'date\', \'start_time\')\n* [String] format of date strings according to [moment#format](http://momentjs.com/docs/#/displaying/format/)\n\nOthers take an additional param.\n\n### functions\n\nThe module returns an object with the following member functions. \n\n#### moment\n\nfor convenience, this module returns the actual moment module.\n\n#### sort(array, key, format)\n\nreturns an array of objects sorted linearly from today to the future\n\n#### range(array, key, format, begin, end)\n\nreturns an array of objects fliltered by the range (within the range). The begin and end params should be date strings in the same format as the rest, or a moment.js object. The other functions use this function.\n\n#### today(array, key, format)\n\nreturn an array of objects which have date-times that are Today\n\n#### thisWeek([ibid.])\n\nreturns same for dates occuring within the current calendar week (beginning Sunday)\n\n#### withinWeek([ibid.])\n\nreturns same for dates occuring within a week, starting today\n\n#### thisMonth(array, key, fmt [, month])\n\nreturns same for dates occruing within the given calendar month. Defaults to this month. The month param can be a number (0,11), or a string, the name of the month.\n\n#### withinMonth(array, key, format)\n\nreturns same for dates within the next month, starting today\n\n\n\n',
76 silly publish readmeFilename: 'README.md',
76 silly publish _id: 'sorta@0.2.0',
76 silly publish dist: { shasum: '5c760f155748d72f46fcec3d66d5cd692a2e197d' },
76 silly publish _from: '.' }
77 verbose url raw sorta
78 verbose url resolving [ 'https://registry.npmjs.org/', './sorta' ]
79 verbose url resolved https://registry.npmjs.org/sorta
80 info trying registry request attempt 1 at 08:05:53
81 http PUT https://registry.npmjs.org/sorta
82 http 409 https://registry.npmjs.org/sorta
83 verbose url raw sorta
84 verbose url resolving [ 'https://registry.npmjs.org/', './sorta' ]
85 verbose url resolved https://registry.npmjs.org/sorta
86 info trying registry request attempt 1 at 08:05:53
87 http GET https://registry.npmjs.org/sorta
88 http 200 https://registry.npmjs.org/sorta
89 verbose uploading [ 'sorta/-/sorta-0.2.0.tgz/-rev/13-e550b6b41f29ac27351bb275ea5f9de2',
89 verbose uploading '/home/nhq/.npm/sorta/0.2.0/package.tgz' ]
90 verbose url raw sorta/-/sorta-0.2.0.tgz/-rev/13-e550b6b41f29ac27351bb275ea5f9de2
91 verbose url resolving [ 'https://registry.npmjs.org/',
91 verbose url resolving './sorta/-/sorta-0.2.0.tgz/-rev/13-e550b6b41f29ac27351bb275ea5f9de2' ]
92 verbose url resolved https://registry.npmjs.org/sorta/-/sorta-0.2.0.tgz/-rev/13-e550b6b41f29ac27351bb275ea5f9de2
93 info trying registry request attempt 1 at 08:05:54
94 http PUT https://registry.npmjs.org/sorta/-/sorta-0.2.0.tgz/-rev/13-e550b6b41f29ac27351bb275ea5f9de2
95 http 403 https://registry.npmjs.org/sorta/-/sorta-0.2.0.tgz/-rev/13-e550b6b41f29ac27351bb275ea5f9de2
96 info trying registry request attempt 1 at 08:05:55
97 http PUT https://registry.npmjs.org/sorta/-/sorta-0.2.0.tgz/-rev/13-e550b6b41f29ac27351bb275ea5f9de2
98 http 400 https://registry.npmjs.org/sorta/-/sorta-0.2.0.tgz/-rev/13-e550b6b41f29ac27351bb275ea5f9de2
99 verbose bad json <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
99 verbose bad json <html><head>
99 verbose bad json <title>400 Bad Request</title>
99 verbose bad json </head><body>
99 verbose bad json <h1>Bad Request</h1>
99 verbose bad json <p>Your browser sent a request that this server could not understand.<br />
99 verbose bad json </p>
99 verbose bad json </body></html>
100 error registry error parsing json
101 error publish Error uploading package
102 error SyntaxError: Unexpected token <
102 error <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
102 error <html><head>
102 error <title>400 Bad Request</title>
102 error </head><body>
102 error <h1>Bad Request</h1>
102 error <p>Your browser sent a request that this server could not understand.<br />
102 error </p>
102 error </body></html>
102 error
102 error at Object.parse (native)
102 error at RegClient.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:238:23)
102 error at Request.self.callback (/usr/local/lib/node_modules/npm/node_modules/request/request.js:129:22)
102 error at Request.EventEmitter.emit (events.js:98:17)
102 error at Request.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/request/request.js:873:14)
102 error at Request.EventEmitter.emit (events.js:117:20)
102 error at IncomingMessage.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/request/request.js:824:12)
102 error at IncomingMessage.EventEmitter.emit (events.js:117:20)
102 error at _stream_readable.js:920:16
102 error at process._tickCallback (node.js:415:13)
103 error If you need help, you may report this log at:
103 error <http://github.com/isaacs/npm/issues>
103 error or email it to:
103 error <npm-@googlegroups.com>
104 error System Linux 3.2.0-35-generic-pae
105 error command "/usr/local/bin/node" "/usr/local/bin/npm" "publish"
106 error cwd /home/nhq/development/sorta
107 error node -v v0.10.22
108 error npm -v 1.3.14
109 error type unexpected_token
110 verbose exit [ 1, true ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment