ColorlibHQ / AdminLTE

AdminLTE - Free admin dashboard template based on Bootstrap 5
https://adminlte.io
MIT License
43.9k stars 18.18k forks source link

Error Composer bower-asset/adminlte, bower-asset/admin-lte v.2.4.3. #1824

Closed tecnoterabyte closed 5 years ago

tecnoterabyte commented 6 years ago

Issue type:

Environment:

Description:

Loading composer repositories with package information Updating dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages.

Problem 1

X-Coder commented 6 years ago

I get a similar error with current AdminLTE3 and can't install it:

composer require almasaeed2010/adminlte:3.0.0-alpha.2

our requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for almasaeed2010/adminlte 3.0.0-alpha.2 -> satisfiable by almasaeed2010/adminlte[v3.0.0-alpha.2].
    - almasaeed2010/adminlte v3.0.0-alpha.2 requires bower-asset/jquery >=1.9.0 <4.0.0 -> no matching package found.
X-Coder commented 6 years ago

Put this into your composer.json to resolve the error (tested with adminlte 3.0.0-alpha.2):

"repositories": [
    {
        "type": "composer",
        "url": "https://asset-packagist.org"
    }
]
X-Coder commented 6 years ago

I just figured, don't use alpha.2 its not working. When you want to test bootstrap 4, use dev-master until a tagged release is available.