{"action":"created","issue":{"url":"https://api.github.com/repos/cmake-js/cmake-js/issues/50","repository_url":"https://api.github.com/repos/cmake-js/cmake-js","labels_url":"https://api.github.com/repos/cmake-js/cmake-js/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/cmake-js/cmake-js/issues/50/comments","events_url":"https://api.github.com/repos/cmake-js/cmake-js/issues/50/events","html_url":"https://github.com/cmake-js/cmake-js/issues/50","id":149749629,"number":50,"title":"package.json minimum node version too low","user":{"login":"neumann89","id":2929584,"avatar_url":"https://avatars.githubusercontent.com/u/2929584?v=3","gravatar_id":"","url":"https://api.github.com/users/neumann89","html_url":"https://github.com/neumann89","followers_url":"https://api.github.com/users/neumann89/followers","following_url":"https://api.github.com/users/neumann89/following{/other_user}","gists_url":"https://api.github.com/users/neumann89/gists{/gist_id}","starred_url":"https://api.github.com/users/neumann89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neumann89/subscriptions","organizations_url":"https://api.github.com/users/neumann89/orgs","repos_url":"https://api.github.com/users/neumann89/repos","events_url":"https://api.github.com/users/neumann89/events{/privacy}","received_events_url":"https://api.github.com/users/neumann89/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cmake-js/cmake-js/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-20T12:07:49Z","updated_at":"2016-04-25T08:11:33Z","closed_at":null,"body":"Hi,\r\nI'm wanted to run cmake-js on a machine with Ubuntu 14.04 and legacy node version installed. The default version of the nodejs package is v0.10.25. In your package.json the minimum required version is: \r\n```\r\n  \"engines\": {\r\n    \"node\": \">= 0.10.0\",\r\n    \"iojs\": \">= 1.0.0\"\r\n  },\r\n```  \r\n\r\nBut if I want to run `cmake-js compile` then I get the following error: \r\n```\r\n.../node_modules/cmake-js/bin/cmake-js:140\r\nfor (var key of _.keys(argv)) {\r\n             ^^\r\nSyntaxError: Unexpected identifier\r\n    at Module._compile (module.js:439:25)\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:902:3\r\n```\r\n\r\nOn another machine with a newer node version cmake-js works perfect!"},"comment":{"url":"https://api.github.com/repos/cmake-js/cmake-js/issues/comments/214199557","html_url":"https://github.com/cmake-js/cmake-js/issues/50#issuecomment-214199557","issue_url":"https://api.github.com/repos/cmake-js/cmake-js/issues/50","id":214199557,"user":{"login":"unbornchikken","id":5675531,"avatar_url":"https://avatars.githubusercontent.com/u/5675531?v=3","gravatar_id":"","url":"https://api.github.com/users/unbornchikken","html_url":"https://github.com/unbornchikken","followers_url":"https://api.github.com/users/unbornchikken/followers","following_url":"https://api.github.com/users/unbornchikken/following{/other_user}","gists_url":"https://api.github.com/users/unbornchikken/gists{/gist_id}","starred_url":"https://api.github.com/users/unbornchikken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unbornchikken/subscriptions","organizations_url":"https://api.github.com/users/unbornchikken/orgs","repos_url":"https://api.github.com/users/unbornchikken/repos","events_url":"https://api.github.com/users/unbornchikken/events{/privacy}","received_events_url":"https://api.github.com/users/unbornchikken/received_events","type":"User","site_admin":false},"created_at":"2016-04-25T08:11:33Z","updated_at":"2016-04-25T08:11:33Z","body":"It should work on node 0.10. I'm gonna fix it in the next release."}}