Skip to content

Instantly share code, notes, and snippets.

@kriszyp
Created May 13, 2010 19:28
Show Gist options
  • Save kriszyp/400310 to your computer and use it in GitHub Desktop.
Save kriszyp/400310 to your computer and use it in GitHub Desktop.
bash-3.2# npm publish /projects/nodules
npm configfile /Users/kriszyp/.npmrc
npm sudo true
npm cli [ 'publish', '/projects/nodules' ]
npm publish [ '/projects/nodules' ]
npm readJson /projects/nodules/package.json
npm testEngine required: node ">=0.1.90"
npm packTar /projects/nodules /usr/local/lib/node/.npm/.cache/nodules/0.1.0/package.tgz
npm exec tar "czf" "/usr/local/lib/node/.npm/.cache/nodules/0.1.0/package.tgz" "--exclude" ".git" "nodules"
npm exec tar "xzf" "/usr/local/lib/node/.npm/.cache/nodules/0.1.0/package.tgz" "--strip" "1" "-C" "/usr/local/lib/node/.npm/.cache/nodules/0.1.0/package"
npm readJson /usr/local/lib/node/.npm/.cache/nodules/0.1.0/package/package.json
npm testEngine required: node ">=0.1.90"
npm publish { name: 'nodules'
, author: 'Kris Zyp'
, dependencies: []
, contributors: []
, keywords: [ 'module', 'URI', 'async', 'reload' ]
, engines: { node: '>=0.1.90' }
, githubName: 'nodules'
, type: 'zip'
, main: './lib/nodules'
, version: '0.1.0'
, bin: { nodules: './cli.js' }
, location: 'http://github.com/kriszyp/nodules/zipball/master'
, _id: 'nodules-0.1.0'
}
npm fail Failed PUT response undefined
npm ! Error: Cannot insert data into the registry without authorization and https
See: npm-adduser(1)
npm ! at request (/usr/local/lib/node/.npm/npm/0.1.8/package/lib/utils/registry.js:100:15)
npm ! at PUT (/usr/local/lib/node/.npm/npm/0.1.8/package/lib/utils/registry.js:149:34)
npm ! at Object.publish (/usr/local/lib/node/.npm/npm/0.1.8/package/lib/utils/registry.js:61:7)
npm ! at /usr/local/lib/node/.npm/npm/0.1.8/package/lib/publish.js:27:14
npm ! at /usr/local/lib/node/.npm/npm/0.1.8/package/lib/cache.js:172:11
npm ! at node.js:176:9
npm failure try running: 'npm help publish'
npm failure or report this at <http://github.com/isaacs/npm/issues>
npm failure or email <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment