0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

【npm】brewでパッケージをインストールするときにnode_modules関係でPermission deniedされた時の対処法

Posted at

概要

Homebrewでパッケージをインストールする時に,node_modules関係でPermission deniedされて悲しい思いをしている人に向けた記事

現象

node_modules以下のファイルを変更する権限が無いと言われて,パッケージのインストールができない.
スクリーンショット 2019-06-12 20.00.04.png

対策

Permission deniedされたnode_modulesの権限を775(所有者とグループに読み込み+書き込み+実行権限を付与)に変更する.

chmod 775 /usr/local/lib/node_modules

Happy Hacking :sunglasses: !

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?