Jika teman-teman pernah mendapatkan error seperti berikut 'mix' is not recognized as an internal or external command
saat menjalankan perintah npm run dev
di dalam Laravel ?
> @ dev C:\XAMPP\htdocs\santrikoding
> npm run development
> @ development C:\XAMPP\htdocs\santrikoding
> mix
'mix' is not recognized as an internal or external command, operable
program or batch file. npm ERR! code ELIFECYCLE npm ERR! errno 1 npm
ERR! @ development: `mix` npm ERR! Exit status 1 npm ERR! npm ERR!
Failed at the @ development script. npm ERR! This is probably not a
problem with npm. There is likely additional logging output above.
Maka berikut ini cara yang bisa teman-teman coba.
Terima Kasih
Laravel