Zookal / HarrisStreet-ImpEx

Magento n98-magerun module for importing and exporting configuration data. Import supports hierarchical folder structure and of course different environments.
62 stars 14 forks source link

Unable to use composer to update n98-magerun, package cannot be found. #1

Closed jonathanvaughn closed 10 years ago

jonathanvaughn commented 10 years ago

When we added this to the require section of composer.json, we get the following error:

The requested package zookal/harris-street-impex could not be found in any version, there may be a typo in the package name.

It appears the package isn't actually available for composer?

SchumacherFM commented 10 years ago

Ups ... it is not yet listed on packages.firegento.com therefore you have to add to your main composer.json file:

    "repositories": [
        {
            "type": "vcs",
            "url": "git@github.com:Zookal/HarrisStreet-ImpEx.git"
        }
    ]
jonathanvaughn commented 10 years ago

Just FYI so you can update documentation :D

Had this error, but fixed it.

  Problem 1
    - Installation request for zookal/harris-street-impex dev-master -> satisfiable by zookal/harris-street-impex[dev-master].
    - zookal/harris-street-impex dev-master requires magento-hackathon/magento-composer-installer * -> no matching package found.

I was able to fix this by adding the following to my require section:

"magento-hackathon/magento-composer-installer":"*"
SchumacherFM commented 10 years ago

The composer-installer is already mentioned in the require section (https://github.com/Zookal/HarrisStreet-ImpEx/blob/master/composer.json#L13) .... hmm strange ...

I've also created a PR for packages.firegento.com https://github.com/magento-hackathon/composer-repository/pull/77 so once it is merge you can remove the github url in the repositories section.