Laavel 6.0이지만 Laavel-Admin을 해보고 싶어요.

3898 단어 Laravellaravel-admin

Laavel-Admin 설치가 거부되었습니다.


Laavel 6.0에 Laavel-Admin을 설치하는 데 실패했습니다.
$ composer require encore/laravel-admin
Using version ^1.7 for encore/laravel-admin
./composer.json has been updated
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
    - Conclusion: don't install encore/laravel-admin v1.7.6
    - Conclusion: don't install encore/laravel-admin v1.7.5
    - Conclusion: don't install encore/laravel-admin v1.7.4
    - Conclusion: don't install encore/laravel-admin v1.7.3
    - Conclusion: don't install encore/laravel-admin v1.7.2
    - Conclusion: don't install encore/laravel-admin v1.7.1
    - Conclusion: remove laravel/framework v6.0.0
    - Installation request for encore/laravel-admin ^1.7 -> satisfiable by encore/laravel-admin[v1.7.0, v1.7.1, v1.7.2, v1.7.3, v1.7.4, v1.7.5, v1.7.6].
    - Conclusion: don't install laravel/framework v6.0.0
    - encore/laravel-admin v1.7.0 requires laravel/framework ~5.5 -> satisfiable by laravel/framework[5.5.x-dev, 5.6.x-dev, 5.7.x-dev, 5.8.x-dev].
    - Can only install one of: laravel/framework[5.5.x-dev, v6.0.0].
    - Can only install one of: laravel/framework[5.6.x-dev, v6.0.0].
    - Can only install one of: laravel/framework[5.7.x-dev, v6.0.0].
    - Can only install one of: laravel/framework[5.8.x-dev, v6.0.0].
    - Installation request for laravel/framework v6.0.0 -> satisfiable by laravel/framework[v6.0.0].


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

대응


dev-master 사용
composer.json
    "require": {
        "php": "^7.2",
        "fideloper/proxy": "^4.0",
        "laravel/framework": "^6.0",
        "laravel/tinker": "^1.0",
        "laravel/ui": "^1.0",
        "encore/laravel-admin": "dev-master" //追加
$ composer update
그리고 공식 문서대로.
$ php artisan vendor:publish --provider="Encore\Admin\AdminServiceProvider"
$ php artisan admin:install


그런데 갔어!

추기


기본 화면을 진행할 수 있지만 다른 화면은 거의 움직이지 않습니다...이치상 당연하다
아이슈가 상승했기 때문에 대응을 기다리는 것도 나무랄 데가 없다.

추기 2019/11/15


dev-master를 착용하지 않아도 일반적으로 설치 후 정상적으로 작동합니다.

좋은 웹페이지 즐겨찾기