Before submitting your bug report
Relevant environment info
Description
The CLI install script can exit with no more explanation than "Installation failed. Cleaning up":
==> Found Node.js v22.22.2
+ version_gte 22.22.2 20.20.1
++ printf '%s\n' 20.20.1 22.22.2
++ sort -V
++ head -n1
+ '[' 20.20.1 = 20.20.1 ']'
+ success 'Node.js meets requirements (>= v20.20.1)'
+ printf '\033[0;32m==>\033[0m \033[1m%s\033[0m\n' 'Node.js meets requirements (>= v20.20.1)'
==> Node.js meets requirements (>= v20.20.1)
+ return 0
+ setup_npm_path
+ local npm_bin
++ npm config get prefix
+ npm_bin=/bin
+ cleanup
+ local exit_code=127
+ '[' 127 -ne 0 ']'
+ warn 'Installation failed. Cleaning up...'
+ printf '\033[1;33m==> Warning:\033[0m %s\n' 'Installation failed. Cleaning up...'
==> Warning: Installation failed. Cleaning up...
+ '[' false = true ']'
+ exit 127
Seems that the nodejs package was only partially installed in this case, and npm was missing.
To reproduce
No response
Log output
Before submitting your bug report
Relevant environment info
- OS: LinuxDescription
The CLI install script can exit with no more explanation than "Installation failed. Cleaning up":
Seems that the nodejs package was only partially installed in this case, and
npmwas missing.To reproduce
No response
Log output