From b56614723ac7da09e50004bec5eabc589fc73ab0 Mon Sep 17 00:00:00 2001 From: Jonas Herzig Date: Mon, 4 May 2020 18:49:17 +0200 Subject: [PATCH] Fix install-from-git instructions (see #92) Turns out the reason npm did not run the script configured in the package.json was because it behaves differently when ran as root. When ran as a normal user, a simple `npm install` is sufficient to build the whole thing. --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index ce6616f..bb64ecd 100644 --- a/README.md +++ b/README.md @@ -24,9 +24,8 @@ or from git: git clone https://github.com/johni0702/mumble-web cd mumble-web npm install -npm run postinstall -npm run build ``` +Note that npm should not be ran as root, use an unprivileged user account instead. The npm version is prebuilt and ready to use whereas the git version allows you to e.g. customize the theme before building it.