Skip to content
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

Doesn't work on Node 4.x #63

Closed
colinramsay opened this issue Mar 31, 2017 · 5 comments
Closed

Doesn't work on Node 4.x #63

colinramsay opened this issue Mar 31, 2017 · 5 comments
Labels

Comments

@colinramsay
Copy link

I tried running haul with v4.6.1 of node and it failed (ReferenceError: regeneratorRuntime is not defined), but with v6 it works. The readme should indicate the minimum required version.

@grabbou
Copy link
Member

grabbou commented Mar 31, 2017

Can you try running #64 to see if it fixes your problem? We support Node 4, but our preset is not including regenerator-runtime. Should be fixed after this PR gets merged and released.

Until then, you can point haul-cli to callstack-io/haul#1afd58644ad576376d481eb6dbf70ea291bf269a and run install again.

@colinramsay
Copy link
Author

Oh I just used nvm to switch to v6, it wasn't a major issue for me. I just thought it would be useful for the readme to be explicit about it :)

@grabbou
Copy link
Member

grabbou commented Mar 31, 2017

@colinramsay we do support v4, so thanks to your report we were able to locate an issue with our babel preset!

@colinramsay
Copy link
Author

🕺

@grabbou grabbou changed the title Add required node version to README Doesn't work on Node 4.x Mar 31, 2017
@grabbou grabbou closed this as completed Mar 31, 2017
@grabbou
Copy link
Member

grabbou commented Mar 31, 2017

0.1.4 should now work on Node 4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants