xo-cli not working
-
Try reinstalling and installing xo-cli again.
Got version v0.11.1
Trying to register I get the following error:
[16:12 02] xoa:jedi$ xo-cli --register http://192.168.0.13 root Password: *********** (node:44320) UnhandledPromiseRejectionWarning: TypeError: Converting circular structure to JSON --> starting at object with constructor 'ClientRequest' | property 'socket' -> object with constructor 'Socket' --- property '_httpMessage' closes the circle at JSON.stringify (<anonymous>) at prettyFormat (/usr/local/lib/node_modules/xo-cli/node_modules/exec-promise/index.js:32:15) at onError (/usr/local/lib/node_modules/xo-cli/node_modules/exec-promise/index.js:48:35) at processTicksAndRejections (internal/process/task_queues.js:97:5) (node:44320) UnhandledPromiseRejectionWarning: Unhandled promise rejection. 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(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1) (node:44320) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. [16:12 02] xoa:jedi$
I'm trying to do this on my XOA appliance.
npm 6.14.11
node 14.16.0Any help is appreciated.
-
TGIF...
you need to register to XOA, not to XCP-ng
Error message could be more helpful though.
-
Hmm doesn't ring any bell, @pdonias maybe?
-
TGIF...
you need to register to XOA, not to XCP-ng
Error message could be more helpful though.
-
Indeed.