I just purchase a new Laravel nova 4 license and try to install it via composer
so I put the Laravel nova account credentials to the auth.json file and run Composer update
I get this
**********************************************
Invalid username/password combination given.
**********************************************
Failed to download Laravel/nova from dist: Invalid credentials for 'https://nova.laravel.com/dist/laravel/nova/laravel-nova-*******f.zip', aborting. Now trying to download from the source
and then ask me to get a Github access token so I create a new one
now I get this
Failed to execute git clone --mirror 'https://MY-GITHUB-ACCESS-TOKEM:***@github.com/laravel/nova.git'
'/Users/mohammed/.composer/cache/vcs/git-github.com-laravel-nova.git/'
@Donny5300, Its not in documentation, but you have to use the token like password when prompted to after the composer update command. If you dont do that, will get the message:
******************************************************************************
Unable to find Nova (Silver Surfer) license holder with the given license key.
******************************************************************************
Failed to download laravel/nova from dist: Invalid credentials for 'https://nova.laravel.com/dist/laravel/nova/laravel-nova-2d5a07d0ec51ffd7b6a2a6a91736313afec619b0-zip-721fae.zip', aborting.
Now trying to download from source
and will be prompted to enter your GitHub token, but gonna not work.
I run into the same issue, PLEASE in order to solve this do the following:
As David told me if the project is a fresh project this might not have an auth file so you have to create it first
FIRST RUN THIS CODE
composer config http-basic.nova.laravel.com [email protected] your-license-key
// note that you got to replace with your email and also with the license key