-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to get this running in Node #198
Comments
@alessioalex you have to include babel polyfill as well as using appropriate babel presets to handle async/await. Check out this this node6 es6 preset |
Same question I had here. Why not support promises as well and give option for async/await. Haven't used babel so far for this project and I shouldn't have to just for a simple API call. Any alternatives? |
FWIW, with Node 8 well-established and with it, async/await, this lib should also expose either a Node8-compatible version, or something compiled down to promises with e.g. nodent. |
Still can't get this running in Node: → node
> a = require('@r/api-client')
Error: Cannot find module 'lodash/array' I don't thinking including some babel polyfill is the way to go. |
+1 , surprising async/await isn't supported |
Hey there, how do I get this up and running with Node 6?
I'm getting this error:
Thanks.
The text was updated successfully, but these errors were encountered: