0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Next.js requires react >= 18.2.0 to be installed.

Posted at

問題点

Next.js14で作成したアプリをVercelにデプロイする際に「Next.js requires react >= 18.2.0 to be installed.」と出力され、失敗してしまいました。

対応

package.json ファイルを更新するだけでした。
Next.js13以降はReactの最小バージョンは18.2.0になっているようです。

"react": "^18",
"react-dom": "^18"
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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?