Updating Nodejs version never works!
-
@phenomlab
The locate command gave 20pages of output, here is first few linesAnd last ones ...
I can see node-v16.13.0 mentioned in the middle pages of output, which would make more sense as current version, as v12 was long time ago.
But v12 is what --version says! -
Off topic but I tried to see whats in etc directory
Theres an environment file which seems to have duplicated words?!,
cat environment gives:
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/sr/local/games:/snap/bin"And then in directory called environment.d, with two files
90atk-adaptor.conf 90gt-a11y.conf
Nothing with any paths related to NodeJs
-
@phenomlab ok how do i know what versions are installed, so i can uninstall?
I tried
nvm unistall 4.9.1
and nvm uninstall 8.16.2
But it says N/A version is not installedEven says 16.13.0 not installed (which I saw listed in that output)
You said they are still listed, but where?
nvm list only has 18.16.0 in green? -
@eeeee I think I might need to look at this directly if that works for you. You have a user account over at Sudonix.com, so could you contact me there to save clogging up this site?
-
Just as an update, incase anyone else with same issue looks up this thread...
I was totally unaware that nodejs and node are two different commands
I should have been doing node --version, as this is what nodeBB uses !
Thanks @phenomlab for sorting it all out