You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yeah this problem was surprisingly easy to get around, and looks like the latest version makes it even easier. Basically the README is wrong. The basic example should look like this:
var mws = require('mws'),
client = new mws.Client('accessKeyId', 'secretAccessKey', 'merchantId', {});
That's because AmazonMWSClient is a function internal to the mws module, and it exposes it on the Client key here.
I'm using your super simple example to start, but I'm getting:
Any tips on getting around this? I've never tried to construct a prototype defined within a module before, so I don't know how to debug this.
The text was updated successfully, but these errors were encountered: