{"action":"opened","issue":{"url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-functions-emulator/issues/75","repository_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-functions-emulator","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-functions-emulator/issues/75/labels{/name}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-functions-emulator/issues/75/comments","events_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-functions-emulator/issues/75/events","html_url":"https://github.com/GoogleCloudPlatform/cloud-functions-emulator/issues/75","id":215414288,"number":75,"title":"Block-scoped declarations error message","user":{"login":"davidbielik","id":7410770,"avatar_url":"https://avatars0.githubusercontent.com/u/7410770?v=3","gravatar_id":"","url":"https://api.github.com/users/davidbielik","html_url":"https://github.com/davidbielik","followers_url":"https://api.github.com/users/davidbielik/followers","following_url":"https://api.github.com/users/davidbielik/following{/other_user}","gists_url":"https://api.github.com/users/davidbielik/gists{/gist_id}","starred_url":"https://api.github.com/users/davidbielik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidbielik/subscriptions","organizations_url":"https://api.github.com/users/davidbielik/orgs","repos_url":"https://api.github.com/users/davidbielik/repos","events_url":"https://api.github.com/users/davidbielik/events{/privacy}","received_events_url":"https://api.github.com/users/davidbielik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-03-20T13:06:44Z","updated_at":"2017-03-20T13:06:44Z","closed_at":null,"body":"### Description\r\n\r\nGetting this error message after following the install instructions\r\n\r\n```\r\n/usr/local/lib/node_modules/@google-cloud/functions-emulator/bin/functions:62\r\nlet projectId = require('../src/utils/detectProjectId')(config.get('projectId'));\r\n^^^\r\n\r\nSyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode\r\n    at exports.runInThisContext (vm.js:53:16)\r\n    at Module._compile (module.js:373:25)\r\n    at Object.Module._extensions..js (module.js:416:10)\r\n    at Module.load (module.js:343:32)\r\n    at Function.Module._load (module.js:300:12)\r\n    at Function.Module.runMain (module.js:441:10)\r\n    at startup (node.js:139:18)\r\n    at node.js:968:3\r\n```\r\n\r\n### Steps to reproduce\r\nInstalled via npm, then ran `functions start`. I'm on a mac\r\n\r\nThanks!"}}
{"actor":{"display_login":"davidbielik"}}