codefresh-io/cli

Support NodeJS 14

Opened this issue · 2 comments

Currently NodeJS 8 is EOL, and 10 is in Maintenance LTS for 21 more days (4/30). NodeJS 14 is currently in active LTS.

https://nodejs.org/en/about/releases/

My company has recently upgraded to 14 and all my CLI tooling is now breaking with:

Your node version (v14.16.0) is not compatible with supported node version (<=10.x >=8.x) for this command, click the link to see it in codefresh UI : https://g.codefresh.io/build/6070d1eaa8c50a53a0783fe6

Is there any reason 14 won't work in this util?

@oren-codefresh I see that you added this version check about a year ago. Maybe you know why, and can amend it?

Hi @logicbomb421 @ramonsnir
The reason that we added this check is due to the fact that the current firebase library that we are using doesn't support node version below 8 and greater than 10. It's a limitation right now that we are having. One can run builds from the CLI without follows the logs (those can be retrieved from the UI)
Oren.