[fixed] Npm - Permission denied


#1

Hi, after installed the last release of debian linaro on dragonboard, when I try to use npm command I receive the following message:
bash: /usr/bin/npm: Permission denied

Any help? Can I change the owners from npm directories to linaro user?

Thanks
Alex


#2

Sorry, I fixed it with the following command
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
sudo apt-get install -y nodejs