Postingan lainnya
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
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>
<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 -> User Accounts -> 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>