Open abhiaiyer91 opened 7 years ago
Are you sure require("meteor-promise").makeCompatible(Promise, require("fibers"))
is getting called early enough? If it's a Meteor app, that should happen automatically, but I guess it's possible you have multiple Promise
constructors floating around.
Over the past few weeks, since the introduction to Promise.await to our codebase, we have been getting strange SIGABRT (exit code 6) in both production and local environments. After looking at the code I see there are
asserts
:https://github.com/meteor/promise/blob/master/promise_server.js#L47
If these asserts fail, I believe this would be the cause of our exit? Do you have any information or clues I should look into?
The log lines we have before the exit are running code that uses
async/await
orPromise.await