0
1

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 1 year has passed since last update.

[React] npm command not found エラー

Last updated at Posted at 2023-07-11

npm command not found エラー



npm 関連命令語を実行しました。

npm start



しかし次のようなエラーメッセージが出ました。
この問題を解決するためにはいくつか設定をしなければならないです。
1.png




まず環境変数編集に入ります。
二つ目はダメです。
10.png

6.png

3.png




自分のパソコン名前はCドライバーでユーザーに入ったら分かります。

C:\Users\自分のパソコン名前\AppData\Roaming\npm

4.png

7.png

C:\Program Files\nodejs\

8.png

これで解決できます!

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?