{"action":"closed","issue":{"url":"https://api.github.com/repos/krishnasrinivas/wetty/issues/43","repository_url":"https://api.github.com/repos/krishnasrinivas/wetty","labels_url":"https://api.github.com/repos/krishnasrinivas/wetty/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/krishnasrinivas/wetty/issues/43/comments","events_url":"https://api.github.com/repos/krishnasrinivas/wetty/issues/43/events","html_url":"https://github.com/krishnasrinivas/wetty/issues/43","id":127318183,"number":43,"title":"Installing Failed Pty.js","user":{"login":"jaredbroad","id":2243225,"avatar_url":"https://avatars.githubusercontent.com/u/2243225?v=3","gravatar_id":"","url":"https://api.github.com/users/jaredbroad","html_url":"https://github.com/jaredbroad","followers_url":"https://api.github.com/users/jaredbroad/followers","following_url":"https://api.github.com/users/jaredbroad/following{/other_user}","gists_url":"https://api.github.com/users/jaredbroad/gists{/gist_id}","starred_url":"https://api.github.com/users/jaredbroad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaredbroad/subscriptions","organizations_url":"https://api.github.com/users/jaredbroad/orgs","repos_url":"https://api.github.com/users/jaredbroad/repos","events_url":"https://api.github.com/users/jaredbroad/events{/privacy}","received_events_url":"https://api.github.com/users/jaredbroad/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2016-01-18T21:51:57Z","updated_at":"2016-02-11T02:57:21Z","closed_at":"2016-02-11T02:57:21Z","body":"Hello, I've tried installing from a git clone and received the following error:\r\n\r\n\r\n```\r\nnpm http GET https://registry.npmjs.org/argparse/-/argparse-0.1.16.tgz\r\nnpm http 200 https://registry.npmjs.org/esprima/-/esprima-1.0.4.tgz\r\nnpm http 200 https://registry.npmjs.org/argparse/-/argparse-0.1.16.tgz\r\n\r\n> pty.js@0.3.0 install /root/wetty/node_modules/pty.js\r\n> node-gyp rebuild\r\n\r\n/bin/sh: 1: node: not found\r\ngyp: Call to 'node -e \"require('nan')\"' returned exit status 127. while trying to load binding.gyp\r\ngyp ERR! configure error\r\ngyp ERR! stack Error: `gyp` failed with exit code: 1\r\ngyp ERR! stack     at ChildProcess.onCpExit (/usr/share/node-gyp/lib/configure.js:431:16)\r\ngyp ERR! stack     at ChildProcess.EventEmitter.emit (events.js:98:17)\r\ngyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:797:12)\r\ngyp ERR! System Linux 3.13.0-57-generic\r\ngyp ERR! command \"nodejs\" \"/usr/bin/node-gyp\" \"rebuild\"\r\ngyp ERR! cwd /root/wetty/node_modules/pty.js\r\ngyp ERR! node -v v0.10.25\r\ngyp ERR! node-gyp -v v0.10.10\r\ngyp ERR! not ok\r\nnpm WARN This failure might be due to the use of legacy binary \"node\"\r\nnpm WARN For further explanations, please read\r\n/usr/share/doc/nodejs/README.Debian\r\n\r\nnpm ERR! weird error 1\r\nnpm ERR! Error: ENOENT, lstat '/root/tmp/npm-18900-1ajJ8_LR/1453153736493-0.21297033480368555/package/dist/lodash.underscore.js'\r\nnpm ERR! If you need help, you may report this log at:\r\nnpm ERR!     <http://github.com/isaacs/npm/issues>\r\nnpm ERR! or email it to:\r\nnpm ERR!     <npm-@googlegroups.com>\r\n\r\nnpm ERR! System Linux 3.13.0-57-generic\r\nnpm ERR! command \"/usr/bin/nodejs\" \"/usr/bin/npm\" \"install\"\r\nnpm ERR! cwd /root/wetty\r\nnpm ERR! node -v v0.10.25\r\nnpm ERR! npm -v 1.3.10\r\nnpm ERR! path /root/tmp/npm-18900-1ajJ8_LR/1453153736493-0.21297033480368555/package/dist/lodash.underscore.js\r\nnpm ERR! fstream_path /root/tmp/npm-18900-1ajJ8_LR/1453153736493-0.21297033480368555/package/dist/lodash.underscore.js\r\nnpm ERR! fstream_type File\r\nnpm ERR! fstream_class FileWriter\r\nnpm ERR! code ENOENT\r\nnpm ERR! errno 34\r\nnpm ERR! fstream_stack /usr/lib/nodejs/fstream/lib/writer.js:284:26\r\nnpm ERR! fstream_stack Object.oncomplete (fs.js:107:15)\r\nnpm ERR! Error: ENOENT, lstat '/root/tmp/npm-18900-1ajJ8_LR/1453153737388-0.06007509049959481/package/test/test.js'\r\nnpm ERR! If you need help, you may report this log at:\r\nnpm ERR!     <http://github.com/isaacs/npm/issues>\r\nnpm ERR! or email it to:\r\nnpm ERR!     <npm-@googlegroups.com>\r\n\r\nnpm ERR! System Linux 3.13.0-57-generic\r\nnpm ERR! command \"/usr/bin/nodejs\" \"/usr/bin/npm\" \"install\"\r\nnpm ERR! cwd /root/wetty\r\nnpm ERR! node -v v0.10.25\r\nnpm ERR! npm -v 1.3.10\r\nnpm ERR! path /root/tmp/npm-18900-1ajJ8_LR/1453153737388-0.06007509049959481/package/test/test.js\r\nnpm ERR! fstream_path /root/tmp/npm-18900-1ajJ8_LR/1453153737388-0.06007509049959481/package/test/test.js\r\nnpm ERR! fstream_type File\r\nnpm ERR! fstream_class FileWriter\r\nnpm ERR! code ENOENT\r\nnpm ERR! errno 34\r\nnpm ERR! fstream_stack /usr/lib/nodejs/fstream/lib/writer.js:284:26\r\nnpm ERR! fstream_stack Object.oncomplete (fs.js:107:15)\r\nnpm ERR! tar pack Error reading /root/tmp/npm-18900-1ajJ8_LR/1453153736534-0.860922196181491/package\r\nnpm ERR! addLocalDirectory Could not pack \"/root/tmp/npm-18900-1ajJ8_LR/1453153736534-0.860922196181491/package\" to \"/root/.npm/underscore.string/2.                                                                                                                            3.3/package.tgz\"\r\nnpm ERR!\r\nnpm ERR! Additional logging details can be found in:\r\nnpm ERR!     /root/wetty/npm-debug.log\r\nnpm ERR! not ok code 0\r\n```\r\n"}}