I'm getting a similar problem. If I run node by itself I get: root@redbone:~/node-red2# node -bash: /usr/local/bin/node: cannot execute binary file
The path, /usr/local/bin/, shows it is there: -rwxr-xr-x 1 root staff 9958098 Jun 13 22:21 node lrwxrwxrwx 1 root staff 38 Jun 13 22:21 npm -> ../lib/node_modules/npm /bin/npm-cli.js When trying to run npm install, my previously working setup on debian wheezy, beaglebone black, has somehow broken and now returns: /usr/local/bin/node: 1: /usr/local/bin/node: Syntax error: "(" unexpected when launching my previously working, node-red: root@redbone:~/node-red2# node --max-old-space-size=256 red.js -v results in this: -bash: /usr/local/bin/node: cannot execute binary file I'm not finding much about how to reinstall or clean up a misconfigured node installation. Any tips would be appreciated, Chris. On Friday, December 27, 2013 10:30:41 AM UTC-8, joshp...@gmail.com wrote: > > Hey all, just received my BBB A6 board and flashed to the 2013-09-04 > angstrom image. I have set up my node app, and even run it once. Then I > rebooted, and I keep getting the cannot execute binary file error anytime I > try to use the node command. I did not do any updates or anything since it > was working. I simply powered down, then powered back up to plug in some > jumpers. > > I tried opkg update > opkg install node and it returns an unknown package > message same thing if I do opkg upgrade node. > > Any idea what could be causing this? > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.