$ balena devices
sometimes works
$ balena devices
sometimes gives an error
This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
Error: ENOENT: no such file or directory, lstat '/opt/lib'
1) If you want to compile the package/file into executable, please pay attention to compilation warnings and specify a literal in 'require' call. 2) If you don't want to compile the package/file into executable and want to 'require' it from filesystem (likely plugin), specify an absolute path in 'require' call using process.cwd() or process.execPath.
at Object.realpathSync (fs.js:1461:7)
at Object.fs.realpathSync (pkg/prelude/bootstrap.js:822:36)
at Object.<anonymous> (/snapshot/versioned-source/node_modules/is-installed-globally/index.js:8:29)
at Module._compile (pkg/prelude/bootstrap.js:1266:22)