[fixed] Npm - Permission denied

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?


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

1 Like