I am trying to fix nodejs on mlinux. So when i do a uname -m
the output is armv5tejl
. It came with pre-installed node and npm. I tried to upgrade but somehow i think I have broken something.
Now when i do a node -v
i get
-bash: /usr/local/bin/node: No such file or directory
When i do a npm -v
i get
1.4.23
echo $PATH
gives me
/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin
Output of which node
/usr/local/bin/node
Output of which npm
/usr/bin/npm
Since /usr/local/bin is in the PATH i am having difficulties fixing this issue. How can i fix this ? Any help is deeply appreciated.