KyleAMathews / superagent-bluebird-promise

Add promise support to superagent using Bluebird
MIT License
182 stars 37 forks source link

Uncaught TypeError: Promise.config is not a function #66

Open CameronSima opened 8 years ago

CameronSima commented 8 years ago

When attempting to import var request = require('superagent-bluebird-promise') I get error: Uncaught TypeError: Promise.config is not a function

Webbrother commented 7 years ago

The same problem.

johanneslumpe commented 7 years ago

Have you included bluebird as a dependency? In case you are using npm3, bluebird will not be installed automatically and you need to depend on it manually. It seems like this could be your issue, as Promise.config is a bluebird specific function.

xiguaaxigua commented 7 years ago

same warning, just install bluebird save it.

npm install --save-dev bluebird
bmv437 commented 7 years ago

Installing bluebird fixes the problem right? Can I close this issue?

blasterbug commented 5 years ago

I got this problem too