業界トップクラスの求人数を誇る転職エージェントPR

リクルートグループのコネクションを活かした非公開求人も充実、他にはない好条件の求人と出会える

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

Qiita Conference 2025 will be held!: 4/23(wed) - 4/25(Fri)

Qiita Conference is the largest tech conference in Qiita!

Keynote Speaker

ymrl、Masanobu Naruse, Takeshi Kano, Junichi Ito, uhyo, Hiroshi Tokumaru, MinoDriven, Minorun, Hiroyuki Sakuraba, tenntenn, drken, konifar

View event details
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?