I am trying to deploy a laravel nova application using digitalocean apps. I have added the nova username (email used to register on nova.laravel.com) and the nova password (nova license token) as app level environment variable.
When the build runs I get the following error below
Warning from nova.laravel.com:
[2022-07-21 11:43:25]
[2022-07-21 11:43:25] ***************************************************
[2022-07-21 11:43:25] Unable to find user with the given email address: .
[2022-07-21 11:43:25] ***************************************************
[2022-07-21 11:43:25] Failed to download laravel/nova from dist: The 'https://nova.laravel.com/dist/laravel/nova/laravel-nova-f33003b1991491165e8822680e9a827f33c279c5-zip-383f38.zip' URL could not be accessed (HTTP 403): HTTP/2 403
[2022-07-21 11:43:25] Now trying to download from source
[2022-07-21 11:43:25] - Syncing laravel/nova (4.2.1) into cache
[2022-07-21 11:43:27]
[2022-07-21 11:43:27] In Git.php line 484:
[2022-07-21 11:43:27]
[2022-07-21 11:43:27] Failed to execute git clone --mirror -- 'git@github.com:laravel/nova.git' '
[2022-07-21 11:43:27] /layers/heroku_php/shim/php/.composer/cache/vcs/git-github.com-laravel-nova
[2022-07-21 11:43:27] .git/'
What can I do to fix this?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi there,
I believe that what you could do in order to avoid manually typing these credentials, you may create a Composer auth.json file while using your license key in place of your password:
composer config http-basic.nova.laravel.com your-nova-account-email@your-domain.com your-license-key
That way the installation on the App platform will be able to use the auth.json file to install the package.
Let me know how it goes.
Best,
Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.