Skip to content

Instantly share code, notes, and snippets.

@scottstensland
Created September 20, 2014 01:16
Show Gist options
  • Save scottstensland/235b5fafa6a7ef8a462c to your computer and use it in GitHub Desktop.
Save scottstensland/235b5fafa6a7ef8a462c to your computer and use it in GitHub Desktop.
npm publish -ddd Failed PUT 403 Error: forbidden cannot modify pre-existing version: 0.7.7
scott@kamchatka ~/Dropbox/Documents/code/github/websockets-streaming-audio $ npm publish -ddd
npm info it worked if it ends with ok
npm verb cli [ '/home/scott/bin_0_10_32/nodejs/bin/node',
npm verb cli '/home/scott/bin_0_10_32/nodejs/bin/npm',
npm verb cli 'publish',
npm verb cli '-ddd' ]
npm info using npm@1.4.28
npm info using node@v0.10.32
npm verb publish [ '.' ]
npm verb cache add [ '.', null ]
npm verb cache add name=undefined spec="." args=[".",null]
npm verb parsed url { protocol: null,
npm verb parsed url slashes: null,
npm verb parsed url auth: null,
npm verb parsed url host: null,
npm verb parsed url port: null,
npm verb parsed url hostname: null,
npm verb parsed url hash: null,
npm verb parsed url search: null,
npm verb parsed url query: null,
npm verb parsed url pathname: '.',
npm verb parsed url path: '.',
npm verb parsed url href: '.' }
npm sill lockFile 3a52ce78- .
npm verb lock . /home/scott/.npm/3a52ce78-.lock
/
/
|
npm verb tar pack [ '/home/scott/.npm/websockets-streaming-audio/0.7.7/package.tgz',
npm verb tar pack '.' ]
npm verb tarball /home/scott/.npm/websockets-streaming-audio/0.7.7/package.tgz
npm verb folder .
npm info prepublish websockets-streaming-audio@0.7.7
npm sill lockFile 1f1177db-tar tar://.
npm verb lock tar://. /home/scott/.npm/1f1177db-tar.lock
npm sill lockFile aee6f216-treaming-audio-0-7-7-package-tgz tar:///home/scott/.npm/websockets-streaming-audio/0.7.7/package.tgz
npm verb lock tar:///home/scott/.npm/websockets-streaming-audio/0.7.7/package.tgz /home/scott/.npm/aee6f216-treaming-audio-0-7-7-package-tgz.lock
\
|
npm sill lockFile 1f1177db-tar tar://.
npm sill lockFile 1f1177db-tar tar://.
npm sill lockFile aee6f216-treaming-audio-0-7-7-package-tgz tar:///home/scott/.npm/websockets-streaming-audio/0.7.7/package.tgz
npm sill lockFile aee6f216-treaming-audio-0-7-7-package-tgz tar:///home/scott/.npm/websockets-streaming-audio/0.7.7/package.tgz
npm sill lockFile 5283f1f4-ts-streaming-audio-0-7-7-package /home/scott/.npm/websockets-streaming-audio/0.7.7/package
npm verb lock /home/scott/.npm/websockets-streaming-audio/0.7.7/package /home/scott/.npm/5283f1f4-ts-streaming-audio-0-7-7-package.lock
npm sill lockFile 5283f1f4-ts-streaming-audio-0-7-7-package /home/scott/.npm/websockets-streaming-audio/0.7.7/package
npm sill lockFile 5283f1f4-ts-streaming-audio-0-7-7-package /home/scott/.npm/websockets-streaming-audio/0.7.7/package
npm sill lockFile 3a52ce78- .
npm sill lockFile 3a52ce78- .
npm sill publish { author:
npm sill publish { name: 'Scott Stensland',
npm sill publish email: 'scottstensland@gmail.com',
npm sill publish url: 'http://catfoodnation.com/' },
npm sill publish bugs: { url: 'https://github.com/scottstensland/websockets-streaming-audio/issues' },
npm sill publish dependencies:
npm sill publish { ws: '0.4.x',
npm sill publish express: '^4.4.5',
npm sill publish 'audio-utils': '1.0.x',
npm sill publish 'shared-utils': '0.1.3-6' },
npm sill publish description: 'Click a browser button to launch a node.js process on the server side which streams audio using web sockets back to the browser which is then rendered using web audio API My plan is to make this modular enough to get added to your process as simple API calls',
npm sill publish engines: { node: '0.10.x' },
npm sill publish homepage: 'https://github.com/scottstensland',
npm sill publish keywords: [ 'websockets', 'webaudio', 'audio', 'streaming', 'binary' ],
npm sill publish license: 'ISC',
npm sill publish main: 'src_mod/app.js',
npm sill publish name: 'websockets-streaming-audio',
npm sill publish repository:
npm sill publish { type: 'git',
npm sill publish url: 'https://github.com/scottstensland/websockets-streaming-audio.git' },
npm sill publish scripts: { start: 'node src/app.js', test: 'make' },
npm sill publish subdomain: 'websockets-streaming-audio',
npm sill publish version: '0.7.7',
npm sill publish readme: 'websockets-streaming-audio\n==========================\n\nClick a browser button to launch a node.js process on the server side which streams audio using web sockets back to the browser which is then rendered using web audio API\n\nMy plan is to make this modular enough to get added to your process as simple API calls\n\n# Installation\n\nvisit [nodejs.org](http://nodejs.org) and install node.js\n\nsee project npm site at \n\n[https://www.npmjs.org/package/websockets-streaming-audio](https://www.npmjs.org/package/websockets-streaming-audio)\n\n\n\n\nClone this repository to your local machine:\n\n```bash\nnpm install websockets-streaming-audio\n```\nChange directory into the project folder websockets-streaming-audio\n\nThen install the dependent modules:\n\n```bash\nnpm install\n```\n\n\nLaunch the nodejs app:\n\n```bash\nnpm start\n```\n\n\nUsing a WebGL savvy browser, point it at URL :\n\n```bash\n\t\t http://localhost:8888 \n```\n\nnow in your browser (firefox/chrome) click stream_audio\n\nor ignore above and just see this WebGL app deployed live on heroku :\n\n[http://websockets-streaming-audio.herokuapp.com](http://websockets-streaming-audio.herokuapp.com)\n\n\nFeel free to contact me on twitter if you have any questions! :) [@scottstensland](http://twitter.com/scottstensland)\n\n\n',
npm sill publish readmeFilename: 'README.md',
npm sill publish gitHead: '21a1bc7a55cf27122f0af09351484acafad2ca7a',
npm sill publish _id: 'websockets-streaming-audio@0.7.7',
npm sill publish _shasum: 'c34de231db3de1eed860056ee20e33d6ec6cfa63',
npm sill publish _from: '.' }
npm verb request where is /websockets-streaming-audio
npm verb request registry https://registry.npmjs.org/
npm verb request id 2f0437559bffc2d7
npm verb url raw /websockets-streaming-audio
npm verb url resolving [ 'https://registry.npmjs.org/',
npm verb url resolving './websockets-streaming-audio' ]
npm verb url resolved https://registry.npmjs.org/websockets-streaming-audio
npm verb request where is https://registry.npmjs.org/websockets-streaming-audio
npm info trying registry request attempt 1 at 20:46:46
npm http PUT https://registry.npmjs.org/websockets-streaming-audio
npm http 403 https://registry.npmjs.org/websockets-streaming-audio
npm verb headers { date: 'Sat, 20 Sep 2014 00:57:47 GMT',
npm verb headers server: 'CouchDB/1.5.0 (Erlang OTP/R14B04)',
npm verb headers 'content-type': 'application/json',
npm verb headers 'cache-control': 'max-age=60',
npm verb headers 'content-length': '5002',
npm verb headers 'accept-ranges': 'bytes',
npm verb headers via: '1.1 varnish',
npm verb headers 'x-served-by': 'cache-jfk1023-JFK',
npm verb headers 'x-cache': 'MISS',
npm verb headers 'x-cache-hits': '0',
npm verb headers 'x-timer': 'S1411174016.173477,VS0,VE650878',
npm verb headers 'keep-alive': 'timeout=10, max=50',
npm verb headers connection: 'Keep-Alive' }
npm ERR! publish Failed PUT 403
npm ERR! Error: forbidden cannot modify pre-existing version: 0.7.7
npm ERR! old={"author":{"name":"Scott Stensland","email":"scottstensland@gmail.com","url":"http://catfoodnation.com/"},"bugs":{"url":"https://github.com/scottstensland/websockets-streaming-audio/issues"},"dependencies":{"ws":"0.4.x","express":"^4.4.5","audio-utils":"1.0.x","shared-utils":"0.1.3-6"},"description":"Click a browser button to launch a node.js process on the server side which streams audio using web sockets back to the browser which is then rendered using web audio API My plan is to make this modular enough to get added to your process as simple API ","engines":{"node":"0.10.x"},"homepage":"https://github.com/scottstensland","keywords":["websockets","webaudio","audio","streaming","binary"],"license":"ISC","main":"src_mod/app.js","name":"websockets-streaming-audio","repository":{"type":"git","url":"https://github.com/scottstensland/websockets-streaming-audio.git"},"scripts":{"start":"node src/app.js","test":"make"},"subdomain":"websockets-streaming-audio","version":"0.7.7","gitHead":"21a1bc7a55cf27122f0af09351484acafad2ca7a","_id":"websockets-streaming-audio@0.7.7","_shasum":"27daad4bd267c3176f498a7b52aa76eee3420110","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"eventhorizon","email":"scottstensland@gmail.com"},"maintainers":[{"name":"eventhorizon","email":"scottstensland@gmail.com"}],"dist":{"shasum":"27daad4bd267c3176f498a7b52aa76eee3420110","tarball":"http://registry.npmjs.org/websockets-streaming-audio/-/websockets-streaming-audio-0.7.7.tgz"}}
npm ERR! new={"author":{"name":"Scott Stensland","email":"scottstensland@gmail.com","url":"http://catfoodnation.com/"},"bugs":{"url":"https://github.com/scottstensland/websockets-streaming-audio/issues"},"dependencies":{"ws":"0.4.x","express":"^4.4.5","audio-utils":"1.0.x","shared-utils":"0.1.3-6"},"description":"Click a browser button to launch a node.js process on the server side which streams audio using web sockets back to the browser which is then rendered using web audio API My plan is to make this modular enough to get added to your process as simple API calls","engines":{"node":"0.10.x"},"homepage":"https://github.com/scottstensland","keywords":["websockets","webaudio","audio","streaming","binary"],"license":"ISC","main":"src_mod/app.js","name":"websockets-streaming-audio","repository":{"type":"git","url":"https://github.com/scottstensland/websockets-streaming-audio.git"},"scripts":{"start":"node src/app.js","test":"make"},"subdomain":"websockets-streaming-audio","version":"0.7.7","readme":"websockets-streaming-audio\u000a==========================\u000a\u000aClick a browser button to launch a node.js process on the server side which streams audio using web sockets back to the browser which is then rendered using web audio API\u000a\u000aMy plan is to make this modular enough to get added to your process as simple API calls\u000a\u000a# Installation\u000a\u000avisit [nodejs.org](http://nodejs.org) and install node.js\u000a\u000asee project npm site at \u000a\u000a[https://www.npmjs.org/package/websockets-streaming-audio](https://www.npmjs.org/package/websockets-streaming-audio)\u000a\u000a\u000a\u000a\u000aClone this repository to your local machine:\u000a\u000a```bash\u000anpm install websockets-streaming-audio\u000a```\u000aChange directory into the project folder websockets-streaming-audio\u000a\u000aThen install the dependent modules:\u000a\u000a```bash\u000anpm install\u000a```\u000a\u000a\u000aLaunch the nodejs app:\u000a\u000a```bash\u000anpm start\u000a```\u000a\u000a\u000aUsing a WebGL savvy browser, point it at URL :\u000a\u000a```bash\u000a\u0009\u0009 http://localhost:8888 \u000a```\u000a\u000anow in your browser (firefox/chrome) click stream_audio\u000a\u000aor ignore above and just see this WebGL app deployed live on heroku :\u000a\u000a[http://websockets-streaming-audio.herokuapp.com](http://websockets-streaming-audio.herokuapp.com)\u000a\u000a\u000aFeel free to contact me on twitter if you have any questions! :) [@scottstensland](http://twitter.com/scottstensland)\u000a\u000a\u000a","readmeFilename":"README.md","gitHead":"21a1bc7a55cf27122f0af09351484acafad2ca7a","_id":"websockets-streaming-audio@0.7.7","_shasum":"c34de231db3de1eed860056ee20e33d6ec6cfa63","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"eventhorizon","email":"scottstensland@gmail.com"},"maintainers":[{"name":"eventhorizon","email":"scottstensland@gmail.com"}],"dist":{"shasum":"c34de231db3de1eed860056ee20e33d6ec6cfa63","tarball":"http://registry.npmjs.org/websockets-streaming-audio/-/websockets-streaming-audio-0.7.7.tgz"}}: websockets-streaming-audio
npm ERR! at RegClient.<anonymous> (/home/scott/bin_0_10_32/nodejs/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:308:14)
npm ERR! at Request._callback (/home/scott/bin_0_10_32/nodejs/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:246:65)
npm ERR! at Request.self.callback (/home/scott/bin_0_10_32/nodejs/lib/node_modules/npm/node_modules/request/request.js:236:22)
npm ERR! at Request.emit (events.js:98:17)
npm ERR! at Request.<anonymous> (/home/scott/bin_0_10_32/nodejs/lib/node_modules/npm/node_modules/request/request.js:1142:14)
npm ERR! at Request.emit (events.js:117:20)
npm ERR! at IncomingMessage.<anonymous> (/home/scott/bin_0_10_32/nodejs/lib/node_modules/npm/node_modules/request/request.js:1096:12)
npm ERR! at IncomingMessage.emit (events.js:117:20)
npm ERR! at _stream_readable.js:943:16
npm ERR! at process._tickCallback (node.js:419: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/npm/npm/issues>
npm ERR! System Linux 3.13.0-35-generic
npm ERR! command "/home/scott/bin_0_10_32/nodejs/bin/node" "/home/scott/bin_0_10_32/nodejs/bin/npm" "publish" "-ddd"
npm ERR! cwd /home/scott/Dropbox/Documents/code/github/websockets-streaming-audio
npm ERR! node -v v0.10.32
npm ERR! npm -v 1.4.28
npm verb exit [ 1, true ]
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/scott/Dropbox/Documents/code/github/websockets-streaming-audio/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