[Libreoffice-commits] online.git: loleaflet/README

Miklos Vajna vmiklos at collabora.co.uk
Wed May 27 07:09:22 PDT 2015


 loleaflet/README |    6 ++++++
 1 file changed, 6 insertions(+)

New commits:
commit 36c94140ef1ef1b4442f48aeb7dcf0f41fef4fb2
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Wed May 27 16:08:58 2015 +0200

    loleaflet: document ~/.npmrc prefix setting

diff --git a/loleaflet/README b/loleaflet/README
index 3b47342..48359c8 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
 --------
 


More information about the Libreoffice-commits mailing list