I have installed nvm through pamac,
after that I installed node through nvm and ran: source ~/.nvm/nvm.sh
After that each time I open the terminal I get the following prompt: The application ng is not installed. It may be found in the following packages:
community/ceph-mgr 15.2.17-1 /usr/share/ceph/mgr/dashboard/frontend/node_modules/@angular/cli/bin/ng Do you want to Install package ceph-mgr? (y/N)
No matter what I choose ‘y’ or ‘N’ the terminal is not responding and hangs.
I’m not sure how to get around this, I can’t use the terminal at all now.
I’m guessing one option would be manually removing all nvm / node related folders and files (can’t use the terminal)
checked the /usr/share/… path shown in the prompt but I don’t have any ceph folder there
manjaro version Sikaris 22.0.0
I would really appreciate any hints on how to debug / what to check.
The post install message does not contain above instruction
You need to source nvm before you can use it. Do one of the following
or similar depending on your shell (and then restart your shell):
echo 'source /usr/share/nvm/init-nvm.sh' >> ~/.bashrc
echo 'source /usr/share/nvm/init-nvm.sh' >> ~/.zshrc
You can now install node.js versions (e.g. nvm install 10) and
activate them (e.g. nvm use 10).
init-nvm.sh is a convenience script which does the following:
[ -z "$NVM_DIR" ] && export NVM_DIR="$HOME/.nvm"
You may wish to customize and put these lines directly in your
.bashrc (or similar) if, for example, you would like an NVM_DIR
other than ~/.nvm or you don't want bash completion.
See the nvm readme for more information: https://github.com/creationix/nvm
That is likely because you didn’t follow instructions