visionmedia/expresso — Issue #144: expresso fails to install via npm (v1.0.27) on SunOS (5.11) (Joyent SmartMachine)
Author: vincentmac
Created: 2011-10-23 00:53:58+00:00
State: open

Running a Joyent SmartMachine and having a little trouble getting expresso installed via npm. This looks similar to issue #133 (https://github.com/visionmedia/expresso/issues/133)

This is what seems to be causing the error (according to npm): make deps/jscoverage/node-jscoverage

Error Output

make[4]: Entering directory `/home/node/local/lib/node_modules/expresso/deps/jscoverage/js'
config.mk:167: ref-config/SunOS5.11_i86pc.mk: No such file or directory
Makefile.ref:58: NANOJIT_ARCH not defined in config/SunOS5.11_i86pc.mk, JIT disabled
make[4]: *** No rule to make target `ref-config/SunOS5.11_i86pc.mk'. Stop.
make[4]: Leaving directory `/home/node/local/lib/node_modules/expresso/deps/jscoverage/js'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/node/local/lib/node_modules/expresso/deps/jscoverage/js'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/node/local/lib/node_modules/expresso/deps/jscoverage'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/node/local/lib/node_modules/expresso/deps/jscoverage'
make: *** [deps/jscoverage/node-jscoverage] Error 2
npm ERR! error installing expresso@0.9.2 Error: expresso@0.9.2 preinstall: `make deps/jscoverage/node-jscoverage`
npm ERR! error installing expresso@0.9.2 `sh "-c" "make deps/jscoverage/node-jscoverage"` failed with 2
npm ERR! error installing expresso@0.9.2 at ChildProcess. (/opt/nodejs/lib/node_modules/npm/lib/utils/exec.js:49:20)
npm ERR! error installing expresso@0.9.2 at ChildProcess.emit (events.js:67:17)
npm ERR! error installing expresso@0.9.2 at ChildProcess.onexit (child_process.js:192:12)
npm ERR! expresso@0.9.2 preinstall: `make deps/jscoverage/node-jscoverage`
npm ERR! `sh "-c" "make deps/jscoverage/node-jscoverage"` failed with 2
npm ERR!
npm ERR! Failed at the expresso@0.9.2 preinstall script.
npm ERR! This is most likely a problem with the expresso package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! make deps/jscoverage/node-jscoverage
npm ERR! You can get their info via:
npm ERR! npm owner ls expresso
npm ERR! There is likely additional logging output above.
npm ERR!
npm ERR! System SunOS 5.11
npm ERR! command "/opt/nodejs/v0.4/bin/node" "/opt/nodejs/bin/npm" "install" "expresso"
npm ERR! cwd /home/node
npm ERR! node -v v0.4.11
npm ERR! npm -v 1.0.27