4 ms·
>Node is somewhat usable except for the "REPL is not async context" which leads to annoying tricks What do you mean by this ? It's been a while since I was abl
by rubber_duck 6y ago
>Node is somewhat usable except for the "REPL is not async context" which leads to annoying tricks
What do you mean by this ? It's been a while since I was able to use await in REPL, maybe you are referring to something else ?
- p_l 6y agoWas either Node v10 or v12 (I suspect the latter), as it was in december 2019 or so and I tended to use latest stable. Await in REPL definitely didn't work, maybe there's tooling to fix that? Unfortunately Node is not my main, or even third-line tool, but I had to work with Strapi and it was definitely a common issue that I couldn't use "await" on a function.