LoginSignup
3
2

More than 3 years have passed since last update.

npm install で fetchMetadata から進まない

Last updated at Posted at 2020-02-04

背景

  • OSをアップデートした。(Catalina)
  • 新規にパッケージをインストールしようとしてもできなかった。
  • 元からあるプロジェクトのnode_modulesを削除してからの npm install はなぜかできた...?

=> 調べよう。

こんな感じで進まない

qiita.png
ChatBot 作ろうとしてた。
最初は botbuilderのスペル間違えたのかな?とか、もうサポート終わっちゃったのかな?
とか思いましたが違ったようで、

対処法

$ npm config set http://registry.npmjs.org/
$ npm config set strict-ssl false

Windowsは

$ npm config set registry http://registry.npmjs.org/

registryをつけるといけるらしいです。

終わり

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