Skip to content

Instantly share code, notes, and snippets.

@AdamPrendergast
Created October 10, 2012 19:56
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AdamPrendergast/3868012 to your computer and use it in GitHub Desktop.
Save AdamPrendergast/3868012 to your computer and use it in GitHub Desktop.
error: Error running command deploy
error: Nodejitsu Error (500): Internal Server Error
error: npm http GET http://nj-npm.irisnpm.com/serialport
npm http GET http://nj-npm.irisnpm.com/colors
npm http GET http://nj-npm.irisnpm.com/kickstart
npm http GET http://nj-npm.irisnpm.com/socket.io
npm http GET http://nj-npm.irisnpm.com/requirejs
npm http 200 http://nj-npm.irisnpm.com/colors
npm http GET http://nj-npm.irisnpm.com/colors/-/colors-0.6.0-1.tgz
npm http 200 http://nj-npm.irisnpm.com/serialport
npm http 200 http://nj-npm.irisnpm.com/colors/-/colors-0.6.0-1.tgz
npm http 200 http://nj-npm.irisnpm.com/requirejs
npm http 200 http://nj-npm.irisnpm.com/socket.io
npm http 200 http://nj-npm.irisnpm.com/kickstart
npm http GET http://nj-npm.irisnpm.com/serialport/-/serialport-1.0.8.tgz
npm http GET http://nj-npm.irisnpm.com/requirejs/-/requirejs-2.1.0.tgz
npm http GET http://nj-npm.irisnpm.com/socket.io/-/socket.io-0.9.10.tgz
npm http GET http://nj-npm.irisnpm.com/kickstart/-/kickstart-0.0.6.tgz
npm http 200 http://nj-npm.irisnpm.com/kickstart/-/kickstart-0.0.6.tgz
npm http 200 http://nj-npm.irisnpm.com/requirejs/-/requirejs-2.1.0.tgz
npm http 200 http://nj-npm.irisnpm.com/serialport/-/serialport-1.0.8.tgz
npm http 200 http://nj-npm.irisnpm.com/socket.io/-/socket.io-0.9.10.tgz
npm http GET http://nj-npm.irisnpm.com/connect
npm http GET http://nj-npm.irisnpm.com/express
npm http GET http://nj-npm.irisnpm.com/jade
npm http GET http://nj-npm.irisnpm.com/less
npm http GET http://nj-npm.irisnpm.com/socket.io-client/0.9.10
npm http GET http://nj-npm.irisnpm.com/policyfile/0.0.4
npm http GET http://nj-npm.irisnpm.com/redis/0.7.2
npm http GET http://nj-npm.irisnpm.com/bindings/0.3.0
npm http GET http://nj-npm.irisnpm.com/async/0.1.18
npm http GET http://nj-npm.irisnpm.com/sf/0.1.3
npm http GET http://nj-npm.irisnpm.com/optimist
npm http GET http://nj-npm.irisnpm.com/node-gyp/0.6.2
npm http 200 http://nj-npm.irisnpm.com/less
npm http GET http://nj-npm.irisnpm.com/less/-/less-1.3.0.tgz
npm http 200 http://nj-npm.irisnpm.com/jade
npm http 200 http://nj-npm.irisnpm.com/express
npm http GET http://nj-npm.irisnpm.com/jade/-/jade-0.27.6.tgz
npm http GET http://nj-npm.irisnpm.com/express/-/express-2.5.11.tgz
npm http 200 http://nj-npm.irisnpm.com/socket.io-client/0.9.10
npm http GET http://nj-npm.irisnpm.com/socket.io-client/-/socket.io-client-0.9.10.tgz
npm http 200 http://nj-npm.irisnpm.com/connect
npm http GET http://nj-npm.irisnpm.com/connect/-/connect-2.6.0.tgz
npm http 200 http://nj-npm.irisnpm.com/policyfile/0.0.4
npm http GET http://nj-npm.irisnpm.com/policyfile/-/policyfile-0.0.4.tgz
npm http 200 http://nj-npm.irisnpm.com/redis/0.7.2
npm http GET http://nj-npm.irisnpm.com/redis/-/redis-0.7.2.tgz
npm http 200 http://nj-npm.irisnpm.com/bindings/0.3.0
npm http GET http://nj-npm.irisnpm.com/bindings/-/bindings-0.3.0.tgz
npm http 200 http://nj-npm.irisnpm.com/sf/0.1.3
npm http GET http://nj-npm.irisnpm.com/sf/-/sf-0.1.3.tgz
npm http 200 http://nj-npm.irisnpm.com/async/0.1.18
npm http GET http://nj-npm.irisnpm.com/async/-/async-0.1.18.tgz
npm http 200 http://nj-npm.irisnpm.com/less/-/less-1.3.0.tgz
npm http 200 http://nj-npm.irisnpm.com/optimist
npm http GET http://nj-npm.irisnpm.com/optimist/-/optimist-0.3.5.tgz
npm http 200 http://nj-npm.irisnpm.com/jade/-/jade-0.27.6.tgz
npm http 200 http://nj-npm.irisnpm.com/express/-/express-2.5.11.tgz
npm http 200 http://nj-npm.irisnpm.com/socket.io-client/-/socket.io-client-0.9.10.tgz
npm http 200 http://nj-npm.irisnpm.com/node-gyp/0.6.2
npm http GET http://nj-npm.irisnpm.com/node-gyp/-/node-gyp-0.6.2.tgz
npm http 200 http://nj-npm.irisnpm.com/connect/-/connect-2.6.0.tgz
npm http 200 http://nj-npm.irisnpm.com/redis/-/redis-0.7.2.tgz
npm http 200 http://nj-npm.irisnpm.com/policyfile/-/policyfile-0.0.4.tgz
npm http 200 http://nj-npm.irisnpm.com/bindings/-/bindings-0.3.0.tgz
npm http 200 http://nj-npm.irisnpm.com/sf/-/sf-0.1.3.tgz
npm http 200 http://nj-npm.irisnpm.com/async/-/async-0.1.18.tgz
npm http 200 http://nj-npm.irisnpm.com/node-gyp/-/node-gyp-0.6.2.tgz
npm http 200 http://nj-npm.irisnpm.com/optimist/-/optimist-0.3.5.tgz
npm http GET http://nj-npm.irisnpm.com/wordwrap
npm http 200 http://nj-npm.irisnpm.com/wordwrap
npm http GET http://nj-npm.irisnpm.com/wordwrap/-/wordwrap-0.0.2.tgz
npm http 200 http://nj-npm.irisnpm.com/wordwrap/-/wordwrap-0.0.2.tgz
npm http GET http://nj-npm.irisnpm.com/glob
npm http GET http://nj-npm.irisnpm.com/graceful-fs
npm http GET http://nj-npm.irisnpm.com/fstream
npm http GET http://nj-npm.irisnpm.com/minimatch
npm http GET http://nj-npm.irisnpm.com/mkdirp
npm http GET http://nj-npm.irisnpm.com/nopt
npm http GET http://nj-npm.irisnpm.com/npmlog
npm http GET http://nj-npm.irisnpm.com/osenv
npm http GET http://nj-npm.irisnpm.com/request
npm http GET http://nj-npm.irisnpm.com/rimraf
npm http GET http://nj-npm.irisnpm.com/semver
npm http GET http://nj-npm.irisnpm.com/tar
npm http GET http://nj-npm.irisnpm.com/which
npm http 200 http://nj-npm.irisnpm.com/graceful-fs
npm http GET http://nj-npm.irisnpm.com/graceful-fs/-/graceful-fs-1.1.14.tgz
npm http 200 http://nj-npm.irisnpm.com/fstream
npm http GET http://nj-npm.irisnpm.com/fstream/-/fstream-0.1.19.tgz
npm http 200 http://nj-npm.irisnpm.com/glob
npm http GET http://nj-npm.irisnpm.com/glob/-/glob-3.1.13.tgz
npm http 200 http://nj-npm.irisnpm.com/mkdirp
npm http GET http://nj-npm.irisnpm.com/mkdirp/-/mkdirp-0.3.4.tgz
npm http 200 http://nj-npm.irisnpm.com/nopt
npm http 200 http://nj-npm.irisnpm.com/minimatch
npm http 200 http://nj-npm.irisnpm.com/osenv
npm http GET http://nj-npm.irisnpm.com/minimatch/-/minimatch-0.2.7.tgz
npm http GET http://nj-npm.irisnpm.com/nopt/-/nopt-2.0.0.tgz
npm http GET http://nj-npm.irisnpm.com/osenv/-/osenv-0.0.3.tgz
npm http 200 http://nj-npm.irisnpm.com/npmlog
npm http GET http://nj-npm.irisnpm.com/npmlog/-/npmlog-0.0.2.tgz
npm http 200 http://nj-npm.irisnpm.com/rimraf
npm http GET http://nj-npm.irisnpm.com/rimraf/-/rimraf-2.0.2.tgz
npm http 200 http://nj-npm.irisnpm.com/request
npm http GET http://nj-npm.irisnpm.com/request/-/request-2.9.203.tgz
npm http 200 http://nj-npm.irisnpm.com/tar
npm http GET http://nj-npm.irisnpm.com/tar/-/tar-0.1.13.tgz
npm http 200 http://nj-npm.irisnpm.com/which
npm http GET http://nj-npm.irisnpm.com/which/-/which-1.0.5.tgz
npm http 200 http://nj-npm.irisnpm.com/semver
npm http GET http://nj-npm.irisnpm.com/semver/-/semver-1.1.0.tgz
npm http 200 http://nj-npm.irisnpm.com/graceful-fs/-/graceful-fs-1.1.14.tgz
npm http 200 http://nj-npm.irisnpm.com/fstream/-/fstream-0.1.19.tgz
npm http 200 http://nj-npm.irisnpm.com/glob/-/glob-3.1.13.tgz
npm http 200 http://nj-npm.irisnpm.com/minimatch/-/minimatch-0.2.7.tgz
npm http 200 http://nj-npm.irisnpm.com/mkdirp/-/mkdirp-0.3.4.tgz
npm http GET http://nj-npm.irisnpm.com/mime/1.2.4
npm http GET http://nj-npm.irisnpm.com/commander/0.6.1
npm http GET http://nj-npm.irisnpm.com/qs
npm http GET http://nj-npm.irisnpm.com/mkdirp/0.3.0
npm http GET http://nj-npm.irisnpm.com/connect
npm http GET http://nj-npm.irisnpm.com/mkdirp
npm http 200 http://nj-npm.irisnpm.com/nopt/-/nopt-2.0.0.tgz
npm http 200 http://nj-npm.irisnpm.com/request/-/request-2.9.203.tgz
npm http 200 http://nj-npm.irisnpm.com/npmlog/-/npmlog-0.0.2.tgz
npm http 200 http://nj-npm.irisnpm.com/osenv/-/osenv-0.0.3.tgz
npm http 200 http://nj-npm.irisnpm.com/rimraf/-/rimraf-2.0.2.tgz
npm http GET http://nj-npm.irisnpm.com/qs/0.5.1
npm http GET http://nj-npm.irisnpm.com/formidable/1.0.11
npm http GET http://nj-npm.irisnpm.com/crc/0.2.0
npm http GET http://nj-npm.irisnpm.com/cookie/0.0.4
npm http GET http://nj-npm.irisnpm.com/bytes/0.1.0
npm http GET http://nj-npm.irisnpm.com/send/0.0.4
npm http GET http://nj-npm.irisnpm.com/fresh/0.1.0
npm http GET http://nj-npm.irisnpm.com/pause/0.0.1
npm http GET http://nj-npm.irisnpm.com/debug
npm http 200 http://nj-npm.irisnpm.com/tar/-/tar-0.1.13.tgz
npm http 200 http://nj-npm.irisnpm.com/which/-/which-1.0.5.tgz
npm http 200 http://nj-npm.irisnpm.com/semver/-/semver-1.1.0.tgz
npm http 200 http://nj-npm.irisnpm.com/commander/0.6.1
npm http 200 http://nj-npm.irisnpm.com/qs
npm http 200 http://nj-npm.irisnpm.com/mime/1.2.4
npm http GET http://nj-npm.irisnpm.com/commander/-/commander-0.6.1.tgz
npm http GET http://nj-npm.irisnpm.com/qs/-/qs-0.4.2.tgz
npm http GET http://nj-npm.irisnpm.com/mime/-/mime-1.2.4.tgz
npm http 200 http://nj-npm.irisnpm.com/formidable/1.0.11
npm http 200 http://nj-npm.irisnpm.com/qs/0.5.1
npm http 200 http://nj-npm.irisnpm.com/mkdirp/0.3.0
npm http 304 http://nj-npm.irisnpm.com/connect
npm http 304 http://nj-npm.irisnpm.com/mkdirp
npm http GET http://nj-npm.irisnpm.com/qs/-/qs-0.5.1.tgz
npm http GET http://nj-npm.irisnpm.com/mkdirp/-/mkdirp-0.3.0.tgz
npm http GET http://nj-npm.irisnpm.com/connect/-/connect-1.9.2.tgz
npm http GET http://nj-npm.irisnpm.com/formidable/-/formidable-1.0.11.tgz
npm http 200 http://nj-npm.irisnpm.com/send/0.0.4
npm http 200 http://nj-npm.irisnpm.com/bytes/0.1.0
npm http 200 http://nj-npm.irisnpm.com/fresh/0.1.0
npm http 200 http://nj-npm.irisnpm.com/cookie/0.0.4
npm http 200 http://nj-npm.irisnpm.com/crc/0.2.0
npm http GET http://nj-npm.irisnpm.com/send/-/send-0.0.4.tgz
npm http GET http://nj-npm.irisnpm.com/bytes/-/bytes-0.1.0.tgz
npm http GET http://nj-npm.irisnpm.com/fresh/-/fresh-0.1.0.tgz
npm http GET http://nj-npm.irisnpm.com/crc/-/crc-0.2.0.tgz
npm http GET http://nj-npm.irisnpm.com/cookie/-/cookie-0.0.4.tgz
npm http GET http://nj-npm.irisnpm.com/hiredis
npm http 200 http://nj-npm.irisnpm.com/commander/-/commander-0.6.1.tgz
npm http 200 http://nj-npm.irisnpm.com/mime/-/mime-1.2.4.tgz
npm http 200 http://nj-npm.irisnpm.com/qs/-/qs-0.4.2.tgz
npm http 200 http://nj-npm.irisnpm.com/debug
npm http 200 http://nj-npm.irisnpm.com/pause/0.0.1
npm http GET http://nj-npm.irisnpm.com/debug/-/debug-0.7.0.tgz
npm http GET http://nj-npm.irisnpm.com/pause/-/pause-0.0.1.tgz
npm http GET http://nj-npm.irisnpm.com/ansi
npm http GET http://nj-npm.irisnpm.com/abbrev
npm http GET http://nj-npm.irisnpm.com/lru-cache
npm http GET http://nj-npm.irisnpm.com/inherits
npm http GET http://nj-npm.irisnpm.com/inherits
npm http GET http://nj-npm.irisnpm.com/inherits
npm http GET http://nj-npm.irisnpm.com/block-stream
npm http 200 http://nj-npm.irisnpm.com/send/-/send-0.0.4.tgz
npm http 200 http://nj-npm.irisnpm.com/formidable/-/formidable-1.0.11.tgz
npm http 200 http://nj-npm.irisnpm.com/connect/-/connect-1.9.2.tgz
npm http 200 http://nj-npm.irisnpm.com/qs/-/qs-0.5.1.tgz
npm http 200 http://nj-npm.irisnpm.com/mkdirp/-/mkdirp-0.3.0.tgz
npm http 200 http://nj-npm.irisnpm.com/bytes/-/bytes-0.1.0.tgz
npm http 200 http://nj-npm.irisnpm.com/fresh/-/fresh-0.1.0.tgz
npm http 200 http://nj-npm.irisnpm.com/cookie/-/cookie-0.0.4.tgz
npm http 200 http://nj-npm.irisnpm.com/crc/-/crc-0.2.0.tgz
npm http 200 http://nj-npm.irisnpm.com/hiredis
npm http 200 http://nj-npm.irisnpm.com/debug/-/debug-0.7.0.tgz
npm http GET http://nj-npm.irisnpm.com/hiredis/-/hiredis-0.1.14.tgz
npm http 200 http://nj-npm.irisnpm.com/pause/-/pause-0.0.1.tgz
npm WARN package.json connect@1.9.2 No README.md file found!
npm http 200 http://nj-npm.irisnpm.com/lru-cache
npm http 200 http://nj-npm.irisnpm.com/ansi
npm http 200 http://nj-npm.irisnpm.com/abbrev
npm http GET http://nj-npm.irisnpm.com/lru-cache/-/lru-cache-2.0.4.tgz
npm http GET http://nj-npm.irisnpm.com/ansi/-/ansi-0.1.2.tgz
npm http GET http://nj-npm.irisnpm.com/abbrev/-/abbrev-1.0.3.tgz
npm http 200 http://nj-npm.irisnpm.com/inherits
npm http GET http://nj-npm.irisnpm.com/inherits/-/inherits-1.0.0.tgz
npm http 200 http://nj-npm.irisnpm.com/inherits
npm http 200 http://nj-npm.irisnpm.com/inherits
npm http 200 http://nj-npm.irisnpm.com/block-stream
npm http 200 http://nj-npm.irisnpm.com/hiredis/-/hiredis-0.1.14.tgz
npm http GET http://nj-npm.irisnpm.com/block-stream/-/block-stream-0.0.6.tgz
npm http 200 http://nj-npm.irisnpm.com/lru-cache/-/lru-cache-2.0.4.tgz
npm http 200 http://nj-npm.irisnpm.com/ansi/-/ansi-0.1.2.tgz
npm http 200 http://nj-npm.irisnpm.com/abbrev/-/abbrev-1.0.3.tgz
npm http 200 http://nj-npm.irisnpm.com/inherits/-/inherits-1.0.0.tgz
npm http GET http://nj-npm.irisnpm.com/uglify-js/1.2.5
npm http GET http://nj-npm.irisnpm.com/ws
npm http GET http://nj-npm.irisnpm.com/xmlhttprequest/1.4.2
npm http GET http://nj-npm.irisnpm.com/active-x-obfuscator/0.0.1
npm http 200 http://nj-npm.irisnpm.com/block-stream/-/block-stream-0.0.6.tgz
npm http 200 http://nj-npm.irisnpm.com/xmlhttprequest/1.4.2
npm http 200 http://nj-npm.irisnpm.com/ws
npm http 200 http://nj-npm.irisnpm.com/uglify-js/1.2.5
npm http GET http://nj-npm.irisnpm.com/ws/-/ws-0.4.22.tgz
npm http GET http://nj-npm.irisnpm.com/xmlhttprequest/-/xmlhttprequest-1.4.2.tgz
npm http GET http://nj-npm.irisnpm.com/uglify-js/-/uglify-js-1.2.5.tgz
npm WARN package.json hiredis@0.1.14 No README.md file found!
npm http 200 http://nj-npm.irisnpm.com/active-x-obfuscator/0.0.1
npm http GET http://nj-npm.irisnpm.com/active-x-obfuscator/-/active-x-obfuscator-0.0.1.tgz
npm http 200 http://nj-npm.irisnpm.com/uglify-js/-/uglify-js-1.2.5.tgz
npm http 200 http://nj-npm.irisnpm.com/xmlhttprequest/-/xmlhttprequest-1.4.2.tgz
npm http 200 http://nj-npm.irisnpm.com/ws/-/ws-0.4.22.tgz
npm http 200 http://nj-npm.irisnpm.com/active-x-obfuscator/-/active-x-obfuscator-0.0.1.tgz
npm http GET http://nj-npm.irisnpm.com/mime/1.2.6
npm http GET http://nj-npm.irisnpm.com/range-parser/0.0.4
> hiredis@0.1.14 preinstall /root/tmp/tmp-20417kamcoe8/build/package/node_modules/socket.io/node_modules/redis/node_modules/hiredis
> make || gmake
cd deps/hiredis && make static
npm http GET http://nj-npm.irisnpm.com/formidable
make[1]: Entering directory `/root/tmp/tmp-20417kamcoe8/build/package/node_modules/socket.io/node_modules/redis/node_modules/hiredis/deps/hiredis'
cc -std=c99 -pedantic -c -O3 -fPIC -m64 -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb net.c
npm http 200 http://nj-npm.irisnpm.com/mime/1.2.6
npm http 200 http://nj-npm.irisnpm.com/range-parser/0.0.4
npm http GET http://nj-npm.irisnpm.com/mime/-/mime-1.2.6.tgz
npm http GET http://nj-npm.irisnpm.com/range-parser/-/range-parser-0.0.4.tgz
> serialport@1.0.8 install /root/tmp/tmp-20417kamcoe8/build/package/node_modules/serialport
> node-gyp rebuild
npm http 200 http://nj-npm.irisnpm.com/range-parser/-/range-parser-0.0.4.tgz
npm http 200 http://nj-npm.irisnpm.com/formidable
npm http 200 http://nj-npm.irisnpm.com/mime/-/mime-1.2.6.tgz
cc -std=c99 -pedantic -c -O3 -fPIC -m64 -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb hiredis.c
make: Entering directory `/root/tmp/tmp-20417kamcoe8/build/package/node_modules/serialport/build'
CXX(target) Release/obj.target/serialport/src/serialport.o
cc -std=c99 -pedantic -c -O3 -fPIC -m64 -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb sds.c
cc -std=c99 -pedantic -c -O3 -fPIC -m64 -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb async.c
async.c: In function '__redisAsyncCommand':
async.c:538:10: warning: 'cstr' may be used uninitialized in this function [-Wuninitialized]
CXX(target) Release/obj.target/serialport/src/serialport_unix.o
npm http GET http://nj-npm.irisnpm.com/zeparser/0.0.5
npm http 200 http://nj-npm.irisnpm.com/zeparser/0.0.5
npm http GET http://nj-npm.irisnpm.com/zeparser/-/zeparser-0.0.5.tgz
ar rcs libhiredis.a net.o hiredis.o sds.o async.o
make[1]: Leaving directory `/root/tmp/tmp-20417kamcoe8/build/package/node_modules/socket.io/node_modules/redis/node_modules/hiredis/deps/hiredis'
node-waf configure build
npm http 200 http://nj-npm.irisnpm.com/zeparser/-/zeparser-0.0.5.tgz
npm http GET http://nj-npm.irisnpm.com/commander
npm http GET http://nj-npm.irisnpm.com/tinycolor
npm http GET http://nj-npm.irisnpm.com/options
npm http 200 http://nj-npm.irisnpm.com/tinycolor
npm http GET http://nj-npm.irisnpm.com/tinycolor/-/tinycolor-0.0.1.tgz
../src/serialport_unix.cpp: In function 'int ToBaudConstant(int)':
../src/serialport_unix.cpp:51:25: error: 'B500000' was not declared in this scope
../src/serialport_unix.cpp:52:25: error: 'B576000' was not declared in this scope
../src/serialport_unix.cpp:54:26: error: 'B1000000' was not declared in this scope
../src/serialport_unix.cpp:55:26: error: 'B1152000' was not declared in this scope
../src/serialport_unix.cpp:56:26: error: 'B1500000' was not declared in this scope
../src/serialport_unix.cpp:57:26: error: 'B2000000' was not declared in this scope
../src/serialport_unix.cpp:58:26: error: 'B2500000' was not declared in this scope
../src/serialport_unix.cpp:59:26: error: 'B3000000' was not declared in this scope
../src/serialport_unix.cpp:60:26: error: 'B3500000' was not declared in this scope
../src/serialport_unix.cpp:61:26: error: 'B4000000' was not declared in this scope
../src/serialport_unix.cpp: In function 'void EIO_Open(uv_work_t*)':
../src/serialport_unix.cpp:120:22: error: 'FASYNC' was not declared in this scope
Setting srcdir to : /root/tmp/tmp-20417kamcoe8/build/package/node_modules/socket.io/node_modules/redis/node_modules/hiredis
Setting blddir to : /root/tmp/tmp-20417kamcoe8/build/package/node_modules/socket.io/node_modules/redis/node_modules/hiredis/build
Checking for program g++ or c++ : /opt/local/bin/g++
make: *** [Release/obj.target/serialport/src/serialport_unix.o] Error 1
make: Leaving directory `/root/tmp/tmp-20417kamcoe8/build/package/node_modules/serialport/build'
gyp ERR! build error
npm http 200 http://nj-npm.irisnpm.com/tinycolor/-/tinycolor-0.0.1.tgz
npm http 200 http://nj-npm.irisnpm.com/options
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/opt/local/lib/node_modules/node-gyp/lib/build.js:219:23)
npm http GET http://nj-npm.irisnpm.com/options/-/options-0.0.3.tgz
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:91:17)
gyp ERR! stack at Process._handle.onexit (child_process.js:674:10)
gyp ERR! System SunOS 5.11
gyp ERR! command "node" "/opt/local/bin/node-gyp" "rebuild"
gyp ERR! cwd /root/tmp/tmp-20417kamcoe8/build/package/node_modules/serialport
gyp ERR! node -v v0.8.8
gyp ERR! node-gyp -v v0.6.10
gyp ERR! not ok
npm ERR! serialport@1.0.8 install: `node-gyp rebuild`
npm ERR! `sh "-c" "node-gyp rebuild"` failed with 1
npm ERR!
npm ERR! Failed at the serialport@1.0.8 install script.
npm ERR! This is most likely a problem with the serialport package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls serialport
npm ERR! There is likely additional logging output above.
npm ERR! System SunOS 5.11
npm ERR! command "/opt/local/bin/node" "/opt/local/bin/npm" "install"
npm ERR! cwd /root/tmp/tmp-20417kamcoe8/build/package
npm ERR! node -v v0.8.8
npm ERR! npm -v 1.1.59
npm ERR! code ELIFECYCLE
Checking for program cpp : /opt/local/bin/cpp
Checking for program ar : /opt/local/bin/ar
Checking for program ranlib : /opt/local/bin/ranlib
Checking for g++ : ok
Checking for node path : not found
Checking for node prefix : ok /opt/local
'configure' finished successfully (0.132s)
Waf: Entering directory `/root/tmp/tmp-20417kamcoe8/build/package/node_modules/socket.io/node_modules/redis/node_modules/hiredis/build'
[1/3] cxx: hiredis.cc -> build/Release/hiredis_1.o
[2/3] cxx: reader.cc -> build/Release/reader_1.o
npm http 200 http://nj-npm.irisnpm.com/commander
npm http 200 http://nj-npm.irisnpm.com/options/-/options-0.0.3.tgz
> ws@0.4.22 install /root/tmp/tmp-20417kamcoe8/build/package/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws
> node install.js
[ws v0.4.22] Attempting to compile blazing fast native extensions.
[3/3] cxx_link: build/Release/hiredis_1.o build/Release/reader_1.o -> build/Release/hiredis.node
ld: fatal: file Release/hiredis_1.o: wrong ELF class: ELFCLASS64
ld: fatal: file processing errors. No output written to /root/tmp/tmp-20417kamcoe8/build/package/node_modules/socket.io/node_modules/redis/node_modules/hiredis/build/Release/hiredis.node
collect2: ld returned 1 exit status
Waf: Leaving directory `/root/tmp/tmp-20417kamcoe8/build/package/node_modules/socket.io/node_modules/redis/node_modules/hiredis/build'
Build failed: -> task failed (err #1):
{task: cxx_link hiredis_1.o,reader_1.o -> hiredis.node}
make: *** [all] Error 1
cd deps/hiredis && gmake static
gmake[1]: Entering directory `/root/tmp/tmp-20417kamcoe8/build/package/node_modules/socket.io/node_modules/redis/node_modules/hiredis/deps/hiredis'
gmake[1]: Nothing to be done for `static'.
gmake[1]: Leaving directory `/root/tmp/tmp-20417kamcoe8/build/package/node_modules/socket.io/node_modules/redis/node_modules/hiredis/deps/hiredis'
node-waf configure build
Setting srcdir to : /root/tmp/tmp-20417kamcoe8/build/package/node_modules/socket.io/node_modules/redis/node_modules/hiredis
Setting blddir to : /root/tmp/tmp-20417kamcoe8/build/package/node_modules/socket.io/node_modules/redis/node_modules/hiredis/build
Checking for program g++ or c++ : /opt/local/bin/g++
Checking for program cpp : /opt/local/bin/cpp
Checking for program ar : /opt/local/bin/ar
Checking for program ranlib : /opt/local/bin/ranlib
Checking for g++ : ok
Checking for node path : not found
Checking for node prefix : ok /opt/local
'configure' finished successfully (0.119s)
Waf: Entering directory `/root/tmp/tmp-20417kamcoe8/build/package/node_modules/socket.io/node_modules/redis/node_modules/hiredis/build'
[3/3] cxx_link: build/Release/hiredis_1.o build/Release/reader_1.o -> build/Release/hiredis.node
ld: fatal: file Release/hiredis_1.o: wrong ELF class: ELFCLASS64
ld: fatal: file processing errors. No output written to /root/tmp/tmp-20417kamcoe8/build/package/node_modules/socket.io/node_modules/redis/node_modules/hiredis/build/Release/hiredis.node
collect2: ld returned 1 exit status
Waf: Leaving directory `/root/tmp/tmp-20417kamcoe8/build/package/node_modules/socket.io/node_modules/redis/node_modules/hiredis/build'
Build failed: -> task failed (err #1):
{task: cxx_link hiredis_1.o,reader_1.o -> hiredis.node}
gmake: *** [all] Error 1
npm WARN optional dep failed, continuing hiredis@0.1.14
[ws v0.4.22] Native extension compilation successful!
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /root/tmp/tmp-20417kamcoe8/build/package/npm-debug.log
npm ERR! not ok code 0
help: For help with this error contact Nodejitsu Support:
help: webchat: <http://webchat.nodejitsu.com/>
help: irc: <irc://chat.freenode.net/#nodejitsu>
help: email: <support@nodejitsu.com>
help:
help: Copy and paste this output to a gist (http://gist.github.com/)
info: Nodejitsu not ok
@brettswift
Copy link

did you find a solution to this?

@BrianAdams
Copy link

Same question. Did you get a solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment