-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
At Promise fromNode fromCallback - a promise was created but was not returned from it #1638
Comments
You have a promise somewhere you create in a In general, please open support requests according to http://bluebirdjs.com/docs/support.html |
I was just bitten by this, too. Basically, in BlueBird you're never allowed to have a Promise chain that ends in |
The test is literally that - if you don't create a promise inside and not return it creating a broken chain - no warning. |
Based on reading the source, I would agree with you... Except that in this example the |
Oh... I bet I know why. I bet the person who raised the issue was creating a Bluebird promise inside the |
I suppose if you really wanted to create a |
(This issue tracker is only for bug reports or feature requests, if this is neither, please choose appropriate channel from http://bluebirdjs.com/docs/support.html)
Please answer the questions the best you can:
Locally there is no issue at all. I haven't known about this until I pushed to Heroku.
I am having this issue on Heroku:
Since it is pointing to the bluebird node_module directly I assume there might be an issue in the package. (Btw. in the lib at the pointed fromNode.fromCallback there is this weird indentation of a ternary).
The text was updated successfully, but these errors were encountered: