From 73465b1ff0f0a4517873f4a4e2d217f311772da8 Mon Sep 17 00:00:00 2001 From: Luca Ban Date: Sun, 25 Jul 2021 06:32:12 +0900 Subject: [PATCH] fix: #679 (#680) --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 79269fb..49fd7b0 100644 --- a/README.md +++ b/README.md @@ -44,6 +44,8 @@ To avoid requiring `sudo` for `n` and `npm` global installs, it is suggested you # make cache folder (if missing) and take ownership sudo mkdir -p /usr/local/n sudo chown -R $(whoami) /usr/local/n + # make sure the required folders exist (safe to execute even if they already exist) + sudo mkdir -p /usr/local/bin /usr/local/lib /usr/local/include /usr/local/share # take ownership of Node.js install destination folders sudo chown -R $(whoami) /usr/local/bin /usr/local/lib /usr/local/include /usr/local/share