5
4

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 3 years have passed since last update.

npm WARN npm npm does not support Node.js vXX.X.X と出る場合の対処法

Posted at

npm WARN npm npm does not support Node.js vXX.X.X と出る場合の対処法

npm installしたときに以下のように出る場合の対処法

>npm i
npm WARN npm npm does not support Node.js v14.6.0
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 6, 8, 9, 10, 11, 12.    
npm WARN npm You can find the latest version at https://nodejs.org/
...

メッセージそのままの問題が起きていて、node.jsとnpmのバージョンが合っていない。

合っているバージョンの確認方法

nodejsのバージョン確認

node -v

npmのバージョン確認

npm -v

nodejsとnpmのバージョンがそれぞれわかったら下のサイトを参照し、
nodejsのバージョンとnpmのバージョンの対応関係を確認し、
正しいバージョンの組み合わせに修正すれば解決する。

リリース一覧 | Node.js
https://nodejs.org/ja/download/releases/

image.png

5
4
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
5
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?