jovotech / jovo-cli

🛠 Command Line Interface for the Jovo Framework: Makes voice experience deployment a breeze, including features like local development and staging.
https://www.jovo.tech/marketplace/jovo-cli
Apache License 2.0
57 stars 31 forks source link

Only works on node 8+ #5

Closed tjbenton closed 6 years ago

tjbenton commented 7 years ago

This app only works if you're on node 8 or higher which you can't use when developing Alexa skills since lambda functions can only be at 6.10.

You might consider compiling you JS with babel to support 6.10 so that users of jovo-cli don't have to switch node versions just to use it.

jankoenig commented 6 years ago

Thank you @tjbenton, we will look into this. I'm a bit confused, because jovo-cli is mainly used for local development, and the jovo-framework package (which is used for the voice apps) supports earlier node versions, even node 4 (see https://travis-ci.org/jovotech/jovo-framework-nodejs).

Do you mind explaining further? Thanks a lot!

tjbenton commented 6 years ago

When I try to install jovo-cli in node 4-7 it doesn't work when I try to run it. It only works then I install it on node 8+

screen shot 2017-11-02 at 11 06 55 am

jankoenig commented 6 years ago

Thanks! Will investigate. @aswetlow got it to work with nvm and node 5. Do you have the same issue with other command line tools @tjbenton? for example https://github.com/bespoken/bst

tjbenton commented 6 years ago

When I install bespoken-tools on any node version it's working correctly for me.

jankoenig commented 6 years ago

Thanks! We found the bug and pushed the new version to npm. Can you update it with npm update -g jovo-cli and try again?