PropelLaravel icon indicating copy to clipboard operation
PropelLaravel copied to clipboard

Installation not working

Open chinookproject opened this issue 9 years ago • 3 comments

I'm trying to install propel-laravel through composer in my Laravel 5.2.* framework, but it's not working for me.

First of all I tried to do what the documentation said, editting my composer.json like so:

"config": {
    "preferred-install": "dist"
},
"minimum-stability": "alpha"

But when I do a: composer require propel/propel-laravel it seems that it can't find the package. I have to do this in order to install propel-laravel:

composer require propel/propel-laravel:~2.0.0-alpha5

Now it's able to download the package, but I'm getting the following error during the installation:

  Problem 1
    - Installation request for propel/propel ~2.0.0-alpha5 -> satisfiable by propel/propel[2.0.0-alpha5].
    - Conclusion: remove symfony/finder v3.0.4
    - Conclusion: don't install symfony/finder v3.0.4
    - propel/propel 2.0.0-alpha5 requires symfony/finder ~2.3 -> satisfiable by
symfony/finder[v2.3.0, v2.3.1, v2.3.10, v2.3.11, v2.3.12, v2.3.13, v2.3.14, v2.3
.15, v2.3.16, v2.3.17, v2.3.18, v2.3.19, v2.3.2, v2.3.20, v2.3.21, v2.3.22, v2.3
.23, v2.3.24, v2.3.25, v2.3.26, v2.3.27, v2.3.28, v2.3.29, v2.3.3, v2.3.30, v2.3
.31, v2.3.32, v2.3.33, v2.3.34, v2.3.35, v2.3.36, v2.3.37, v2.3.38, v2.3.39, v2.
3.4, v2.3.40, v2.3.5, v2.3.6, v2.3.7, v2.3.8, v2.3.9, v2.4.0, v2.4.1, v2.4.10, v
2.4.2, v2.4.3, v2.4.4, v2.4.5, v2.4.6, v2.4.7, v2.4.8, v2.4.9, v2.5.0, v2.5.1, v
2.5.10, v2.5.11, v2.5.12, v2.5.2, v2.5.3, v2.5.4, v2.5.5, v2.5.6, v2.5.7, v2.5.8
, v2.5.9, v2.6.0, v2.6.1, v2.6.10, v2.6.11, v2.6.12, v2.6.13, v2.6.2, v2.6.3, v2
.6.4, v2.6.5, v2.6.6, v2.6.7, v2.6.8, v2.6.9, v2.7.0, v2.7.1, v2.7.10, v2.7.11,
v2.7.12, v2.7.2, v2.7.3, v2.7.4, v2.7.5, v2.7.6, v2.7.7, v2.7.8, v2.7.9, v2.8.0,
 v2.8.1, v2.8.2, v2.8.3, v2.8.4].
    - Can only install one of: symfony/finder[v2.8.0, v3.0.4].
    - Can only install one of: symfony/finder[v2.8.1, v3.0.4].
    - Can only install one of: symfony/finder[v2.8.2, v3.0.4].
    - Can only install one of: symfony/finder[v2.8.3, v3.0.4].
    ...
    ...
    - Can only install one of: symfony/finder[v2.7.8, v3.0.4].
    - Can only install one of: symfony/finder[v2.7.9, v3.0.4].
    - Installation request for symfony/finder (locked at v3.0.4) -> satisfiable
by symfony/finder[v3.0.4].

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

Anyone idea how I can fix this problem?

chinookproject avatar May 02 '16 15:05 chinookproject

Another note, I had the package propel/propel installed. I just removed that through Composer.

Now when I try to install propel/propel-laravel I get the error:

  Problem 1
    - The requested package propel/propel-laravel 2.0.0-alpha5 exists as 
propel/propel-laravel[dev-Big-Shark-patch-1, dev-Big-Shark-patch-2, dev-develop, dev-ma
ster] but these are rejected by your constraint.

Not sure why this error is now suddenly showing. I still have "minimum-stability": "alpha" in my composer.json file.

chinookproject avatar May 02 '16 15:05 chinookproject

Please try dev-develop version, 'propel/propel-laravel: dev-develop'

Big-Shark avatar May 02 '16 17:05 Big-Shark

@Big-Shark , @chinookproject Develop branch did updated and introduced 5.2 support and new command. Read docs and it's recommended for new installations and testing purposes for now.

SCIF avatar May 02 '16 22:05 SCIF