i'm trying to install react js on laravel, but when I tried input command "php artisan ui react" it's became error like on the image, have any idea for this case ? thank's
2 Answers
As per laravel requirement for reactjs. You should have to install UI package from composser.
https://laravel.com/docs/7.x/frontend
composer require laravel/ui
after that
php artisan ui react for generating the basic scaffolding.

composer require laravel/uiin your project first?