I have nodejs and npm installed on OpenSUSE via the package manager. Installed version is 18.17.1
Problem is that npm reports the wrong version while node reports the correct version.
node -v reports the correct version:
node -v
v18.17.1
But, npm -v reports 9.6.7:
npm -v
9.6.7
npm –help ends with this line:
[email protected] /usr/lib64/node_modules/npm18
many years ago before npm was available in the package manager, I installed npm manually. That was installed in /usr/local/
I have removed all the /usr/local npm related files and directories.
I removed all $HOME/.npm directories I am aware of
I did a clean un-install of npm via the package manager
I re-installed npm via the package manager
Any idea why npm still insists on the old version?
Thanks
Andre