LaravelDaily/Laravel-Vue-First-CRUD

401 Unauthorized

Closed this issue · 4 comments

I got the same error like this:

#12 (comment)_

But

composer update

dont solve it

Any idea?

This is my Vue console:

https://prnt.sc/re5wu6

Hey @jjmontalban
That's weird! can you remove vendor folder and run composer update, then send me the last lines of the result.

Also try removing browser data and run these commands

sudo rm -rf storage/framework/cache/data/*
sudo rm -rf bootstrap/cache/*
composer dump-autoload
php artisan clear
php artisan debugbar:clear
php artisan cache:clear
php artisan auth:clear-resets
php artisan config:clear
php artisan route:clear
php artisan view:clear
php artisan config:cache

I think something is wrong with composer, can you remove vendor folder and run composer update, then send me the last lines of the result.

Why you do not have - Installing laravel/passport (v7.5.1): Loading from cache!
remove composer.lock file
run git checkout composer.json or download and replace it (https://github.com/LaravelDaily/Laravel-Vue-First-CRUD/blob/master/composer.json)
run composer update

Need I insert client secret in any site?

No not at all

I really don't know, just some wild guess!
maybe you should run
npm install
npm run dev
again after composer update