{"action":"opened","issue":{"url":"https://api.github.com/repos/xtermjs/xterm.js/issues/1777","repository_url":"https://api.github.com/repos/xtermjs/xterm.js","labels_url":"https://api.github.com/repos/xtermjs/xterm.js/issues/1777/labels{/name}","comments_url":"https://api.github.com/repos/xtermjs/xterm.js/issues/1777/comments","events_url":"https://api.github.com/repos/xtermjs/xterm.js/issues/1777/events","html_url":"https://github.com/xtermjs/xterm.js/issues/1777","id":377183550,"node_id":"MDU6SXNzdWUzNzcxODM1NTA=","number":1777,"title":"npm install throw error","user":{"login":"ofirrifo","id":6214968,"node_id":"MDQ6VXNlcjYyMTQ5Njg=","avatar_url":"https://avatars3.githubusercontent.com/u/6214968?v=4","gravatar_id":"","url":"https://api.github.com/users/ofirrifo","html_url":"https://github.com/ofirrifo","followers_url":"https://api.github.com/users/ofirrifo/followers","following_url":"https://api.github.com/users/ofirrifo/following{/other_user}","gists_url":"https://api.github.com/users/ofirrifo/gists{/gist_id}","starred_url":"https://api.github.com/users/ofirrifo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ofirrifo/subscriptions","organizations_url":"https://api.github.com/users/ofirrifo/orgs","repos_url":"https://api.github.com/users/ofirrifo/repos","events_url":"https://api.github.com/users/ofirrifo/events{/privacy}","received_events_url":"https://api.github.com/users/ofirrifo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-04T19:05:46Z","updated_at":"2018-11-04T19:05:46Z","closed_at":null,"author_association":"NONE","body":"<!-- Describe the bug here. -->\r\nI just clone the xterm.js project and run the npm install which  throw error \r\n`gyp: No Xcode or CLT version detected!\r\ngyp ERR! configure error \r\ngyp ERR! stack Error: `gyp` failed with exit code: 1\r\ngyp ERR! stack     at ChildProcess.onCpExit (/.nvm/versions/node/v9.7.1/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:345:16)\r\ngyp ERR! stack     at ChildProcess.emit (events.js:127:13)\r\ngyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:209:12)\r\ngyp ERR! System Darwin 18.0.0\r\ngyp ERR! command \"/.nvm/versions/node/v9.7.1/bin/node\" \"/.nvm/versions/node/v9.7.1/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"rebuild\"\r\ngyp ERR! cwd /dev/test/xterm.js/node_modules/node-pty\r\ngyp ERR! node -v v9.7.1\r\ngyp ERR! node-gyp -v v3.8.0\r\ngyp ERR! not ok \r\nnpm WARN @fimbul/ymir@0.15.0 requires a peer of tsutils@>2.29.0 but none is installed. You must install peer dependencies yourself.\r\nnpm WARN ajv-keywords@3.2.0 requires a peer of ajv@^6.0.0 but none is installed. You must install peer dependencies yourself.\r\n\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! errno 1\r\nnpm ERR! node-pty@0.7.6 install: `node scripts/install.js`\r\nnpm ERR! Exit status 1\r\nnpm ERR! \r\nnpm ERR! Failed at the node-pty@0.7.6 install script.\r\nnpm ERR! This is probably not a problem with npm. There is likely additional logging output above.\r\n\r\nnpm ERR! A complete log of this run can be found in:\r\nnpm ERR!     /.npm/_logs/2018-11-04T18_58_56_997Z-debug.log\r\n`\r\n\r\n## Details\r\n- Browser and browser version: \r\n- OS version: mackOs Mojave\r\n- xterm.js version: \r\n\r\n### Steps to reproduce\r\ngit clone git@github.com:xtermjs/xterm.js.git\r\ncd xterm.js\r\nnpm install\r\n\r\n\r\n\r\n"}}
{"actor":{"display_login":"ofirrifo"}}