Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

justindantzer's avatar

Failed to download laravel/nova from dist

Ran into the MorphTo/searchable/readonly issue noted here, and attempted to update Nova to v3.31 for the fix. I tried simply composer update but am stuck at v3.30. After trying composer require "laravel/nova:^3.31", i get a warning:

Failed to download laravel/nova from dist: The "https://api.github.com/repos/laravel/nova/zipball/764f1beae..." file could not be downloaded

In addition to the noted warning, there is also a similar error message:

Failed to execute git clone --mirror -- 'https://[email protected]/laravel/nova.git' '/myLocalFolder/composer/vcs/git-github.com-laravel-nova.git/

Cloning into bare repository '/myLocalFolder/composer/vcs/git-github.com-laravel-nova.git'...
remote: Repository not found. 

The list of packages to be updated shows dev-master where I'd expect to see 3.31.0:

Upgrading laravel/nova (3.30.0 => dev-master 764f1be)

Unsure if this is indicating the Nova license has expired, or some other issue. I am able to download the 3.31 version manually from the Nova site, if that is any indication of license state.

I would assume I would see the traditional package conflict composer messages if that were the issue, which has not yet been the case.

Any insight would be greatly appreciated.

php 7.4.26
laravel 8
0 likes
3 replies
justindantzer's avatar

@wingly I sure am and I sure do. This is an existing app in which I'm trying to update an existing Nova installation

Bradley James Ahrens's avatar

I had the same issue and noticed that I didn't have the auth.json file in the root of the program. Once I added this file, I was able to run composer install on the server. Give this a shot

Please or to participate in this conversation.