Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

custom build without progress throws error #535

zakness opened this issue Mar 19, 2015 · 0 comments

custom build without progress throws error #535

zakness opened this issue Mar 19, 2015 · 0 comments


Copy link

zakness commented Mar 19, 2015

git clone
git checkout v2.9.14
node tools/build --feature="core"

I loaded the resulting bluebird.js and got the following error:

Uncaught TypeError: undefined is not a function
Promise.prototype._migrateCallbacks = function (follower, index) {
    var fulfill = follower._fulfillmentHandlerAt(index);
    var reject = follower._rejectionHandlerAt(index);
    var progress = follower._progressHandlerAt(index);  // ← offending line (1796)
    var promise = follower._promiseAt(index);
    var receiver = follower._receiverAt(index);
    if (promise instanceof Promise) promise._setIsMigrated();
    this._addCallbacks(fulfill, reject, progress, promise, receiver);

node tools/build --feature="core progress" fixes the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

No branches or pull requests

1 participant