thecodingmachine / mouf

The Mouf PHP framework: an open-source PHP framework providing an easy way to download, install, use and reuse components, with a graphical user interface.
MIT License
54 stars 28 forks source link

Error on fresh install: No lockfile found. Unable to read locked packages #102

Closed postalservice14 closed 9 years ago

postalservice14 commented 9 years ago

I get this error with a blank project.

composer.json

{
    "autoload" : {
        "psr-4" : {
            "MyNamespace\\" : "src/"
        }
    },
    "require": {
        "mouf/mouf": "~2.1"
    },
    "minimum-stability": "dev"
}

See full verbose output here: https://gist.github.com/postalservice14/f4689b3820895e217c55

moufmouf commented 9 years ago

Hi John!

Mouf 2.1 is completely in development and really broken now. We have a problem on Mouf website because we should display the doc of Mouf 2.0 first.

Please try this instead:

{
    "autoload" : {
        "psr-4" : {
            "MyNamespace\\" : "src/"
        }
    },
    "require": {
        "mouf/mouf": "~2.0.0"
    }
}

It should definitely work better. Let me know if you face any problems :)