{"action":"created","issue":{"url":"https://api.github.com/repos/telefonicaid/fiware-SDK/issues/5","labels_url":"https://api.github.com/repos/telefonicaid/fiware-SDK/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/telefonicaid/fiware-SDK/issues/5/comments","events_url":"https://api.github.com/repos/telefonicaid/fiware-SDK/issues/5/events","html_url":"https://github.com/telefonicaid/fiware-SDK/issues/5","id":90064471,"number":5,"title":"SyntaxError: Use of const in strict mode","user":{"login":"leeprovoost","id":404355,"avatar_url":"https://avatars.githubusercontent.com/u/404355?v=3","gravatar_id":"","url":"https://api.github.com/users/leeprovoost","html_url":"https://github.com/leeprovoost","followers_url":"https://api.github.com/users/leeprovoost/followers","following_url":"https://api.github.com/users/leeprovoost/following{/other_user}","gists_url":"https://api.github.com/users/leeprovoost/gists{/gist_id}","starred_url":"https://api.github.com/users/leeprovoost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leeprovoost/subscriptions","organizations_url":"https://api.github.com/users/leeprovoost/orgs","repos_url":"https://api.github.com/users/leeprovoost/repos","events_url":"https://api.github.com/users/leeprovoost/events{/privacy}","received_events_url":"https://api.github.com/users/leeprovoost/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-22T10:33:57Z","updated_at":"2015-10-01T15:18:12Z","closed_at":"2015-10-01T15:18:12Z","body":"The code in the npm lib uses both strict mode and const, which triggers the \"SyntaxError: Use of const in strict mode\". I can get it working by starting the node server with the -harmony flag, but it doesn't feel right that a third party npm lib enforces this. \r\n\r\nIs there any reasoning behind this? Is there a possibility to change the const to standard vars instead? \r\n\r\nAlso, might be worth adding this info to the README file."},"comment":{"url":"https://api.github.com/repos/telefonicaid/fiware-SDK/issues/comments/144760102","html_url":"https://github.com/telefonicaid/fiware-SDK/issues/5#issuecomment-144760102","issue_url":"https://api.github.com/repos/telefonicaid/fiware-SDK/issues/5","id":144760102,"user":{"login":"jmcanterafonseca","id":694782,"avatar_url":"https://avatars.githubusercontent.com/u/694782?v=3","gravatar_id":"","url":"https://api.github.com/users/jmcanterafonseca","html_url":"https://github.com/jmcanterafonseca","followers_url":"https://api.github.com/users/jmcanterafonseca/followers","following_url":"https://api.github.com/users/jmcanterafonseca/following{/other_user}","gists_url":"https://api.github.com/users/jmcanterafonseca/gists{/gist_id}","starred_url":"https://api.github.com/users/jmcanterafonseca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmcanterafonseca/subscriptions","organizations_url":"https://api.github.com/users/jmcanterafonseca/orgs","repos_url":"https://api.github.com/users/jmcanterafonseca/repos","events_url":"https://api.github.com/users/jmcanterafonseca/events{/privacy}","received_events_url":"https://api.github.com/users/jmcanterafonseca/received_events","type":"User","site_admin":false},"created_at":"2015-10-01T15:18:12Z","updated_at":"2015-10-01T15:18:12Z","body":"closed, thanks Tania for responding"}}