{"action":"opened","issue":{"url":"https://api.github.com/repos/aws-amplify/amplify-cli/issues/607","repository_url":"https://api.github.com/repos/aws-amplify/amplify-cli","labels_url":"https://api.github.com/repos/aws-amplify/amplify-cli/issues/607/labels{/name}","comments_url":"https://api.github.com/repos/aws-amplify/amplify-cli/issues/607/comments","events_url":"https://api.github.com/repos/aws-amplify/amplify-cli/issues/607/events","html_url":"https://github.com/aws-amplify/amplify-cli/issues/607","id":392791898,"node_id":"MDU6SXNzdWUzOTI3OTE4OTg=","number":607,"title":"Add Analytics Pinpoint Function Fails","user":{"login":"ryanmdd","id":46009127,"node_id":"MDQ6VXNlcjQ2MDA5MTI3","avatar_url":"https://avatars0.githubusercontent.com/u/46009127?v=4","gravatar_id":"","url":"https://api.github.com/users/ryanmdd","html_url":"https://github.com/ryanmdd","followers_url":"https://api.github.com/users/ryanmdd/followers","following_url":"https://api.github.com/users/ryanmdd/following{/other_user}","gists_url":"https://api.github.com/users/ryanmdd/gists{/gist_id}","starred_url":"https://api.github.com/users/ryanmdd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryanmdd/subscriptions","organizations_url":"https://api.github.com/users/ryanmdd/orgs","repos_url":"https://api.github.com/users/ryanmdd/repos","events_url":"https://api.github.com/users/ryanmdd/events{/privacy}","received_events_url":"https://api.github.com/users/ryanmdd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-19T21:53:49Z","updated_at":"2018-12-19T21:53:49Z","closed_at":null,"author_association":"NONE","body":"Add Analytics Pinpoint Function Fails\r\n\r\nThe CLI hangs for a long time, the lambda function gives this error in the cloudwatch logs:\r\n\r\nmodule initialization error: ReferenceError\r\nat Object.<anonymous> (/var/task/index.js:3:71)\r\nat Module._compile (module.js:570:32)\r\nat Object.Module._extensions..js (module.js:579:10)\r\nat Module.load (module.js:487:32)\r\nat tryModuleLoad (module.js:446:12)\r\nat Function.Module._load (module.js:438:3)\r\nat Module.require (module.js:497:17)\r\nat require (internal/module.js:20:19)"}}
{"actor":{"display_login":"ryanmdd"}}