{"comment":{"url":"https://api.github.com/repos/wuethrich44/generator-jhipster/comments/11819357","html_url":"https://github.com/wuethrich44/generator-jhipster/commit/8767ccecd21e93bae6187f8a3542eae149b61c7c#commitcomment-11819357","id":11819357,"user":{"login":"deepu105","id":1107223,"avatar_url":"https://avatars.githubusercontent.com/u/1107223?v=3","gravatar_id":"","url":"https://api.github.com/users/deepu105","html_url":"https://github.com/deepu105","followers_url":"https://api.github.com/users/deepu105/followers","following_url":"https://api.github.com/users/deepu105/following{/other_user}","gists_url":"https://api.github.com/users/deepu105/gists{/gist_id}","starred_url":"https://api.github.com/users/deepu105/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deepu105/subscriptions","organizations_url":"https://api.github.com/users/deepu105/orgs","repos_url":"https://api.github.com/users/deepu105/repos","events_url":"https://api.github.com/users/deepu105/events{/privacy}","received_events_url":"https://api.github.com/users/deepu105/received_events","type":"User","site_admin":false},"position":10,"line":11,"path":"aws/index.js","commit_id":"8767ccecd21e93bae6187f8a3542eae149b61c7c","created_at":"2015-06-23T15:34:12Z","updated_at":"2015-06-23T15:34:12Z","body":"@wuethrich44 How about using this instead of loading directly, you might want to do this and this is consistant with heroku and CF generators\r\n```\r\ntry {\r\n    var aws= require(\"aws-sdk\");\r\n} catch(e) {\r\n    this.log.error('You don\\'t have the AWS SDK installed. ' +\r\n            'Install it by running `npm install -g aws-sdk');\r\n            this.abort = true;\r\n    process.exit(e.code);\r\n}\r\n```"}}