ubuntu 14.04 support
webmutation opened this issue · 1 comments
Hi,
Saw the article wanted to give this, cloned the repo but when I do npm install I get the following error
unix-dgram@0.1.1 install /home/node-ha/monitr/node_modules/unix-dgram
node-gyp rebuild
/bin/sh: 1: node: not found
gyp: Call to 'node -e "require('nan')"' returned exit status 127. 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.13.0-36-generic
gyp ERR! command "nodejs" "/usr/bin/node-gyp" "rebuild"
gyp ERR! cwd /home/node-ha/monitr/node_modules/unix-dgram
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 ERR! weird error 1
npm ERR! not ok code 0
Is this supposed to run without issues? In ubuntu the package is nodejs not node could that be the issue here?
Ok, nevermind its the nodejs-legacy that is missing on this VM that I am using.