Lightning-CLI always fails update check when up to date

✖ Verifying if your installation of Lightning-CLI is up to date.

I’ve updated the Lightning-CLI countless times in my project. Everything is up to date, I can’t find a single place where this isn’t up to date. However, this check keeps failing randomly and it wants me to re-update it. I can just ignore it and can run my project like normal, but is there something specific that needs to be done to get rid of this?

Hi @myusername . Please have a try by entering the following variable on your terminal just before executing any command on the lightning CLI:

LNG_AUTO_UPDATE=false

We had a similar problem once where the CLI tried to auto update but it was failing for whatever reason and was halting our pipeline’s execution. I don’t know if this still holds true for the latest version of Lightning’s CLI, but it doesn’t hurt to try.