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

Synchro's avatar

Trouble installing Nova 4 - repository not found

I'm upgrading from Nova 3 to 4. I have added the repo and updated the nova package version in composer.json, and set my email and key in auth.json, but when I do composer update --prefer-dist, I get this error:

Installing dependencies from lock file (including require-dev)
Package operations: 7 installs, 19 updates, 3 removals
    Failed to download laravel/nova from dist: /Users/marcus/Sites/myproject/vendor/laravel/nova does not exist and could not be created.
    Now trying to download from source
  - Syncing laravel/nova (4.11.1) into cache

In Git.php line 484:
                                                                                                                                                                                      
  Failed to execute git clone --mirror -- 'https://ghp...7GE:[email protected]/laravel/nova.git' '/Users/marcus/Library/Caches/composer/vcs/git-github.com-laravel-nova.git/'  
                                                                                                                                                                                      
  Cloning into bare repository '/Users/marcus/Library/Caches/composer/vcs/git-github.com-laravel-nova.git'...                                                                         
  remote: Repository not found.                                                                                                                                                       
  fatal: repository 'https://github.com/laravel/nova.git/' not found                                                                                                                  

If I try without an auth.json present it doesn't ask me for credentials, which the docs say it should. Any ideas why it's failing to install?

0 likes
3 replies
Synchro's avatar

@martinbean I've done that too, following the upgrade guide, but it still fails the same way

Synchro's avatar
Synchro
OP
Best Answer
Level 2

I eventually solved this by deleting my vendor folder and reinstalling.

1 like

Please or to participate in this conversation.