cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fil...@apache.org
Subject [48/50] git commit: re-added info in readme about permissions for global node modules
Date Wed, 28 Nov 2012 18:16:24 GMT
re-added info in readme about permissions for global node modules


Project: http://git-wip-us.apache.org/repos/asf/cordova-cli/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-cli/commit/21073b1b
Tree: http://git-wip-us.apache.org/repos/asf/cordova-cli/tree/21073b1b
Diff: http://git-wip-us.apache.org/repos/asf/cordova-cli/diff/21073b1b

Branch: refs/heads/master
Commit: 21073b1b194c3a3afb28c024609b28018d26d32b
Parents: 0f37c45
Author: Fil Maj <maj.fil@gmail.com>
Authored: Thu Oct 4 10:55:37 2012 -0700
Committer: Fil Maj <maj.fil@gmail.com>
Committed: Thu Oct 4 10:55:37 2012 -0700

----------------------------------------------------------------------
 README.md |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/21073b1b/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index 929492d..e4e251a 100644
--- a/README.md
+++ b/README.md
@@ -24,6 +24,8 @@ v2.1.0.
 npm install -g cordova
 ```
 
+**NOTE**: on Mac OS X, you may want to change the owner of the cordova directory that npm
installs to. This will allow you to run cordova as local user without requiring root permissions.
Assuming your node_modules directory is in `/usr/local/lib/`, you can do this by running:
`sudo chown -R <username> /usr/local/lib/node_modules/cordova`
+
 # Getting Started
 
 cordova-client has a single global `create` command that creates new cordova projects into
a specified directory. Once you create a project, `cd` into it and you can execute a variety
of project-level commands. Completely inspired by git's interface.


Mime
View raw message