From e74fe04d0750e1ba1c92096fb02c06142961c686 Mon Sep 17 00:00:00 2001 From: Jonas Herzig Date: Sat, 23 May 2020 09:00:28 +0200 Subject: [PATCH] Be more explicit about npm-as-root (fixes #113) As noted in the issue, the current phrasing sounds too much like security advice which one could easily ignore when building in a container. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ce8a875..8f03cba 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ git clone https://github.com/johni0702/mumble-web cd mumble-web npm install ``` -Note that npm should not be ran as root, use an unprivileged user account instead. +Note that npm **must not** be ran as the root user (even in a container) because it will try to do special things which cause the build to fail, use a non-root 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.