Giter Site home page Giter Site logo

Comments (3)

yiigenius avatar yiigenius commented on July 29, 2024

Такая же проблема. Она же и в соседнем issue.
Устанавливал vova07/yii2-users-module(зависит от vova07/yii2-rbac-module) и она нормально установилось(где-то в начале 2015г(еще была yii 2.0.2 или 2.0.3).
А сейчас(20 мая 2016) понадобилось сделать "composer update" (т.к. уже Yii стал 2.0.8) и процесс обновления вываливается с этой ошибкой.
Полный лог для "composer require --prefer-dist vova07/yii2-rbac-module "*":

Loading composer repositories with package information
Updating dependencies (including require-dev)
  - Installing vova07/yii2-control-widget (0.1.0)
    Loading from cache

  - Installing vova07/yii2-rbac-module (0.1.0)
    Downloading: Failed
    Failed to download vova07/yii2-rbac-module from dist: The "https://api.githu
b.com/repos/vova07/yii2-start-rbac-module/zipball/11dc36ee0ad97f3265c52d938d57f5
d57e9ffa1f" file could not be downloaded (HTTP/1.1 302 Found)
    Now trying to download from source
  - Installing vova07/yii2-rbac-module (0.1.0)
    Cloning 11dc36ee0ad97f3265c52d938d57f5d57e9ffa1f
    11dc36ee0ad97f3265c52d938d57f5d57e9ffa1f is gone (history was rewritten?)

Installation failed, reverting ./composer.json to its original content.


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

from yii2-rbac-module.

yiigenius avatar yiigenius commented on July 29, 2024

Решено(Solved):
Нужно явно указать репозитории в composer.json (Add to composer.json) :

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

Спасибо (Thanks) https://github.com/BrSlava 👍
vova07/yii2-users-module#13 (comment)

from yii2-rbac-module.

Yura1976 avatar Yura1976 commented on July 29, 2024

Указал как написал yiigenius. Ошибка
Key url is a duplicate in ./composer.json at line 48
Написал так:
{ "type": "git", "url": "https://github.com/vova07/yii2-users-module" }, { "type": "git", "url": "https://github.com/vova07/yii2-rbac-module" }
Ничего не установилось
Nothing to install, update or remove Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested. Generating autoload files

from yii2-rbac-module.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.