npm install -g モジュール名でモジュールをインストールしようとしたら、
npm ERR! Error: ENOENT, lstat
とエラーがでるようになった。
どうやらキャッシュが原因のようで、npmのキャッシュをクリアすれば良いとのこと。
npm cache clean
キャッシュクリア後、再度インストールを試みたら問題なくインストールできた。
ふー
Go to list of users who liked
Share on X(Twitter)
Share on Facebook
More than 5 years have passed since last update.
npm install -g モジュール名でモジュールをインストールしようとしたら、
npm ERR! Error: ENOENT, lstat
とエラーがでるようになった。
どうやらキャッシュが原因のようで、npmのキャッシュをクリアすれば良いとのこと。
npm cache clean
キャッシュクリア後、再度インストールを試みたら問題なくインストールできた。
ふー
Register as a new user and use Qiita more conveniently
Go to list of users who liked