{"action":"opened","issue":{"url":"https://api.github.com/repos/ysugimoto/aws-lambda-image/issues/24","repository_url":"https://api.github.com/repos/ysugimoto/aws-lambda-image","labels_url":"https://api.github.com/repos/ysugimoto/aws-lambda-image/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/ysugimoto/aws-lambda-image/issues/24/comments","events_url":"https://api.github.com/repos/ysugimoto/aws-lambda-image/issues/24/events","html_url":"https://github.com/ysugimoto/aws-lambda-image/issues/24","id":151349064,"number":24,"title":"Fails on latest aws-sdk 2.3.6","user":{"login":"foffer","id":1674650,"avatar_url":"https://avatars.githubusercontent.com/u/1674650?v=3","gravatar_id":"","url":"https://api.github.com/users/foffer","html_url":"https://github.com/foffer","followers_url":"https://api.github.com/users/foffer/followers","following_url":"https://api.github.com/users/foffer/following{/other_user}","gists_url":"https://api.github.com/users/foffer/gists{/gist_id}","starred_url":"https://api.github.com/users/foffer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/foffer/subscriptions","organizations_url":"https://api.github.com/users/foffer/orgs","repos_url":"https://api.github.com/users/foffer/repos","events_url":"https://api.github.com/users/foffer/events{/privacy}","received_events_url":"https://api.github.com/users/foffer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-27T10:09:59Z","updated_at":"2016-04-27T10:09:59Z","closed_at":null,"body":"When uploading this to AWS Lambda and running a 'Test' the following stack trace appears:\r\n\r\n```\r\n{\r\n  \"errorMessage\": \"Cannot find module 'jmespath'\",\r\n  \"errorType\": \"Error\",\r\n  \"stackTrace\": [\r\n    \"Function.Module._load (module.js:276:25)\",\r\n    \"Module.require (module.js:353:17)\",\r\n    \"require (internal/module.js:12:17)\",\r\n    \"Object.<anonymous> (/var/task/node_modules/aws-sdk/lib/request.js:5:16)\",\r\n    \"Module._compile (module.js:409:26)\",\r\n    \"Object.Module._extensions..js (module.js:416:10)\",\r\n    \"Module.load (module.js:343:32)\",\r\n    \"Function.Module._load (module.js:300:12)\",\r\n    \"Module.require (module.js:353:17)\"\r\n  ]\r\n}\r\n```"}}