Bluebird: AWS-SDK Cannot Be Promisified

Created on 2 Feb 2017  路  2Comments  路  Source: petkaantonov/bluebird

1) What version of bluebird is the issue happening on?

"aws-sdk": "^2.9.0",
"bluebird": "^3.4.7",

2) What platform and version? (For example Node.js 0.12 or Google Chrome 32)

node v6.9.5

3) Did this issue happen with earlier version of bluebird?

I imagine this error has always existed.

Replication:

var promise = require('bluebird');
var aws = promise.promisifyAll(require('aws-sdk'));

Most helpful comment

AWS-SDK has support for promises natively, there's no need to promisify.

https://aws.amazon.com/blogs/developer/support-for-promises-in-the-sdk/

All 2 comments

What's the error?

AWS-SDK has support for promises natively, there's no need to promisify.

https://aws.amazon.com/blogs/developer/support-for-promises-in-the-sdk/

Was this page helpful?
0 / 5 - 0 ratings