On Wed, May 9, 2012 at 11:52 AM, paul_tanner <[email protected]> wrote: > Hi, > > Just got my beaglebone from farnell and hoping to start work with > nodejs on it. > > It shipped with v0.4.12 and the Cloud9 IDE. > > On running the standard hello world script it thows errors to the > effect that npm modules inotify and fibers were not installed. > Presumably these are required by the IDE. > > So I tried npm install and found that npm was not present. Installed > that OK. > > Then installed inotify ok > > The attempt to install fibers failed as follows: > > root@beaglebone:~# npm install fibers > >> [email protected] install /home/root/node_modules/fibers >> make clean all > > make -C src clean > make[1]: Entering directory `/home/root/node_modules/fibers/src' > rm -f fibers.node libcoro.o coroutine.so > rm -f -r *.dSYM > make[1]: Leaving directory `/home/root/node_modules/fibers/src' > rm -f -r man > make -C src coroutine.so > make[1]: Entering directory `/home/root/node_modules/fibers/src' > cc -Wall -Wno-deprecated-declarations -I/usr/include -I/usr/include/ > node -g -O3 -minline-all-stringops -m32 -DCORO_UCONTEXT -fPIC -c -o > libcoro.o libcoro/coro.c > cc1: error: unrecognized command line option "-minline-all-stringops" > cc1: error: unrecognized command line option "-m32" > make[1]: *** [libcoro.o] Error 1 > make[1]: Leaving directory `/home/root/node_modules/fibers/src' > make: *** [/home/root/node_modules/fibers/src/coroutine.so] Error 2 > npm ERR! error installing [email protected] Error: [email protected] install: > `make clean all` > npm ERR! error installing [email protected] `sh "-c" "make clean all"` > failed with 2 > npm ERR! error installing [email protected] at ChildProcess.<anonymous> > (/usr/lib/node_modules/npm/lib/utils/exec.js:49:20) > npm ERR! error installing [email protected] at ChildProcess.emit > (events.js:67:17) > npm ERR! error installing [email protected] at ChildProcess.onexit > (child_process.js:192:12) > npm ERR! [email protected] install: `make clean all` > npm ERR! `sh "-c" "make clean all"` failed with 2 > npm ERR! > npm ERR! Failed at the [email protected] install script. > npm ERR! This is most likely a problem with the fibers package, > npm ERR! not with npm itself. > npm ERR! Tell the author that this fails on your system: > npm ERR! make clean all > npm ERR! You can get their info via: > npm ERR! npm owner ls fibers > npm ERR! There is likely additional logging output above. > npm ERR! > npm ERR! System Linux 3.2.5+ > npm ERR! command "node" "/usr/bin/npm" "install" "fibers" > npm ERR! cwd /home/root > npm ERR! node -v v0.4.12 > npm ERR! npm -v 1.0.106 > npm ERR! code ELIFECYCLE > npm ERR! > npm ERR! Additional logging details can be found in: > npm ERR! /home/root/npm-debug.log > npm not ok > root@beaglebone:~# npm owner ls fibers > laverdet <[email protected]> > > I guess I'll mail laverdet. Anyone seen this - or fixed it. > > Paul
I work at Cloud9 (not involved in IDE development, though). To the best of my knowledge, Cloud9 IDE uses neither node-fibers nor any inotify modules and never has. Quick grepping through the source tree seems to confirm that. Is the hello world example you mention the one from the nodejs.org home page? That should work out of the box. -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
