{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular-cli/issues/959","repository_url":"https://api.github.com/repos/angular/angular-cli","labels_url":"https://api.github.com/repos/angular/angular-cli/issues/959/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular-cli/issues/959/comments","events_url":"https://api.github.com/repos/angular/angular-cli/issues/959/events","html_url":"https://github.com/angular/angular-cli/issues/959","id":157502305,"number":959,"title":"Syntax error :Use of const in strict mode when creating new project","user":{"login":"winni4eva","id":6095748,"avatar_url":"https://avatars.githubusercontent.com/u/6095748?v=3","gravatar_id":"","url":"https://api.github.com/users/winni4eva","html_url":"https://github.com/winni4eva","followers_url":"https://api.github.com/users/winni4eva/followers","following_url":"https://api.github.com/users/winni4eva/following{/other_user}","gists_url":"https://api.github.com/users/winni4eva/gists{/gist_id}","starred_url":"https://api.github.com/users/winni4eva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/winni4eva/subscriptions","organizations_url":"https://api.github.com/users/winni4eva/orgs","repos_url":"https://api.github.com/users/winni4eva/repos","events_url":"https://api.github.com/users/winni4eva/events{/privacy}","received_events_url":"https://api.github.com/users/winni4eva/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-30T13:24:09Z","updated_at":"2016-05-31T03:30:15Z","closed_at":null,"body":"I have installed Ubuntu 15.04 and node version 0.10.25. When i try creating a new project ng new winni-ng2 I get the ouput below. I get the same error when i try running ng --version also.\r\n\r\n//OutPut\r\n/usr/local/lib/node_modules/angular-cli/bin/ng:7\r\nconst resolve = require('resolve');\r\n^^^^^\r\nSyntaxError: Use of const in strict mode.\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"},"comment":{"url":"https://api.github.com/repos/angular/angular-cli/issues/comments/222584980","html_url":"https://github.com/angular/angular-cli/issues/959#issuecomment-222584980","issue_url":"https://api.github.com/repos/angular/angular-cli/issues/959","id":222584980,"user":{"login":"wengpengfeijava","id":5634425,"avatar_url":"https://avatars.githubusercontent.com/u/5634425?v=3","gravatar_id":"","url":"https://api.github.com/users/wengpengfeijava","html_url":"https://github.com/wengpengfeijava","followers_url":"https://api.github.com/users/wengpengfeijava/followers","following_url":"https://api.github.com/users/wengpengfeijava/following{/other_user}","gists_url":"https://api.github.com/users/wengpengfeijava/gists{/gist_id}","starred_url":"https://api.github.com/users/wengpengfeijava/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wengpengfeijava/subscriptions","organizations_url":"https://api.github.com/users/wengpengfeijava/orgs","repos_url":"https://api.github.com/users/wengpengfeijava/repos","events_url":"https://api.github.com/users/wengpengfeijava/events{/privacy}","received_events_url":"https://api.github.com/users/wengpengfeijava/received_events","type":"User","site_admin":false},"created_at":"2016-05-31T03:30:15Z","updated_at":"2016-05-31T03:30:15Z","body":"You can check if your node version is too old . @winni4eva "}}
{"actor":{"display_login":"wengpengfeijava"}}