Code Monkey home page Code Monkey logo

Comments (17)

Ocramius avatar Ocramius commented on June 15, 2024

@alurin did you set "minimum-stability": "dev" ?
Can you paste your current composer.json?

from doctrinemodule.

alurin avatar alurin commented on June 15, 2024

My composer.json:

{
    "minimum-stability": "dev",
    "require": {
        "php": ">=5.4",
        "davedevelopment/phpmig": "*",
        "kriswallsmith/assetic" : "1.0.*",
        "zendframework/zendframework": "dev-master#d6b0afe61149c6d0669743aab5c73285c42cd0db",
        "doctrine/doctrine-orm-module": "dev-master"
    },
    "config": {
        "bin-dir":          "bin/",
        "process-timeout":  700
    },
    "repositories": [

    ]
}

from doctrinemodule.

Ocramius avatar Ocramius commented on June 15, 2024

This is kinda strange, will try locally and let you know

from doctrinemodule.

Ocramius avatar Ocramius commented on June 15, 2024

Indeed, this problem comes from the new tags and aliases in Doctrine ORM/DBAL/Common. I will fix asap.

from doctrinemodule.

Ocramius avatar Ocramius commented on June 15, 2024

Fixed, try again

from doctrinemodule.

alurin avatar alurin commented on June 15, 2024

It's worked. Thank you very much!

from doctrinemodule.

behzadsh avatar behzadsh commented on June 15, 2024

I still have this problem

from doctrinemodule.

Ocramius avatar Ocramius commented on June 15, 2024

@behzadsh can you please paste your composer.json?

from doctrinemodule.

behzadsh avatar behzadsh commented on June 15, 2024

I added minimum-stability and doctrine/doctrine-orm-module to ZendSkeletonApplication composer.json.

Here it is:

{
    "minimum-stability": "dev",
    "name": "zendframework/skeleton-application",
    "description": "Skeleton Application for ZF2",
    "license": "BSD-3-Clause",
    "keywords": [
        "framework",
        "zf2"
    ],
    "homepage": "http://framework.zend.com/",
    "require": {
        "php": ">=5.3.3",
        "zendframework/zendframework": "dev-master#a59928a3a37e420193939f9799ece27fb39bb84e",
        "doctrine/doctrine-orm-module": "dev-master"
    },
    "config": {
        "process-timeout":  9000
    }
}

I deleted the whole folder, cloned to git://github.com/zendframework/ZendSkeletonApplication.git, added parameters I told and it worked fine.
but I don't know why I got this error at first tries

The requested package doctrine/doctrineormmodule dev-master could not be found.

from doctrinemodule.

Ocramius avatar Ocramius commented on June 15, 2024

you probably were using doctrine/DoctrineORMModule, which is not available anymore

from doctrinemodule.

behzadsh avatar behzadsh commented on June 15, 2024

oops sorry :(

from doctrinemodule.

Ocramius avatar Ocramius commented on June 15, 2024

Happens. You probably are using some outdated tutorial...

from doctrinemodule.

jhuet avatar jhuet commented on June 15, 2024

I'm having the same kind of issue but with another dependency error.

The composer.json :

{
    "minimun-stability": "dev",
    "require": {
        "doctrine/doctrine-module": "dev-master"
    }
}

And the error :

Problem 1
  - Installation request for doctrine/doctrine-module dev-master -> satisfiable by doctrine/doctrine-module dev-master.
  - doctrine/doctrine-module dev-master requires doctrine/data-fixtures dev-master -> no matching package found.

Wich is weird as there is a branch dev-master for doctrine/data-fixtures even on Packagist.

Any clue ?

from doctrinemodule.

Ocramius avatar Ocramius commented on June 15, 2024

Take a better look, you have a typo. Pro tip: use

./composer.phar validate

from doctrinemodule.

jhuet avatar jhuet commented on June 15, 2024

Did i miss something or ?

$ composer validate
./composer.json is valid for simple usage with composer but has
strict errors that make it unable to be published as a package:
See http://getcomposer.org/doc/04-schema.md for details on the schema
Publish Error: name : is missing and it is required
Publish Error: description : is missing and it is required
Publish Error: The property minimun-stability is not defined and the definition does not allow additional properties
No license specified, it is recommended to do so

from doctrinemodule.

Ocramius avatar Ocramius commented on June 15, 2024

Well, minimun-stability ;) It's minimum-stability

from doctrinemodule.

jhuet avatar jhuet commented on June 15, 2024

Ouch ! My EYES ! Sorry about that ! :D

from doctrinemodule.

Related Issues (20)

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.