0

I tried to install npm package but it still gave the same output : check here the screenshot

I even try this solution : npm can't be installed but still the same error occured !

plz help me !

1 Answers1

1

Hi everyone my issue is solved now, so I'm back to you to share with you the solution that I found : Please follow these steps

sudo apt-get remove nodejs npm ## remove existing nodejs and npm packages
sudo apt-get install curl  
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
sudo apt-get install -y nodejs