I\'m trying to install LESS on my machine and have installed node already. However, when I enter \"node install -g less\" I get the following error and am not sure what to d
I know this is an old questions but none of the solutions seemed like a good practice hence I am putting how I have solved this issue:
Tried solving this issue by using Homebrew but it was also installing node in /usr/local directory which would again cause EACCES error.
Had to use a version manager like nvm for more informations see the official npm guide.
For various operating system.
nvm installs node and it's modules in the user's HOME FOLDER thereby solving EACCES issues.