I've been trying to setup the notification server following the instructions posted here: [[https://secure.phabricator.com/book/phabricator/article/notifications/]], but cannot get past this error. Google-ing turns up very little and every suggesting I could find didn't fix the problem. Ignoring this and continuing with the setup yields no further errors, but the notification status is "Disabled" in my notifications drop down.
```
sparker@cricket:/var/www/phabricator/phabricator/support/aphlict/server$ sudo npm install ws
> utf-8-validate@1.0.1 install /var/www/phabricator/phabricator/support/aphlict/server/node_modules/ws/node_modules/utf-8-validate
> node-gyp rebuild
> bufferutil@1.0.1 install /var/www/phabricator/phabricator/support/aphlict/server/node_modules/ws/node_modules/bufferutil
> node-gyp rebuild
gyp: Call to 'node -e "require('nan')"' returned exit status 1. while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/usr/share/node-gyp/lib/configure.js:431:16)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:797:12)
gyp ERR! System Linux 3.18.5-x86_64-linode52
gyp ERR! command "nodejs" "/usr/bin/node-gyp" "rebuild"
gyp ERR! cwd /var/www/phabricator/phabricator/support/aphlict/server/node_modules/ws/node_modules/utf-8-validate
gyp ERR! node -v v0.10.25
gyp ERR! node-gyp -v v0.10.10
gyp ERR! not ok
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian
npm WARN optional dep failed, continuing utf-8-validate@1.0.1
gyp: Call to 'node -e "require('nan')"' returned exit status 1. while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/usr/share/node-gyp/lib/configure.js:431:16)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:797:12)
gyp ERR! System Linux 3.18.5-x86_64-linode52
gyp ERR! command "nodejs" "/usr/bin/node-gyp" "rebuild"
gyp ERR! cwd /var/www/phabricator/phabricator/support/aphlict/server/node_modules/ws/node_modules/bufferutil
gyp ERR! node -v v0.10.25
gyp ERR! node-gyp -v v0.10.10
gyp ERR! not ok
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian
npm WARN optional dep failed, continuing bufferutil@1.0.1
ws@0.7.1 node_modules/ws
├── options@0.0.6
└── ultron@1.0.1
```