Closed ackdav closed 7 years ago
+1, also getting this.
+1
Not a perfect solution, but this assumes you have node >= 7.x.x installed. Try switching versions with NVM.
In the long term I think it'd be good to support transpilation until the async keyword lands in LTS (i.e. october)
in that case I'll close and come back in a while if it has the support
Thank you guys for this. Indeed it expects you have, at least, Node 7.8 installed. The docs mention this. nvm
is the best solution for this, it's the only thing I use to switch versions.
I am not really a big fan of using transpilers as the resulting code is not the best, in terms of performance.
While I agree transpilers aren't always the best solution, I think in a world where much of the community is using a different version than what you're targeting, you should be focused on delivering a new lib to as many people as possible, until 8.x hits lts, at least for the client anyway
Plus, the performance gains/losses are a bit of a moot point as you aren't hitting any bottlenecks in the client
@Cosrnos I agree with you on the transpilers part. As for performance, yes, there are no bottlenecks on the client, it's more of a personal standard convention, using transpilers, to me, and in my personal opinion, are almost like trying to go backwards with a fast & forward moving technology.
Anyway, I will have a look into babel & co. Pull requests are welcome, if you feel like it. 👏🏻
saw it on producthunt, tried it and am getting this: