unicodeveloper / laravel-hackathon-starter

:computer: :octocat: A hackathon/MVP boilerplate for laravel web applications. Start your hackathons without hassle.
http://hackathon-starter-staging.herokuapp.com/
MIT License
1.63k stars 298 forks source link

ERROR: Repository not found: MetalMatze/lastfm-api-wrapper #5

Closed Cyrille37 closed 8 years ago

Cyrille37 commented 8 years ago

Hi and thanks for this nice and really time saver piece of code ;-)

The composer install failed on package MetalMatze/lastfm-api-wrapper because "Repository not found":

  - Installing metalmatze/lastfm-api-wrapper (dev-master e331c63)
    Downloading: Connecting...    Failed to download metalmatze/lastfm-api-wrapper from dist: The "https://api.github.com/repos/MetalMatze/lastfm-api-wrapper/zipball/e331c63bcb44017b4fcc1c8c27863ad07bf98ebe" file could not be downloaded (HTTP/1.1 404 Not Found)
    Now trying to download from source
  - Installing metalmatze/lastfm-api-wrapper (dev-master e331c63)
    Cloning e331c63bcb44017b4fcc1c8c27863ad07bf98ebe

  [RuntimeException]                                                                               
  Failed to clone git@github.com:MetalMatze/lastfm-api-wrapper.git via git, https, ssh protocols,  
   aborting.                                                                                       
  - git://github.com/MetalMatze/lastfm-api-wrapper.git                                             
    Cloning into '/home/cyrille/.../laravel-hackathon-starter/vendor/metalmatze/la  
  stfm-api-wrapper'...                                                                 
    fatal: remote error:
      Repository not found.                                                                        
  - https://github.com/MetalMatze/lastfm-api-wrapper.git                                           
    Cloning into '/home/cyrille/.../laravel-hackathon-starter/vendor/metalmatze/la  
  stfm-api-wrapper'...                                                                             
    remote: Invalid username or password.                                                          
    fatal: Authentication failed for 'https://github.com/MetalMatze/lastfm-api-wrapper.git/'       
  - git@github.com:MetalMatze/lastfm-api-wrapper.git                                               
    Cloning into '/home/cyrille/.../laravel-hackathon-starter/vendor/metalmatze/la  
  stfm-api-wrapper'...                                                             
    ERROR: Repository not found.
    fatal: Could not read from remote repository.                                                  

    Please make sure you have the correct access rights                                            
    and the repository exists.                                                                     
unicodeveloper commented 8 years ago

This is as a result of authentication issues with composer and github when you try to install some packages sometimes. It should actually download it but if it doesn't you could comment it out in the require section in the composer.json file so that all the other packages can be downloaded, then you can composer require metalmatze/lastfm-api-wrapper on it's own.

unicodeveloper commented 8 years ago

Please let me know if this technique worked for you @Cyrille37

ghermans commented 8 years ago

@unicodeveloper i had the same issue and indeed removing the "MetalMatze/lastfm-api-wrapper" from the composer.json did the trick.

unicodeveloper commented 8 years ago

Great @ghermans . Thanks for the confirmation.

unicodeveloper commented 8 years ago

Recent update. I have replaced metalmatze/lastfm-api-wrapper with dandelionmood/lastfm package @ghermans @Cyrille37 . So, it's all good now