question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to use Ava with Node v7.7+ native async..await

See original GitHub issue

I already transitioned my web application to use Node 7.8 (V8 5.5) and therefore have native async…await available. How do I make Ava use it too instead of transform-regenerator

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
cdaringecommented, Aug 12, 2017

good news! its seem as though the system doesn’t transpile code if you use pure runtime goodies! woo hoo! now, i have a native debug experience in VSCode

screen shot 2017-08-11 at 4 56 44 pm

1reaction
novemberborncommented, Apr 4, 2017

I don’t think we use transform-regenerator anymore, since we’re now only targeting Node.js versions with generator support.

When Node.js 8 comes out we’ll update our transforms and we’ll no longer transpile async/await for those Node.js versions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

harmony-async-await`), nyc reports errors. · Issue #458 ...
When I use node v7 (with node v7 async/await support, not babel) and AVA, it works fine. But running nyc ava , it...
Read more >
Use async/await in Node v7 today - Medium
Update (2016–10–26): Node.js v7 is now available for download: ... Among the most awaited features is the native async/await support, ...
Read more >
What's New in Node.js 15 - Better Programming
By running nvm install node , we installed Node.js 15.4.0 and NPM 7.0.15 . ... a promisified version of setTimeout , which can...
Read more >
Fix list for IBM WebSphere Application Server V8.5
Java Management Extensions (JMX) or JMX Client API, PH36026, Improve log message when the node agent restarts an unresponsive application server.
Read more >
5 ECMAScript.next links, every week - ES.next News
ES.next News 2022-11-22: Deno 1.28; Node v19.1.0; ESLint v8.28.0; Jest; Lerna ... chain for JS and TS; loops and async/await; front-end bundlers; Test262....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found