php-openapi icon indicating copy to clipboard operation
php-openapi copied to clipboard

Composer dev dependency "nexmo/api-specification" is not found

Open SOHELAHMED7 opened this issue 1 year ago • 1 comments

While running composer install following error is faced:


In Git.php line 478:
                                                                                                                                                                            
  Failed to execute git clone --mirror -- 'https://[email protected]/Nexmo/api-specification.git' '....composer/cache/vcs/https---github.com-Nexmo-ap  
  i-specification/'                                                                                                                                                         
                                                                                                                                                                            
  Cloning into bare repository '....composer/cache/vcs/https---github.com-Nexmo-api-specification'...                                                                   
  remote: Repository not found.                                                                                                                                             
  fatal: repository 'https://github.com/Nexmo/api-specification.git/' not found     

SOHELAHMED7 avatar Sep 14 '24 14:09 SOHELAHMED7

Temporary work-around to this issue and https://github.com/cebe/php-openapi/issues/209 :

  • delete composer.lock file
  • remove apis-guru/openapi-directory and nexmo/api-specification dependencies from composer.json file
  • run composer install

Although 1 test will fail while running phpunit but Composer will process downloading and installing rest of the dependencies.

SOHELAHMED7 avatar Sep 14 '24 14:09 SOHELAHMED7

fixed on master

cebe avatar Nov 14 '24 21:11 cebe