LaravelDaily / Laravel-Vue-First-CRUD

Simple demo project for Laravel 5.5 and Vue.js with one CRUD operation.
257 stars 156 forks source link

401 Unauthorized #17

Closed jjmontalban closed 1 year ago

jjmontalban commented 4 years ago

I got the same error like this:

https://github.com/LaravelDaily/Laravel-Vue-First-CRUD/issues/12#issuecomment-492598787_

But

composer update

dont solve it

Any idea?

This is my Vue console:

https://prnt.sc/re5wu6

Daniyal-Javani commented 4 years ago

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
Daniyal-Javani commented 4 years ago

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.

Daniyal-Javani commented 4 years ago

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

Daniyal-Javani commented 4 years ago

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