How to deploy a laravel nova app using digitalocean apps

I am trying to deploy a laravel nova application using digitalocean apps. I have added the nova username (email used to register on and the nova password (nova license token) as app level environment variable.

When the build runs I get the following error below

Warning from 
[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 '' 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 -- '' '  
[2022-07-21 11:43:27]          /layers/heroku_php/shim/php/.composer/cache/vcs/  
[2022-07-21 11:43:27]          .git/'

What can I do to fix this?

Submit an answer
Answer a question...

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!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Bobby Iliev
Site Moderator
Site Moderator badge
August 28, 2022

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 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.