This is a cache of https://discuss.96boards.org/t/fixed-npm-permission-denied/2008. It is a snapshot of the page at 2024-09-20T05:54:50.341+0000.
[fixed] Npm - Permission denied - DragonBoard410c - 96Boards Forum

[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?

Thanks
Alex

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