I can no longer control my Ubuntu 22.04 terminal. The terminal asks me to install ng-common and then I can't use the terminal. This is how my terminal currently looks like:

current terminal

I was trying to install Node via NVM because I need to use Angular. Then in the command line I saw a warning saying that "Angular is not compatible with the node installer version", and so after installing Node 20.10.0 with NVM, I got a line in the console (apt get install ng-common).

I no longer have more details because I restarted my computer thinking it was a crash problem.


1 Answer 1


It's working now. I have removed in ~/.bashrc these lines:

export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"  # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"  # This loads nvm bash_completion

# Load Angular CLI autocompletion.
source <(ng completion script)

Answer moved here from OP's comment.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .