I have created a new project with
laravel new blogposts
using \"Laravel Installer 2.0.1\" globally installed on my ubuntu 18.
Wh
Same issue with Laravel 5.5.40 or higher. So you need to specify the version of the passport like this;
composer require paragonie/random_compat:2.* composer require laravel/passport=~4.0