{"action":"created","issue":{"url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-functions-emulator/issues/118","repository_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-functions-emulator","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-functions-emulator/issues/118/labels{/name}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-functions-emulator/issues/118/comments","events_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-functions-emulator/issues/118/events","html_url":"https://github.com/GoogleCloudPlatform/cloud-functions-emulator/issues/118","id":235979068,"number":118,"title":"function failed to deploy","user":{"login":"kpr6","id":10363215,"avatar_url":"https://avatars2.githubusercontent.com/u/10363215?v=3","gravatar_id":"","url":"https://api.github.com/users/kpr6","html_url":"https://github.com/kpr6","followers_url":"https://api.github.com/users/kpr6/followers","following_url":"https://api.github.com/users/kpr6/following{/other_user}","gists_url":"https://api.github.com/users/kpr6/gists{/gist_id}","starred_url":"https://api.github.com/users/kpr6/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kpr6/subscriptions","organizations_url":"https://api.github.com/users/kpr6/orgs","repos_url":"https://api.github.com/users/kpr6/repos","events_url":"https://api.github.com/users/kpr6/events{/privacy}","received_events_url":"https://api.github.com/users/kpr6/received_events","type":"User","site_admin":false},"labels":[{"id":621851305,"url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-functions-emulator/labels/needs%20more%20information","name":"needs more information","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2017-06-14T19:04:15Z","updated_at":"2017-06-28T16:38:01Z","closed_at":null,"body":"Gives out this error:\r\n\r\n```\r\n2017-06-14T19:01:20.954Z - error:  RequestError: socket hang up\r\n    at ClientRequest.req.once.err (/usr/local/lib/node_modules/@google-cloud/functions-emulator/node_modules/got/index.js:105:21)\r\n    at Object.onceWrapper (events.js:293:19)\r\n    at emitOne (events.js:96:13)\r\n    at ClientRequest.emit (events.js:191:7)\r\n    at Socket.socketOnEnd (_http_client.js:394:9)\r\n    at emitNone (events.js:91:20)\r\n    at Socket.emit (events.js:188:7)\r\n    at endReadableNT (_stream_readable.js:974:12)\r\n    at _combinedTickCallback (internal/process/next_tick.js:80:11)\r\n    at process._tickCallback (internal/process/next_tick.js:104:9)\r\n```\r\n\r\nUsing node v6.11.0. Can you please help"},"comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-functions-emulator/issues/comments/311716923","html_url":"https://github.com/GoogleCloudPlatform/cloud-functions-emulator/issues/118#issuecomment-311716923","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/cloud-functions-emulator/issues/118","id":311716923,"user":{"login":"jmdobry","id":1213510,"avatar_url":"https://avatars3.githubusercontent.com/u/1213510?v=3","gravatar_id":"","url":"https://api.github.com/users/jmdobry","html_url":"https://github.com/jmdobry","followers_url":"https://api.github.com/users/jmdobry/followers","following_url":"https://api.github.com/users/jmdobry/following{/other_user}","gists_url":"https://api.github.com/users/jmdobry/gists{/gist_id}","starred_url":"https://api.github.com/users/jmdobry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmdobry/subscriptions","organizations_url":"https://api.github.com/users/jmdobry/orgs","repos_url":"https://api.github.com/users/jmdobry/repos","events_url":"https://api.github.com/users/jmdobry/events{/privacy}","received_events_url":"https://api.github.com/users/jmdobry/received_events","type":"User","site_admin":false},"created_at":"2017-06-28T16:38:00Z","updated_at":"2017-06-28T16:38:00Z","body":"@kpr6 I feel like something is messed up with your emulator installation. Can you:\r\n\r\n1. Stop the emulator\r\n1. Ensure you don't have any renegade emulator Node.js processes running\r\n1. Uninstall the emulator\r\n1. Delete this directory: `~/.config/configstore/@google-cloud/functions-emulator/`\r\n1. Ensure you don't have any other programs using the emulator's default ports\r\n1. Re-install and start the emulator\r\n\r\n    Note: You shouldn't have to use `sudo` to install the emulator, if you do, that could cause problems with the emulator's execution."}}
{"actor":{"display_login":"jmdobry"}}