I have spent a few hours bashing my head against this wall.
i have been trying to install nodejs on my raspberry Pi.
I do sudo apt-get install -y nodejs
It appears to work and install the packages. But when I try
node -v
nodejs -v
npm -v
I get "Segmentation Error" back, and nothing else.
I tried apt-get update and apt-get upgrade and then re-installed node, but nothing.
I am a bit of a noob, so have now run out of ideas. Any suggestions?
Many thanks