Skip to content

Instantly share code, notes, and snippets.

@jharding
Created February 14, 2014 01:29
Show Gist options
  • Save jharding/8994209 to your computer and use it in GitHub Desktop.
Save jharding/8994209 to your computer and use it in GitHub Desktop.
trying to publish [email protected]
0 info it worked if it ends with ok
1 verbose cli [ 'node', '/usr/local/bin/npm', 'publish' ]
2 info using [email protected]
3 info using [email protected]
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 . /Users/jharding/.npm/3a52ce78-.lock
10 verbose tar pack [ '/var/folders/br/mdl4c_fn35v647bx6yg51drc0000gn/T/npm-30980-J4_2TQnO/1392341249858-0.9432422982063144/tmp.tgz',
10 verbose tar pack '.' ]
11 verbose tarball /var/folders/br/mdl4c_fn35v647bx6yg51drc0000gn/T/npm-30980-J4_2TQnO/1392341249858-0.9432422982063144/tmp.tgz
12 verbose folder .
13 info prepublish [email protected]
14 silly lockFile 1f1177db-tar tar://.
15 verbose lock tar://. /Users/jharding/.npm/1f1177db-tar.lock
16 silly lockFile 89791930-49858-0-9432422982063144-tmp-tgz tar:///var/folders/br/mdl4c_fn35v647bx6yg51drc0000gn/T/npm-30980-J4_2TQnO/1392341249858-0.9432422982063144/tmp.tgz
17 verbose lock tar:///var/folders/br/mdl4c_fn35v647bx6yg51drc0000gn/T/npm-30980-J4_2TQnO/1392341249858-0.9432422982063144/tmp.tgz /Users/jharding/.npm/89791930-49858-0-9432422982063144-tmp-tgz.lock
18 silly lockFile 1f1177db-tar tar://.
19 silly lockFile 1f1177db-tar tar://.
20 silly lockFile 89791930-49858-0-9432422982063144-tmp-tgz tar:///var/folders/br/mdl4c_fn35v647bx6yg51drc0000gn/T/npm-30980-J4_2TQnO/1392341249858-0.9432422982063144/tmp.tgz
21 silly lockFile 89791930-49858-0-9432422982063144-tmp-tgz tar:///var/folders/br/mdl4c_fn35v647bx6yg51drc0000gn/T/npm-30980-J4_2TQnO/1392341249858-0.9432422982063144/tmp.tgz
22 verbose tar unpack /var/folders/br/mdl4c_fn35v647bx6yg51drc0000gn/T/npm-30980-J4_2TQnO/1392341249858-0.9432422982063144/tmp.tgz
23 silly lockFile 9a248d6b-49858-0-9432422982063144-package tar:///var/folders/br/mdl4c_fn35v647bx6yg51drc0000gn/T/npm-30980-J4_2TQnO/1392341249858-0.9432422982063144/package
24 verbose lock tar:///var/folders/br/mdl4c_fn35v647bx6yg51drc0000gn/T/npm-30980-J4_2TQnO/1392341249858-0.9432422982063144/package /Users/jharding/.npm/9a248d6b-49858-0-9432422982063144-package.lock
25 silly lockFile 89791930-49858-0-9432422982063144-tmp-tgz tar:///var/folders/br/mdl4c_fn35v647bx6yg51drc0000gn/T/npm-30980-J4_2TQnO/1392341249858-0.9432422982063144/tmp.tgz
26 verbose lock tar:///var/folders/br/mdl4c_fn35v647bx6yg51drc0000gn/T/npm-30980-J4_2TQnO/1392341249858-0.9432422982063144/tmp.tgz /Users/jharding/.npm/89791930-49858-0-9432422982063144-tmp-tgz.lock
27 silly gunzTarPerm modes [ '755', '644' ]
28 silly gunzTarPerm extractEntry package.json
29 silly gunzTarPerm extractEntry .npmignore
30 silly gunzTarPerm extractEntry README.md
31 silly gunzTarPerm extractEntry Gruntfile.js
32 silly gunzTarPerm extractEntry .travis.yml
33 silly gunzTarPerm extractEntry LICENSE-MIT
34 silly gunzTarPerm extractEntry tasks/exec.js
35 silly gunzTarPerm extractEntry test/Gruntfile.js
36 silly gunzTarPerm extractEntry test/test.js
37 silly lockFile 9a248d6b-49858-0-9432422982063144-package tar:///var/folders/br/mdl4c_fn35v647bx6yg51drc0000gn/T/npm-30980-J4_2TQnO/1392341249858-0.9432422982063144/package
38 silly lockFile 9a248d6b-49858-0-9432422982063144-package tar:///var/folders/br/mdl4c_fn35v647bx6yg51drc0000gn/T/npm-30980-J4_2TQnO/1392341249858-0.9432422982063144/package
39 silly lockFile 89791930-49858-0-9432422982063144-tmp-tgz tar:///var/folders/br/mdl4c_fn35v647bx6yg51drc0000gn/T/npm-30980-J4_2TQnO/1392341249858-0.9432422982063144/tmp.tgz
40 silly lockFile 89791930-49858-0-9432422982063144-tmp-tgz tar:///var/folders/br/mdl4c_fn35v647bx6yg51drc0000gn/T/npm-30980-J4_2TQnO/1392341249858-0.9432422982063144/tmp.tgz
41 verbose tar pack [ '/Users/jharding/.npm/grunt-exec/0.4.3/package.tgz',
41 verbose tar pack '/var/folders/br/mdl4c_fn35v647bx6yg51drc0000gn/T/npm-30980-J4_2TQnO/1392341249858-0.9432422982063144/package' ]
42 verbose tarball /Users/jharding/.npm/grunt-exec/0.4.3/package.tgz
43 verbose folder /var/folders/br/mdl4c_fn35v647bx6yg51drc0000gn/T/npm-30980-J4_2TQnO/1392341249858-0.9432422982063144/package
44 silly lockFile 9a248d6b-49858-0-9432422982063144-package tar:///var/folders/br/mdl4c_fn35v647bx6yg51drc0000gn/T/npm-30980-J4_2TQnO/1392341249858-0.9432422982063144/package
45 verbose lock tar:///var/folders/br/mdl4c_fn35v647bx6yg51drc0000gn/T/npm-30980-J4_2TQnO/1392341249858-0.9432422982063144/package /Users/jharding/.npm/9a248d6b-49858-0-9432422982063144-package.lock
46 silly lockFile e3d0bc09-npm-grunt-exec-0-4-3-package-tgz tar:///Users/jharding/.npm/grunt-exec/0.4.3/package.tgz
47 verbose lock tar:///Users/jharding/.npm/grunt-exec/0.4.3/package.tgz /Users/jharding/.npm/e3d0bc09-npm-grunt-exec-0-4-3-package-tgz.lock
48 silly lockFile 9a248d6b-49858-0-9432422982063144-package tar:///var/folders/br/mdl4c_fn35v647bx6yg51drc0000gn/T/npm-30980-J4_2TQnO/1392341249858-0.9432422982063144/package
49 silly lockFile 9a248d6b-49858-0-9432422982063144-package tar:///var/folders/br/mdl4c_fn35v647bx6yg51drc0000gn/T/npm-30980-J4_2TQnO/1392341249858-0.9432422982063144/package
50 silly lockFile e3d0bc09-npm-grunt-exec-0-4-3-package-tgz tar:///Users/jharding/.npm/grunt-exec/0.4.3/package.tgz
51 silly lockFile e3d0bc09-npm-grunt-exec-0-4-3-package-tgz tar:///Users/jharding/.npm/grunt-exec/0.4.3/package.tgz
52 silly lockFile 48c6a9c8-ing-npm-grunt-exec-0-4-3-package /Users/jharding/.npm/grunt-exec/0.4.3/package
53 verbose lock /Users/jharding/.npm/grunt-exec/0.4.3/package /Users/jharding/.npm/48c6a9c8-ing-npm-grunt-exec-0-4-3-package.lock
54 silly lockFile 48c6a9c8-ing-npm-grunt-exec-0-4-3-package /Users/jharding/.npm/grunt-exec/0.4.3/package
55 silly lockFile 48c6a9c8-ing-npm-grunt-exec-0-4-3-package /Users/jharding/.npm/grunt-exec/0.4.3/package
56 verbose tar unpack /Users/jharding/.npm/grunt-exec/0.4.3/package.tgz
57 silly lockFile 8591f3e0-ing-npm-grunt-exec-0-4-3-package tar:///Users/jharding/.npm/grunt-exec/0.4.3/package
58 verbose lock tar:///Users/jharding/.npm/grunt-exec/0.4.3/package /Users/jharding/.npm/8591f3e0-ing-npm-grunt-exec-0-4-3-package.lock
59 silly lockFile e3d0bc09-npm-grunt-exec-0-4-3-package-tgz tar:///Users/jharding/.npm/grunt-exec/0.4.3/package.tgz
60 verbose lock tar:///Users/jharding/.npm/grunt-exec/0.4.3/package.tgz /Users/jharding/.npm/e3d0bc09-npm-grunt-exec-0-4-3-package-tgz.lock
61 silly gunzTarPerm modes [ '755', '644' ]
62 silly gunzTarPerm extractEntry package.json
63 silly gunzTarPerm extractEntry .npmignore
64 silly gunzTarPerm extractEntry README.md
65 silly gunzTarPerm extractEntry Gruntfile.js
66 silly gunzTarPerm extractEntry .travis.yml
67 silly gunzTarPerm extractEntry LICENSE-MIT
68 silly gunzTarPerm extractEntry tasks/exec.js
69 silly gunzTarPerm extractEntry test/Gruntfile.js
70 silly gunzTarPerm extractEntry test/test.js
71 silly lockFile 8591f3e0-ing-npm-grunt-exec-0-4-3-package tar:///Users/jharding/.npm/grunt-exec/0.4.3/package
72 silly lockFile 8591f3e0-ing-npm-grunt-exec-0-4-3-package tar:///Users/jharding/.npm/grunt-exec/0.4.3/package
73 silly lockFile e3d0bc09-npm-grunt-exec-0-4-3-package-tgz tar:///Users/jharding/.npm/grunt-exec/0.4.3/package.tgz
74 silly lockFile e3d0bc09-npm-grunt-exec-0-4-3-package-tgz tar:///Users/jharding/.npm/grunt-exec/0.4.3/package.tgz
75 verbose chmod /Users/jharding/.npm/grunt-exec/0.4.3/package.tgz 644
76 verbose chown /Users/jharding/.npm/grunt-exec/0.4.3/package.tgz [ 501, 20 ]
77 silly lockFile 3a52ce78- .
78 silly lockFile 3a52ce78- .
79 silly publish { name: 'grunt-exec',
79 silly publish description: 'Grunt task for executing shell commands.',
79 silly publish version: '0.4.3',
79 silly publish homepage: 'https://github.com/jharding/grunt-exec',
79 silly publish author: { name: 'Jake Harding', email: '[email protected]' },
79 silly publish repository: { type: 'git', url: 'git://github.com/jharding/grunt-exec.git' },
79 silly publish bugs: { url: 'https://github.com/jharding/grunt-exec/issues' },
79 silly publish licenses:
79 silly publish [ { type: 'MIT',
79 silly publish url: 'https://github.com/jharding/grunt-exec/blob/master/LICENSE-MIT' } ],
79 silly publish main: 'Gruntfile.js',
79 silly publish engines: { node: '>=0.8.0' },
79 silly publish scripts: { test: '/usr/bin/env node test/test.js' },
79 silly publish peerDependencies: { grunt: '~0.4' },
79 silly publish devDependencies: { grunt: '~0.4', 'grunt-contrib-jshint': '~0.1' },
79 silly publish keywords: [ 'grunt', 'gruntplugin', 'shell' ],
79 silly publish readme: '[![build status](https://secure.travis-ci.org/jharding/grunt-exec.png?branch=master)](http://travis-ci.org/jharding/grunt-exec)\ngrunt-exec\n==========\n\nGrunt plugin for executing shell commands.\n\nInstallation\n------------\n\nInstall grunt-exec using npm:\n\n```\n$ npm install grunt-exec\n```\n\nThen add this line to your project\'s *Gruntfile.js*:\n\n```javascript\ngrunt.loadNpmTasks(\'grunt-exec\');\n```\n\nUsage\n-----\n\nThis plugin is a [multi task][types_of_tasks], meaning that grunt will \nautomatically iterate over all exec targets if a target is not specified.\n\nIf the exit code generated by the specified shell command is greater than 0, \ngrunt-exec will assume an error has occurred and will abort grunt immediately.\n\n[types_of_tasks]: https://github.com/gruntjs/grunt/blob/master/docs/types_of_tasks.md#multi-tasks\n\n### Properties\n\n* __command__ (alias: __cmd__): The shell command to be executed. Must be a \n string or a function that returns a string.\n* __stdout__: If `true`, stdout will be printed. Defaults to `true`.\n* __stderr__: If `true`, stderr will be printed. Defaults to `true`.\n* __cwd__: Current working directory of the shell command. Defaults to the \n directory containing your Gruntfile.\n* __exitCode__ (alias: __exitCodes__): The expected exit code(s), task will \n fail if the actual exit code doesn\'t match. Defaults to `0`. Can be an array \n for multiple allowed exit codes.\n* __callback__: The callback function passed `child_process.exec`. Defaults to \n a noop.\n\n### Command Functions\n\nIf you plan on doing advanced stuff with grunt-exec, you\'ll most likely be using \nfunctions for the `command` property of your exec targets. This section details \na couple of helpful tips about command functions that could help make your life \neasier.\n\n#### Passing arguments from the command line\n\nCommand functions can be called with arbitrary arguments. Let\'s say we have the \nfollowing exec target that echoes a formatted name:\n\n```javascript\nexec: {\n echo_name: {\n cmd: function(firstName, lastName) {\n var formattedName = [\n lastName.toUpperCase(),\n firstName.toUpperCase()\n ].join(\', \');\n\n return \'echo \' + formattedName;\n }\n }\n}\n```\n\nIn order to get `SIMPSON, HOMER` echoed, you\'d run \n`grunt exec:echo_name:homer:simpson` from the command line.\n\n### Accessing `grunt` object\n\nAll command functions are called in the context of the `grunt` object that they \nare being ran with. This means you can access the `grunt` object through `this`.\n\n### Example\n\nThe following examples are available in grunt-exec\'s Gruntfile.\n\n```javascript\ngrunt.initConfig({\n exec: {\n remove_logs: {\n command: \'rm -f *.log\',\n stdout: false,\n stderr: false\n },\n list_files: {\n cmd: \'ls -l **\'\n },\n echo_grunt_version: {\n cmd: function() { return \'echo \' + this.version; }\n },\n echo_name: {\n cmd: function(firstName, lastName) {\n var formattedName = [\n lastName.toUpperCase(),\n firstName.toUpperCase()\n ].join(\', \');\n\n return \'echo \' + formattedName;\n }\n }\n }\n});\n```\n\nTesting\n-------\n\n```\n$ cd grunt-exec\n$ npm test\n```\n\nIssues\n------\n\nFound a bug? Create an issue on GitHub.\n\nhttps://github.com/jharding/grunt-exec/issues\n\nVersioning\n----------\n\nFor transparency and insight into the release cycle, releases will be numbered \nwith the follow format:\n\n`<major>.<minor>.<patch>`\n\nAnd constructed with the following guidelines:\n\n* Breaking backwards compatibility bumps the major\n* New additions without breaking backwards compatibility bumps the minor\n* Bug fixes and misc changes bump the patch\n\nFor more information on semantic versioning, please visit http://semver.org/.\n\nLicense\n-------\n\nCopyright (c) 2012 [Jake Harding](http://thejakeharding.com) \nLicensed under the MIT License.\n',
79 silly publish readmeFilename: 'README.md',
79 silly publish _id: '[email protected]',
79 silly publish dist: { shasum: '760fa3dfbc3057b7294310cb57a0fd5d0ae975cc' },
79 silly publish _from: '.' }
80 verbose url raw grunt-exec
81 verbose url resolving [ 'https://registry.npmjs.org/', './grunt-exec' ]
82 verbose url resolved https://registry.npmjs.org/grunt-exec
83 info trying registry request attempt 1 at 17:27:29
84 http PUT https://registry.npmjs.org/grunt-exec
85 http 409 https://registry.npmjs.org/grunt-exec
86 verbose url raw grunt-exec
87 verbose url resolving [ 'https://registry.npmjs.org/', './grunt-exec' ]
88 verbose url resolved https://registry.npmjs.org/grunt-exec
89 info trying registry request attempt 1 at 17:27:30
90 http GET https://registry.npmjs.org/grunt-exec
91 http 200 https://registry.npmjs.org/grunt-exec
92 verbose url raw grunt-exec
93 verbose url resolving [ 'https://registry.npmjs.org/', './grunt-exec' ]
94 verbose url resolved https://registry.npmjs.org/grunt-exec
95 info trying registry request attempt 1 at 17:27:30
96 http PUT https://registry.npmjs.org/grunt-exec
97 http 409 https://registry.npmjs.org/grunt-exec
98 error Error: conflict Document update conflict.: grunt-exec
98 error at RegClient.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:275:14)
98 error at Request.self.callback (/usr/local/lib/node_modules/npm/node_modules/request/request.js:123:22)
98 error at Request.EventEmitter.emit (events.js:98:17)
98 error at Request.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/request/request.js:893:14)
98 error at Request.EventEmitter.emit (events.js:117:20)
98 error at IncomingMessage.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/request/request.js:844:12)
98 error at IncomingMessage.EventEmitter.emit (events.js:117:20)
98 error at _stream_readable.js:920:16
98 error at process._tickCallback (node.js:415:13)
99 error If you need help, you may report this *entire* log,
99 error including the npm and node versions, at:
99 error <http://github.com/isaacs/npm/issues>
100 error System Darwin 12.5.0
101 error command "node" "/usr/local/bin/npm" "publish"
102 error cwd /Users/jharding/Code/projects/grunt-exec
103 error node -v v0.10.25
104 error npm -v 1.3.24
105 verbose exit [ 1, true ]
npm http PUT https://registry.npmjs.org/grunt-exec
npm http 409 https://registry.npmjs.org/grunt-exec
npm http GET https://registry.npmjs.org/grunt-exec
npm http 200 https://registry.npmjs.org/grunt-exec
npm http PUT https://registry.npmjs.org/grunt-exec
npm http 409 https://registry.npmjs.org/grunt-exec
npm ERR! Error: conflict Document update conflict.: grunt-exec
npm ERR! at RegClient.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:275:14)
npm ERR! at Request.self.callback (/usr/local/lib/node_modules/npm/node_modules/request/request.js:123:22)
npm ERR! at Request.EventEmitter.emit (events.js:98:17)
npm ERR! at Request.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/request/request.js:893:14)
npm ERR! at Request.EventEmitter.emit (events.js:117:20)
npm ERR! at IncomingMessage.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/request/request.js:844:12)
npm ERR! at IncomingMessage.EventEmitter.emit (events.js:117:20)
npm ERR! at _stream_readable.js:920:16
npm ERR! at process._tickCallback (node.js:415:13)
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR! <http://github.com/isaacs/npm/issues>
npm ERR! System Darwin 12.5.0
npm ERR! command "node" "/usr/local/bin/npm" "publish"
npm ERR! cwd /Users/jharding/Code/projects/grunt-exec
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.24
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/jharding/Code/projects/grunt-exec/npm-debug.log
npm ERR! not ok code 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment