hackfoldr/hackfoldr — pull request #41 by vincentlaucy (2014-04-12 03:15:40+00:00)
Title: Update to use stock precise644 and install node

I updated to use stock precise,
seems then we also need to setup the node env inside VM?

I believe the script is running as root by default in vagrant,(or as vagrant?) meanwhile I tried a couple of times seems the node still get permission issue for phantomjs

Anyway after this ran gulp can start & app running with `http://localhost:6987/`
`
sh: 1: node: Permission denied
npm http 304 https://registry.npmjs.org/xtend
npm ERR! phantomjs@1.9.7-3 install: `node install.js`
npm ERR! Exit status 127
npm ERR!
npm ERR! Failed at the phantomjs@1.9.7-3 install script.
npm ERR! This is most likely a problem with the phantomjs package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node install.js
npm ERR! You can get their info via:
npm ERR! npm owner ls phantomjs
npm ERR! There is likely additional logging output above.
`