npm permissions error
Ryan Schmidt
ryandesign at macports.org
Sun Mar 11 14:26:44 PDT 2012
On Mar 11, 2012, at 16:01, Phil Dobbin wrote:
> On 11/03/2012 20:50, Phil Dobbin wrote:
>
>> I'm using npm to install something from npmjs.org & even though
>> I'm using sudo I'm getting:
>
> [snip]
>
> Scrub that. I figured it out.
What was the solution?
You shouldn't be using sudo with npm. npm is for installing node modules locally.
Projects that recommend the use of "npm -g" for a global install should instead have an entire MacPorts port made for them.
More information about the macports-users
mailing list