saya tidak bisa npm install di windows

npm : The term 'npm' is not recognized as the name of a cmdlet, function, script file, or operable program. Check th
e spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
npm install
~~~
    + CategoryInfo          : ObjectNotFound: (npm:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException
avatar tedi_google
@tedi_google

1 Kontribusi 0 Poin

Diperbarui 3 tahun yang lalu

2 Jawaban:

<div>sudah install npm nya? kalau sudah biasnya harus set environment variable / path ke npm nya.<br><br>kalau develop laravel lebih enak pake homestead menurut saya sih gak ribet semua udah tersedia composer npm yarn dll</div>

avatar nurqomari
@nurqomari

1 Kontribusi 0 Poin

Dipost 3 tahun yang lalu

<div>- uninstall dulu node/npm nya sampai bersih.<br><br>- pada saat install kembali nodejsnya custom install, click Add To PATH terus Pilih Will be installed on local hard drive.<br><br>- buka Control Panel -&gt; User Accounts -&gt; Change my environmental variable terus edit, tambahkan salah satu “C:\Program Files (x86)\nodejs” atau “C:\Program Files \nodejs “. (jangan di system variables editnya)<br><br>- setelah itu check npm -v, node -v dan install "npm i g express"</div>

avatar lionkip
@lionkip

64 Kontribusi 49 Poin

Dipost 3 tahun yang lalu

Login untuk ikut Jawaban