LoginSignup
0
0

More than 5 years have passed since last update.

npm installで何も表示されないままの時の対策

Posted at

概要

npm installを行なったところそのあと何も表示されずに
ずっとそのままという事態に陥ったのでその際の対策。

環境

  • MacOS Sierra 10.12.6
  • nodejs v7.0.0
  • npm v3.10.8

対策

ターミナルで以下のコマンドを打ち、そのあとにnpm installを行なったところうまくいった。

$ npm update -g npm

↑上記コマンドはnpm自体のupdateを行うコマンド。

原因

どうやらnpmのバージョンが古かったために起こった現象の模様。
npmがアップデートされる前は、3.10.8だったがupdate後は
5.3.0だった。初歩的なミス。

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