User blog comment:Thepeopleseason/Vagrant install of HabitRPG now available/@comment-24244390-20140517222415

A few things that came up when I tried this on OS X (take this with a grain of salt, since I still don't have it working).

I had to run `vagrant init habitrpg` before `vagrant up` would work.

In the VM, running either `npm start` or `grunt run:dev` gave me the error, `Fatal error: Unable to find local grunt.`

At this point I was banging on things randomly (did I mention I'm a newb?) and tried `npm install`. It spent a long time installing things, and then ended with:

npm ERR! peerinvalid The package karma-requirejs does not satisfy its siblings' peerDependencies requirements! npm ERR! peerinvalid Peer karma@0.10.10 wants karma-requirejs@~0.2.0

... which is the same error I got stuck on when I was trying to get Habit running on my system, before I started with the VM.

After that I tried `grunt run:dev` again and it appeared to be starting up. After a few seconds it died. These were the last few lines:

/vagrant/node_modules/habitrpg-shared/script/index.coffee:9 ^ SyntaxError: Unexpected token ILLEGAL at Module._compile (module.js:439:25)
 * 1) little helper for large arrays of strings. %w"this that another" equivalent

...followed by 30 lines of traceback ending with at startup (node.js:119:16) at node.js:902:3

... followed by `17 May 21:05:23 - [nodemon] app crashed - waiting for file changes before starting...` which stayed on the screen until I quit with ctrl-C.

That last error looks like it died trying to parse a comment in a coffeescript file... I got that during one of my tries installing Habit locally too, but I've lost track of exactly when or what preceded it.

I assumed the problem was one of the crazy things I've done with my system, but if the same thing is happening on the vagrant box then maybe not.

In case it wasn't clear, I'm way out of my depth here.