simply we can create symbolic link to the nvm/npm to /usr/bin to fix this problem, you can read my guide for that: