avored / laravel-ecommerce

AvoRed an Open Source Laravel Shopping Cart
https://avored.com
1.51k stars 549 forks source link

Installation using composer fails #32

Closed agsotelo closed 7 years ago

agsotelo commented 7 years ago

Hello, I was trying to install using composer command but it's thrown me a RuntimeException

$ composer create-project mage2/laravel-ecommerce --stability=dev
Installing mage2/laravel-ecommerce (dev-master 2f8202896f2de22f2de3f11bc0518c1a1d87273c)
  - Installing mage2/laravel-ecommerce (dev-master master): Cloning master
    Failed to download mage2/laravel-ecommerce from source: The process "git clone --no-checkout 'https://github.com/mage2/laravel-ecommerce.git' '/home/vagrant/Code/dev-packages/laravel/laravel-ecommerce/' && cd '/home/vagrant/Code/dev-packages/laravel/laravel-ecommerce/' && git remote add composer 'https://github.com/mage2/laravel-ecommerce.git' && git fetch composer" exceeded the timeout of 300 seconds.
    Now trying to download from dist
  - Installing mage2/laravel-ecommerce (dev-master master):

  [RuntimeException]
  Could not delete /home/vagrant/Code/dev-packages/laravel/laravel-ecommerce//.git/objects/pack/tmp_pack_cZfWVe:

create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--repository REPOSITORY] [--repository-url REPOSITORY-URL] [--dev] [--no-dev] [--no-custom-installers] [--no-scripts] [--no-progress] [--no-secure-http] [--keep-vcs] [--no-install] [--ignore-platform-reqs] [--] [<package>] [<directory>] [<version>]

$ 

I have a Homestead installation that runs on a Vagrant (using the virtualbox driver) on Windows. Any help will be appreciated, thanks in advance

AugustoSL

indpurvesh commented 7 years ago

@agsotelo I just install on using my Wamp Server and Composer installation on Windows everything is working fine. By reading error text it seems like it just a time out issue on composer but i think it has nothing to do with Repository so i am sure if you try to install again it should all good to go.