1
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?

Windowsでnext devが実行できない時の事前設定

Posted at

外部リポジトリクローン後(git clone)、起動までに以下のエラーでハマってしまったので
忘れないうちに。

C:>yarn dev
yarn run v1.22.21
$ next dev
'next' は、内部コマンドまたは外部コマンド、
操作可能なプログラムまたはバッチ ファイルとして認識されていません。
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

公式サイトを参考に以下のコマンドを実行し起動が出来ました。
https://nextjs.org/docs/getting-started/installation

npm install next@latest react@latest react-dom@latest

必要コンポーネントが不足していたかなと。
宜しければご参考に!

1
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
1
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?