diff --git a/docs/developing/tips.md b/docs/developing/tips.md index 1b115a3644a..2adf19ea58d 100644 --- a/docs/developing/tips.md +++ b/docs/developing/tips.md @@ -69,6 +69,7 @@ Change the owner of npm's directories to the current user: ```shell $ sudo chown -R $(whoami) /usr/local/{lib/node_modules,bin,share} +$ sudo chown -R $(whoami) /usr/lib/node_modules $ sudo chown -R $(whoami) ~/.npm ~/.npmrc ``` diff --git a/versioned_docs/version-v5/developing/tips.md b/versioned_docs/version-v5/developing/tips.md index d854de40bea..f5155db1faf 100644 --- a/versioned_docs/version-v5/developing/tips.md +++ b/versioned_docs/version-v5/developing/tips.md @@ -59,6 +59,7 @@ Change the owner of npm's directories to the current user: ```shell $ sudo chown -R $(whoami) /usr/local/{lib/node_modules,bin,share} +$ sudo chown -R $(whoami) /usr/lib/node_modules $ sudo chown -R $(whoami) ~/.npm ~/.npmrc ``` diff --git a/versioned_docs/version-v6/developing/tips.md b/versioned_docs/version-v6/developing/tips.md index 1b115a3644a..2adf19ea58d 100644 --- a/versioned_docs/version-v6/developing/tips.md +++ b/versioned_docs/version-v6/developing/tips.md @@ -69,6 +69,7 @@ Change the owner of npm's directories to the current user: ```shell $ sudo chown -R $(whoami) /usr/local/{lib/node_modules,bin,share} +$ sudo chown -R $(whoami) /usr/lib/node_modules $ sudo chown -R $(whoami) ~/.npm ~/.npmrc ```