Ask Your Question

How do I load aws-sdk in the JS evaluator?

asked 2017-10-16 09:28:30 -0500

vasilis gravatar image

updated 2017-10-16 10:30:06 -0500

metadaddy gravatar image

I'm trying to load the browserified version and followed Calling External Libraries from the JavaScript Evaluator, but i can't get it the library to load.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2017-10-16 09:30:54 -0500

vasilis gravatar image

updated 2017-10-16 10:30:21 -0500

metadaddy gravatar image

Solved by mocking the windowobject and then loading the browser version (aws-sdk-2.133.0.min.js) found at

The work-around is the following piece of code:

var window = {};


var AWS = window.AWS;

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2017-10-16 09:28:30 -0500

Seen: 1,950 times

Last updated: Oct 16 '17