-
Notifications
You must be signed in to change notification settings - Fork 0
Common errors
Leo Codes edited this page Jul 24, 2025
·
4 revisions
This error usually occurs when a command that the installer itself requires to work is not installed or not in PATH, to fix this try running:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash && export NVM_DIR="$HOME/.nvm" && [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" && grep -qxF 'export NVM_DIR="$HOME/.nvm"' ~/.bashrc || cat <<'EOF' >> ~/.bashrc
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
EOF
nvm install 22 && nvm use 22
NOTE: this will install node version manager: https://github.com/nvm-sh/nvm
sudo apt-get update && sudo apt-get install gitThere is a problem with your system