cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Grieve <agri...@chromium.org>
Subject Re: sans sudo on npm install
Date Mon, 12 May 2014 18:06:49 GMT
TLDR (as I understand it) - if you use nvm to install node, then you don't
need sudo. If you use Node's installer, than you do need sudo.

If you run on Windows, you don't need sudo.


On Mon, May 12, 2014 at 1:34 PM, Wargo, John <john.wargo@sap.com> wrote:

> I chatted with Fil about this in the pre-3 days and it was a requirement
> at the time. Have things changed to the point where it works without it?
>  Every time I've tried to do it without sudo on Macintosh it fails.
>
>
> -----Original Message-----
> From: Marcel Kinard [mailto:cmarcelk@gmail.com]
> Sent: Friday, May 09, 2014 10:01 AM
> To: dev@cordova.apache.org
> Subject: sans sudo on npm install
>
> I'm not a Node.js expert, but the Linux person inside me says that using
> sudo to install and run things ought to be avoided if possible.
>
> Would there be objection if I changed cordova-docs to omit sudo from the
> npm install commands? And added references to some of these items below?
>
> http://howtonode.org/introduction-to-npm
>
> http://justjs.com/posts/npm-link-developing-your-own-npm-modules-without-tears
>
> https://issues.apache.org/jira/browse/CB-5320
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message