Skip to content

Commit 66a7d12

Browse files
docs(developing): tip for changing node_modules permissions (#2950)
Co-authored-by: Utku Demir <[email protected]>
1 parent 8585a9f commit 66a7d12

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

docs/developing/tips.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ Change the owner of npm's directories to the current user:
6969

7070
```shell
7171
$ sudo chown -R $(whoami) /usr/local/{lib/node_modules,bin,share}
72+
$ sudo chown -R $(whoami) /usr/lib/node_modules
7273
$ sudo chown -R $(whoami) ~/.npm ~/.npmrc
7374
```
7475

versioned_docs/version-v5/developing/tips.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ Change the owner of npm's directories to the current user:
5959

6060
```shell
6161
$ sudo chown -R $(whoami) /usr/local/{lib/node_modules,bin,share}
62+
$ sudo chown -R $(whoami) /usr/lib/node_modules
6263
$ sudo chown -R $(whoami) ~/.npm ~/.npmrc
6364
```
6465

versioned_docs/version-v6/developing/tips.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ Change the owner of npm's directories to the current user:
6969

7070
```shell
7171
$ sudo chown -R $(whoami) /usr/local/{lib/node_modules,bin,share}
72+
$ sudo chown -R $(whoami) /usr/lib/node_modules
7273
$ sudo chown -R $(whoami) ~/.npm ~/.npmrc
7374
```
7475

0 commit comments

Comments
 (0)