{"action":"created","issue":{"url":"https://api.github.com/repos/valette/desk/issues/4","repository_url":"https://api.github.com/repos/valette/desk","labels_url":"https://api.github.com/repos/valette/desk/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/valette/desk/issues/4/comments","events_url":"https://api.github.com/repos/valette/desk/issues/4/events","html_url":"https://github.com/valette/desk/issues/4","id":144672212,"number":4,"title":"execSync: TypeError: undefined is not a function","user":{"login":"kayarre","id":9031253,"avatar_url":"https://avatars.githubusercontent.com/u/9031253?v=3","gravatar_id":"","url":"https://api.github.com/users/kayarre","html_url":"https://github.com/kayarre","followers_url":"https://api.github.com/users/kayarre/followers","following_url":"https://api.github.com/users/kayarre/following{/other_user}","gists_url":"https://api.github.com/users/kayarre/gists{/gist_id}","starred_url":"https://api.github.com/users/kayarre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kayarre/subscriptions","organizations_url":"https://api.github.com/users/kayarre/orgs","repos_url":"https://api.github.com/users/kayarre/repos","events_url":"https://api.github.com/users/kayarre/events{/privacy}","received_events_url":"https://api.github.com/users/kayarre/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-30T17:55:17Z","updated_at":"2016-03-31T17:57:18Z","closed_at":null,"body":"When using the default centos 7 nodejs packages the version is 0.10 and is to old. There should be a minimum version requirement for nodejs. installing the latest version appears to correct the error.\r\n\r\n\r\nWhen running \"npm run buildAddons\" I get the following error.\r\n\r\n> desk-server@0.2.0 buildAddons \r\n> node lib/build.js\r\n\r\n/build/desk/desk/lib/build.js:10\r\nexecSync(\"cmake .\", {cwd : __dirname + \"/cmake\"})\r\n^\r\nTypeError: undefined is not a function\r\n    at Object.<anonymous> (/home/ksansom/build/desk/desk/lib/build.js:10:1)\r\n    at Module._compile (module.js:456:26)\r\n    at Object.Module._extensions..js (module.js:474:10)\r\n    at Module.load (module.js:356:32)\r\n    at Function.Module._load (module.js:312:12)\r\n    at Function.Module.runMain (module.js:497:10)\r\n    at startup (node.js:119:16)\r\n    at node.js:935:3\r\n"},"comment":{"url":"https://api.github.com/repos/valette/desk/issues/comments/204053893","html_url":"https://github.com/valette/desk/issues/4#issuecomment-204053893","issue_url":"https://api.github.com/repos/valette/desk/issues/4","id":204053893,"user":{"login":"valette","id":303166,"avatar_url":"https://avatars.githubusercontent.com/u/303166?v=3","gravatar_id":"","url":"https://api.github.com/users/valette","html_url":"https://github.com/valette","followers_url":"https://api.github.com/users/valette/followers","following_url":"https://api.github.com/users/valette/following{/other_user}","gists_url":"https://api.github.com/users/valette/gists{/gist_id}","starred_url":"https://api.github.com/users/valette/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valette/subscriptions","organizations_url":"https://api.github.com/users/valette/orgs","repos_url":"https://api.github.com/users/valette/repos","events_url":"https://api.github.com/users/valette/events{/privacy}","received_events_url":"https://api.github.com/users/valette/received_events","type":"User","site_admin":false},"created_at":"2016-03-31T17:57:18Z","updated_at":"2016-03-31T17:57:18Z","body":"OK!\r\ni'm not sure which minimum version to pick. 4.0 seems like a fair one, doesn't it? I do not use 0.12 anymore."}}