Npm install -g atlas-app-services-cli does not work on ubuntu

sudo npm install -g atlas-app-services-cli
npm ERR! code 1
npm ERR! path /usr/local/lib/node_modules/atlas-app-services-cli
npm ERR! command failed
npm ERR! command sh -c node install.js

npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2024-02-20T19_31_53_584Z-debug-0.log

and in errorlog:
353 info run atlas-app-services-cli@1.1.0 install node_modules/atlas-app-services-cli node install.js
354 info run atlas-app-services-cli@1.1.0 install { code: 1, signal: null }
355 timing reify:rollback:createSparse Completed in 32ms
356 timing reify:rollback:retireShallow Completed in 0ms
357 timing command:install Completed in 4561ms
358 verbose stack Error: command failed
358 verbose stack at ChildProcess. (/snap/node/8286/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/i
358 verbose stack at ChildProcess.emit (node:events:518:28)
358 verbose stack at maybeClose (node:internal/child_process:1105:16)
358 verbose stack at ChildProcess._handle.onexit (node:internal/child_process:305:5)
359 verbose pkgid atlas-app-services-cli@1.1.0
360 verbose cwd /home/edward
361 verbose Linux 6.5.0-18-generic
362 verbose node v20.11.1
363 verbose npm v10.2.4
364 error code 1
365 error path /usr/local/lib/node_modules/atlas-app-services-cli
366 error command failed
367 error command sh -c node install.js
368 verbose exit 1
369 timing npm Completed in 4732ms
370 verbose unfinished npm timer reify 1708462934441
371 verbose unfinished npm timer reify:build 1708462937972
372 verbose unfinished npm timer build 1708462937972
373 verbose unfinished npm timer build:deps 1708462937972
374 verbose unfinished npm timer build:run:install 1708462937980
375 verbose unfinished npm timer build:run:install:node_modules/atlas-app-services-cli 1708462937980
376 verbose code 1