What version of Node.js do you have installed? Could it be that Debian is shipping a very old Node.js version? I’d suggest to use at least v8 (the current stable is v10 and v8 is deprecated atm but still good enough for most cases)
hey @gman, I think your node version is actually too new! We only build and test balena-cli against v8 and v10 of node. If instead of installing via npm you install the standalone package then you shouldn’t have any problems as that comes with a bundled node. The instructions for this installation are at https://github.com/balena-io/balena-cli/blob/master/INSTALL.md#standalone-zip-package.
Just to add a bit more on this, you can either sudo chown <yourUserName> ~/.balena Alternatively if you don’t mind logging in again on the cli, you can just delete the ~/.balena directory, and it will be re-created on the next run of the cli.
Hello, I just wanted to let you know that we have resolved the issue with balena-cli occasionally returning null. This was tracked in this issue, let us know either in this thread or directly in the issue if you happen to run into this again.