npm run dev npm : File C:\Program Files\nodejs\npm.ps1 cannot be loaded because running scripts is disabled on this system.
✅ Cara 1 (Paling Recommended) — PowerShell
Buka PowerShell sebagai Administrator.
Lalu jalankan:
Set-ExecutionPolicy -Scope CurrentUser RemoteSignedNanti muncul pertanyaan:
Do you want to change the execution policy?
[Y] Yes [A] Yes to All [N] NoKetik:
YLalu Enter.
Coba lagi
Tutup PowerShell, buka lagi.
Masuk ke project:
cd "D:\app web\multicom-v2"Jalankan:
npm run devHarusnya keluar seperti ini:
VITE v7.x.x ready in 500 ms
➜ Local: http://localhost:5173/Mantap.
0 Response to "error saat jalankan npm run dev di windows 10 atau 11 - project laravel"
Post a Comment