Indeed. Although "sans sudo on npm install", we cannot hold the hand of the
developer during throughout the entirety use of npm on their machine.

However some simple text + links (based on [1]) such as this would do the
trick no?

2. Install the Cordova utility.
`npm install cordova`

Pointers:
*If you installed node with sudo you will need to use prefix the above with
sudo - link[2]
*Prefix install with -g flag to install globally - link[3]


[1]
http://cordova.apache.org/docs/en/3.4.0/guide_cli_index.md.html#The%20Command-Line%20Interface
[2] http://howtonode.org/introduction-to-npm
[3] http://blog.nodejs.org/2011/03/23/npm-1-0-global-vs-local-installation/



On Tue, May 13, 2014 at 5:15 AM, Brian LeRoux <b...@brian.io> wrote:

> Once again, however, this is not a problem for Cordova to solve but rather
> a part of the journey for the developer to undertake. If we start telling
> devs how to configure their machines we might as well get into telling
> developers how to structure, test, and otherwise architect their apps.
>
>
> On Mon, May 12, 2014 at 7:43 AM, Josh Soref <jso...@blackberry.com> wrote:
>
> > Marcel Kinard wrote:
> > >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.
> >
> > The Unix/Windows person in me is opposed to sudo, but I thought we had
> > covered most of the bases already, if we've missed places, please +1 fix
> > them :)
> >
> > >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-t
> > >ears
> > >
> > >https://issues.apache.org/jira/browse/CB-5320
> >
> >
>



-- 
<http://www.wizcorp.jp/>Ally Ogilvie
Lead Developer - MobDev. | Wizcorp Inc. <http://www.wizcorp.jp/>
------------------------------
TECH . GAMING . OPEN-SOURCE WIZARDS+ 81 (0)3-4550-1448 |
Website<http://www.wizcorp.jp/>
 | Twitter <https://twitter.com/Wizcorp> |
Facebook<http://www.facebook.com/Wizcorp>
 | LinkedIn <http://www.linkedin.com/company/wizcorp>

Reply via email to