Skip to content

Instantly share code, notes, and snippets.

@saimonmoore
Created April 13, 2015 16:29
Show Gist options
  • Save saimonmoore/9c4adb04772cfb728a42 to your computer and use it in GitHub Desktop.
Save saimonmoore/9c4adb04772cfb728a42 to your computer and use it in GitHub Desktop.
> [email protected] start /data/parrot/package
> node --expose-gc ./server.js
could not parse<stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" version="1.0" id="c58c891005b2e3e0ad325511634bb15d" from="onprem1.on-premise.staging.redbooth.com">
_http_outgoing.js:333
throw new Error('"name" and "value" are required for setHeader().');
^
Error: "name" and "value" are required for setHeader().
at ServerResponse.OutgoingMessage.setHeader (_http_outgoing.js:333:11)
at BOSHServer.setCorsHeader (/data/parrot/package/node_modules/node-xmpp-server/lib/bosh/http.js:69:9)
at BOSHServer.handleHTTP (/data/parrot/package/node_modules/node-xmpp-server/lib/bosh/http.js:80:10)
at Server.<anonymous> (/data/parrot/package/node_modules/node-xmpp-server/lib/bosh/server.js:74:19)
at Server.emit (events.js:110:17)
at HTTPParser.parserOnIncoming [as onIncoming] (_http_server.js:491:12)
at HTTPParser.parserOnHeadersComplete (_http_common.js:111:23)
at Socket.socketOnData (_http_server.js:343:22)
at Socket.emit (events.js:107:17)
at readableAddChunk (_stream_readable.js:163:16)
npm ERR! Linux 3.13.0-45-generic
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "start"
npm ERR! node v0.12.2
npm ERR! npm v2.7.4
npm ERR! code ELIFECYCLE
npm ERR! [email protected] start: `node --expose-gc ./server.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script 'node --expose-gc ./server.js'.
npm ERR! This is most likely a problem with the parrot package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node --expose-gc ./server.js
npm ERR! You can get their info via:
npm ERR! npm owner ls parrot
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /data/parrot/package/npm-debug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment