summaryrefslogtreecommitdiff
path: root/loleaflet/README
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2015-05-27 16:08:58 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-05-27 16:09:04 +0200
commit36c94140ef1ef1b4442f48aeb7dcf0f41fef4fb2 (patch)
tree813eb7a1926c7e248cc09e7296485995042db543 /loleaflet/README
parentd54acdd6fb738f4632628482126f50355f08019b (diff)
loleaflet: document ~/.npmrc prefix setting
Diffstat (limited to 'loleaflet/README')
-rw-r--r--loleaflet/README6
1 files changed, 6 insertions, 0 deletions
diff --git a/loleaflet/README b/loleaflet/README
index 3b473425d..48359c8d4 100644
--- a/loleaflet/README
+++ b/loleaflet/README
@@ -16,6 +16,12 @@ Alternatively, you can use the provided zip (as a normal user):
unzip node_modules/modules.zip -d node_modules
+A third way is to use npm as a user, but set its prefix to a directory where
+you have write access. If you want that, you need to have an ~/.npmrc with the
+line e.g.
+
+ prefix=/opt/npm
+
Building
--------