princejwesley/Mancy

Async/await still fails with Babel and Auto async wrapper enabled

jordaaash opened this issue · 4 comments

Preferences
screen shot 2016-10-16 at 2 53 15 pm

REPL
screen shot 2016-10-16 at 3 00 07 pm

I tried many variations of these and other preferences, as well different attempts at wrapper constructs. Perhaps I'm doing something wrong, but await doesn't seem to work without constructing a wrapper yourself.

I read issues #71, #70, #63, and #26 in researching this. Is there something non-obvious about how this is supposed to work in Mancy?

REPL
screen shot 2016-10-16 at 3 06 58 pm

Also tried wrapping the invocation in an async function (in case awaiting a Promise itself is unsupported).

Thanks for the quick response! Latest npm release, I'll try master.

@jordansexton if I remember correctly, latest babel dependency expects some variation that has to be addressed. I mean 6b0148b one

I should have raised a ticket and fixed it. I'll do that next time, very sorry! 😞

edit: previously replied from temp/someone's account.

That was it, works fine built from master. Thanks for your help and for all your work on this project!