rinvex / laravel-categories

Rinvex Categorizable is a polymorphic Laravel package, for category management. You can categorize any eloquent model with ease, and utilize the power of Nested Sets, and the awesomeness of Sluggable, and Translatable models out of the box.
MIT License
454 stars 67 forks source link

Cannot Install Package #5

Closed abishekrsrikaanth closed 6 years ago

abishekrsrikaanth commented 7 years ago

This definitely is a great package. But cannot install it, can you resolve this

Error:

Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for rinvex/categorizable * -> satisfiable by rinvex/categorizable[v0.0.1].
    - rinvex/categorizable v0.0.1 requires rinvex/cacheable dev-develop -> satisfiable by rinvex/cacheable[dev-develop] but these conflict with your requirements or minimum-stability.
pilishen commented 7 years ago

@abishekrsrikaanth Got the same problem. You'll need to add "minimum-stability": "dev" to your composer.json file before you install the package.

pilishen commented 7 years ago

@abishekrsrikaanth meanwhile, u should also add this line there: "prefer-stable": true, which prevent installing a bounch of other dev packages

Omranic commented 6 years ago

Yes, it's exactly as @pilishen said.

This package still considered beta and until it's tagged as stable you've to change your minimum stability level, hopefully stable release will be out once Laravel 5.5 officially released 🙂

besrabasant commented 6 years ago

@abishekrsrikaanth

You'll need to add "minimum-stability": "dev" to your composer.json file before you install the package.

meanwhile, u should also add this line there: "prefer-stable": true,

added these to composer.json, still cannot install

Omranic commented 6 years ago

@besrabasant what's the error message you get?

besrabasant commented 6 years ago
Problem 1
    - rinvex/categories v0.0.4 requires rinvex/support dev-develop -> satisfiable by rinvex/support[dev-develop].
    - Installation request for rinvex/categories ^0.0.4 -> satisfiable by rinvex/categories[v0.0.4].
    - Conclusion: remove laravel/framework v5.5.40
    - Conclusion: don't install laravel/framework v5.5.40
    - rinvex/support dev-develop requires illuminate/bus ~5.6.0 -> satisfiable by laravel/framework[5.6.x-dev], illuminate/bus[5.6.x-dev, v5.6.0, v5.6.1, v5.6.10, v5.6.11, v5.6.12, v5.6.13, v5.6.14, v5.6.15, v5.6.16, v5.6.17, v5.6.19, v5.6.2, v5.6.20, v5.6.21, v5.6.22, v5.6.23, v5.6.24, v5.6.25, v5.6.26, v5.6.27, v5.6.28, v5.6.3, v5.6.4, v5.6.5, v5.6.6, v5.6.7, v5.6.8, v5.6.9].
    - laravel/framework 5.6.x-dev conflicts with laravel/framework[v5.5.40].
    - don't install illuminate/bus 5.6.x-dev|don't install laravel/framework v5.5.40
    - don't install illuminate/bus v5.6.0|don't install laravel/framework v5.5.40
    - don't install illuminate/bus v5.6.1|don't install laravel/framework v5.5.40
    - don't install illuminate/bus v5.6.10|don't install laravel/framework v5.5.40
    - don't install illuminate/bus v5.6.11|don't install laravel/framework v5.5.40
    - don't install illuminate/bus v5.6.12|don't install laravel/framework v5.5.40
    - don't install illuminate/bus v5.6.13|don't install laravel/framework v5.5.40
    - don't install illuminate/bus v5.6.14|don't install laravel/framework v5.5.40
    - don't install illuminate/bus v5.6.15|don't install laravel/framework v5.5.40
    - don't install illuminate/bus v5.6.16|don't install laravel/framework v5.5.40
    - don't install illuminate/bus v5.6.17|don't install laravel/framework v5.5.40
    - don't install illuminate/bus v5.6.19|don't install laravel/framework v5.5.40
    - don't install illuminate/bus v5.6.2|don't install laravel/framework v5.5.40
    - don't install illuminate/bus v5.6.20|don't install laravel/framework v5.5.40
    - don't install illuminate/bus v5.6.21|don't install laravel/framework v5.5.40
    - don't install illuminate/bus v5.6.22|don't install laravel/framework v5.5.40
    - don't install illuminate/bus v5.6.23|don't install laravel/framework v5.5.40
    - don't install illuminate/bus v5.6.24|don't install laravel/framework v5.5.40
    - don't install illuminate/bus v5.6.25|don't install laravel/framework v5.5.40
    - don't install illuminate/bus v5.6.26|don't install laravel/framework v5.5.40
    - don't install illuminate/bus v5.6.27|don't install laravel/framework v5.5.40
    - don't install illuminate/bus v5.6.28|don't install laravel/framework v5.5.40
    - don't install illuminate/bus v5.6.3|don't install laravel/framework v5.5.40
    - don't install illuminate/bus v5.6.4|don't install laravel/framework v5.5.40
    - don't install illuminate/bus v5.6.5|don't install laravel/framework v5.5.40
    - don't install illuminate/bus v5.6.6|don't install laravel/framework v5.5.40
    - don't install illuminate/bus v5.6.7|don't install laravel/framework v5.5.40
    - don't install illuminate/bus v5.6.8|don't install laravel/framework v5.5.40
    - don't install illuminate/bus v5.6.9|don't install laravel/framework v5.5.40
    - Installation request for laravel/framework (locked at v5.5.40, required as 5.5.*) -> satisfiable by laravel/framework[v5.5.40].
Omranic commented 6 years ago

OK, now it's clear. This package requires Laravel v5.6.x but you're trying to install it on v5.5.x, that's why you're getting this error message.

besrabasant commented 6 years ago

I tried this even with 0.0.3 and i get the same error

Omranic commented 6 years ago

I'm sure you got a different error, but anyway since we don't support old releases and this package still considered in development, you can fork it and change composer.json to whatever suites your needs, and install it from your own custom repo. Hope this helps..