File tree Expand file tree Collapse file tree 3 files changed +3
-0
lines changed Expand file tree Collapse file tree 3 files changed +3
-0
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments