Closed cnxuyc closed 7 years ago
Ya know what - I don't think I ever tried to install this repo after having published it.
The version that is published to npm isn't transpiled, I don't think.
Congratulations, you are the first person to actually install and try the package (and find it not working at all!)
I'll publish a patch to this shortly....
However, I just upgraded to version nodejs 7.6.0, successfully running,i think you package should add es7 async await support。
I've added the babel transpile which is what the tests run under... this is now published as 1.0.2
Should work with node 4+ now.
Shoot. I just tried installing it actually and it's not pulling in the lib
directory properly.
Back to the npm docs to me... standby.
Ok, should be working now... I've verified the install and it has all the bits where they need to be.
Run the above code to get an error