2
3

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 googleapisのインストールに失敗する場合

Posted at

失敗箇所を見つけるために、-loglevel verboseオプションをつける
必要なパッケージを見つけ、個別にインストールする
###手順1
npm i --save googleapis -loglevel verbose

###エラー箇所の目星

npm info postinstall request@2.65.0
npm verb unlock done using /...
/

この辺りで止まれば、request@2.65.0をインストールする
###手順2npm i --save パッケージ名 -loglevel verbose`

###手順3
再度、googleapisをインストールする
問題があれば手順2を繰り返す

うちの環境では10個をくらい個別でインストールした
原因は不明

2
3
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
2
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?