Closed 0xd5dc closed 7 years ago
@summermick Seems to me the problem is this command here "php artisan asset:publish vendor/package" there is no artisan command like that unless of course this was manually created. If you check your composer.json under scripts removing that command and trying again should help.
I think you mean vendor:publish
:
php artisan vendor:publish --tag=passport-components
There's no asset:publish command in laravel.
I'm having this same issue with fresh Laravel 5.4 install. PHP 7. DigitalOcean server Ubuntu 16.04. Even reset the vendor items, cleared all laravel caches and composer cache.
php artisan passport:install
[Symfony\Component\Console\Exception\CommandNotFoundException]
There are no commands defined in the "passport" namespace.
@newelement Did you forget to add the service provider to app.php
I am using laravel5.3 and tried
composer require laravel/passport