{"action":"created","issue":{"url":"https://api.github.com/repos/linnovate/mean/issues/1389","labels_url":"https://api.github.com/repos/linnovate/mean/issues/1389/labels{/name}","comments_url":"https://api.github.com/repos/linnovate/mean/issues/1389/comments","events_url":"https://api.github.com/repos/linnovate/mean/issues/1389/events","html_url":"https://github.com/linnovate/mean/issues/1389","id":116008019,"number":1389,"title":"Getting SyntaxError: Use of const in strict mode.","user":{"login":"jianweichuah","id":1463489,"avatar_url":"https://avatars.githubusercontent.com/u/1463489?v=3","gravatar_id":"","url":"https://api.github.com/users/jianweichuah","html_url":"https://github.com/jianweichuah","followers_url":"https://api.github.com/users/jianweichuah/followers","following_url":"https://api.github.com/users/jianweichuah/following{/other_user}","gists_url":"https://api.github.com/users/jianweichuah/gists{/gist_id}","starred_url":"https://api.github.com/users/jianweichuah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jianweichuah/subscriptions","organizations_url":"https://api.github.com/users/jianweichuah/orgs","repos_url":"https://api.github.com/users/jianweichuah/repos","events_url":"https://api.github.com/users/jianweichuah/events{/privacy}","received_events_url":"https://api.github.com/users/jianweichuah/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/linnovate/mean/labels/invalid","name":"invalid","color":"e6e6e6"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-11-10T01:50:12Z","updated_at":"2015-11-11T02:36:21Z","closed_at":"2015-11-11T02:36:21Z","body":"Ran: \r\n$ sudo npm install -g mean-cli \r\n$ mean\r\n/usr/local/lib/node_modules/mean-cli/node_modules/request/node_modules/hawk/node_modules/boom/lib/index.js:5\r\nconst Http = require('http');\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 Module.require (module.js:364:17)\r\n    at require (module.js:380:17)\r\n    at Object.<anonymous> (/usr/local/lib/node_modules/mean-cli/node_modules/request/node_modules/hawk/lib/index.js:3:33)\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"},"comment":{"url":"https://api.github.com/repos/linnovate/mean/issues/comments/155639083","html_url":"https://github.com/linnovate/mean/issues/1389#issuecomment-155639083","issue_url":"https://api.github.com/repos/linnovate/mean/issues/1389","id":155639083,"user":{"login":"jianweichuah","id":1463489,"avatar_url":"https://avatars.githubusercontent.com/u/1463489?v=3","gravatar_id":"","url":"https://api.github.com/users/jianweichuah","html_url":"https://github.com/jianweichuah","followers_url":"https://api.github.com/users/jianweichuah/followers","following_url":"https://api.github.com/users/jianweichuah/following{/other_user}","gists_url":"https://api.github.com/users/jianweichuah/gists{/gist_id}","starred_url":"https://api.github.com/users/jianweichuah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jianweichuah/subscriptions","organizations_url":"https://api.github.com/users/jianweichuah/orgs","repos_url":"https://api.github.com/users/jianweichuah/repos","events_url":"https://api.github.com/users/jianweichuah/events{/privacy}","received_events_url":"https://api.github.com/users/jianweichuah/received_events","type":"User","site_admin":false},"created_at":"2015-11-11T02:36:21Z","updated_at":"2015-11-11T02:36:21Z","body":"Updating Node version:\r\n```\r\n# npm cache clean -f\r\n# npm install -g n\r\n# n stable\r\n```\r\n\r\nThen reinstall mean-cli\r\n```\r\nsudo npm install -g mean-cli\r\n```\r\n\r\nSolves the problem for me."}}