vova07 / yii2-users-module

This module provide a users managing system for your yii2 application.
24 stars 15 forks source link

Can't install with composer #13

Open samirmember opened 9 years ago

samirmember commented 9 years ago

Hi, I have an issue when I use composer to install the module. Here is the message:

...
Reading bower.json of bower-asset/icheck (1.0.2)
Reading bower.json of bower-asset/icheck (1.0.1)
  - Installing vova07/yii2-control-widget (0.1.0)
    Downloading: connection...    Downloading: 100%

  - Installing vova07/yii2-rbac-module (0.1.0)
    Downloading: connection...    Downloading: 0%
    Downloading: 100%
    Invalid zip file, retrying...
  - Installing vova07/yii2-rbac-module (0.1.0)
    Downloading: connection...    Downloading: 0%
    Downloading: 100%
    Invalid zip file, retrying...
  - Installing vova07/yii2-rbac-module (0.1.0)
    Downloading: connection...    Downloading: 0%
    Downloading: 100%
    Failed to download vova07/yii2-rbac-module from dist: 'D:\wamp\www\eligue\ve
ndor/vova07/yii2-rbac-module/29c84b8e566aa6a782c61dbc687e3c76' is not a zip arch
ive.
    Now trying to download from source
  - Installing vova07/yii2-rbac-module (0.1.0)
    Cloning 11dc36ee0ad97f3265c52d938d57f5d57e9ffa1f

  [RuntimeException]
  Failed to clone git@github.com:vova07/yii2-start-rbac-module.git, git was n
  ot found, check that it is installed and in your PATH env.
  'git' n'est pas reconnu en tant que commande interne
  ou externe, un programme exécutable ou un fichier de commandes.

require [--dev] [--prefer-source] [--prefer-dist] [--no-progress] [--no-update]
[--update-no-dev] [--update-with-dependencies] [--ignore-platform-reqs] [--sort-
packages] [packages1] ... [packagesN]

Any solution please?

vova07 commented 9 years ago

Hi @samirmember, In this weekend I'll try to solve the problem. Thanks for report.

samirmember commented 9 years ago

OK thanks. Just let us know when it's done.

Thanks again.

jmn3390 commented 9 years ago

Invalid zip file, retrying...

jayeshbl commented 9 years ago

Hi, facing the same problem Installing vova07/yii2-rbac-module (0.1.0) still have error

Failed to download vova07/yii2-rbac-module from dist: '/var/www/domainerror/vendor/vova07/yii2-rbac-module/adff590a9d1a530fff1456d9ff5151fc' is not a zip archive. Now trying to download from source

[RuntimeException] Failed to execute git checkout '11dc36ee0ad97f3265c52d938d57f5d57e9ffa1f' -- && git reset --hard '11dc36ee0ad97f3265c52d938d57f5d57e9ffa1f' fatal: reference is not a tree: 11dc36ee0ad97f3265c52d938d57f5d57e9ffa1f

pitonn commented 9 years ago

Hi, I have the same error

Tpona commented 9 years ago

Привет, Вова! i have same problem, try install rbac & user modules and get same error:

D:!Dev\Web\project.ru\www>composer require --prefer-dist vova07/yii2-users -module "*" ./composer.json has been updated Loading composer repositories with package information Updating dependencies (including require-dev)

BrSlava commented 9 years ago

Add to composer.json:

"repositories":[ { "type": "git", "url": "https://github.com/vova07/yii2-users-module", "url": "https://github.com/vova07/yii2-rbac-module" } ]