-
Notifications
You must be signed in to change notification settings - Fork 52
Closed
Description
When used with bluebird, this error is thrown:
Error: the promise constructor cannot be invoked directly
Which comes from here: http://bluebirdjs.com/docs/error-explanations.html#error-the-promise-constructor-cannot-be-invoked-directly
Note there it says one of the causes of this is:
- You are trying to subclass Promise
Bluebird does not support extending promises this way. Instead, see scoped prototypes.>
It seems that in [email protected], it is now attempting to subclass the global Promise. So, if global Promise has been set as Bluebird this fails. [email protected] does not suffer from this problem.
Metadata
Metadata
Assignees
Labels
No labels