esserj / RbacUserDoctrineOrm

[Deprecated] joins the zfc-rbac and zfc-user modules together in a doctrine orm module
7 stars 10 forks source link

Composer.json error #7

Closed jmfiaschi closed 10 years ago

jmfiaschi commented 10 years ago

Hi,

if i add this line in my composer.json

"esserj/rbac-user-doctrine-orm" : "dev-master"

I have this error

Your requirements could not be resolved to an installable set of packages.
  Problem 1
    - Can only install one of: doctrine/doctrine-orm-module[dev-master, 0.7.0].
    - Can only install one of: doctrine/doctrine-orm-module[0.7.0, dev-master].
    - esserj/rbac-user-doctrine-orm dev-master requires doctrine/doctrine-orm-module 0.7.* -> satisfiable by doctrine/doctrine-orm-module[0.7.0].
    - Installation request for esserj/rbac-user-doctrine-orm dev-master -> satisfiable by esserj/rbac-user-doctrine-orm[dev-master].
    - Installation request for doctrine/doctrine-orm-module dev-master -> satisfiable by doctrine/doctrine-orm-module[dev-master].

If i add this line

"esserj/zfc-rbac-user-doctrine-orm": "dev-master"

I have this error

Your requirements could not be resolved to an installable set of packages.
  Problem 1
    - The requested package esserj/zfc-rbac-user-doctrine-orm could not be found in any version, there may be a typo in the package name......

Can you help me ? Do i need to wait the update of zfc-rbac-user-doctrine-orm ?

esserj commented 10 years ago

It seems like you require a higher version of doctrine than i support at the moment, i need 0.7 Either due to another module that requires it or your own definition, if you post your composer.json i'll be happy to have a look

esserj commented 10 years ago

There is no zfc version, i have posted an rfc on the zfc-common pages but nothing has happened yet

jmfiaschi commented 10 years ago

Hi,

yes i use the higher version

"require" : {
        "neilime/zf2-twb-bundle" : "dev-master",
        "doctrine/doctrine-orm-module" : "dev-master",
        "zf-commons/zfc-rbac" : "dev-master",
        "doctrine/doctrine-module" : "dev-master",
        "symfony/yaml" : "dev-master",
        "zf-commons/zfc-user" : "dev-master",
        "danielss89/zfc-user-admin" : "dev-master",
        "zendframework/zendframework" : "2.*",
        "zendframework/zend-developer-tools" : "dev-master",
        "zf-commons/zfc-base" : "0.*",
        "php" : ">=5.3.3",
        "doctrine/common" : "2.4.*",
        "zf-commons/zfc-user-doctrine-orm" : "dev-master"
    }

I'll try with your version. thanks

Eway commented 10 years ago

Hi, I get this output when I try running the require command:

$ composer require esserj/zfc-rbac-user-doctrine-orm:dev-master [08.02.2014 14:33:10 NOTICE] Successfully established connection to the database

[08.02.2014 14:33:10 NOTICE] Event Reporting is not allowed at the moment. Reaso ns: Pre Startup or Post Shutdown ./composer.json has been updated Loading composer repositories with package information Updating dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages.

Problem 1

Potential causes:

Read http://getcomposer.org/doc/articles/troubleshooting.md for further common problems.

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