I was able to get it to compile and run successfully on Arch Linux!
Here are the commands I used:
Code:
sudo pacman -S --needed nodejs # Only necessary if Node.js is not already installed
git clone git@github.com:gixxy/DriverStation.js.git # Use https if you don't have ssh set up
cd DriverStation.js
npm install
sudo npm install -g node-gyp # Install node-gyp globally
sudo npm install -g nw-gyp
cd node_modules/nodewebkit/nodewebkit
sed -i 's/udev\.so\.0/udev.so.1/g' nw
cd ../../gamepad
./node_modules/node-pre-gyp/bin/node-pre-gyp build --runtime=node-webkit --target=0.8.6 --python=python2.7
cd ../..
./node_modules/nodewebkit/nodewebkit/nw ./
This is basically everything in gixxy's CD posts and README, put in one spot.
Everything looks like it is working, but I probably won't be able to test it on a real robot until a few days from now. If I have time, I'll try to see if I can get it to work on windows too.