2017-09-28 1 views
0

Please see when When I run composer install은 지원하시기 바랍니다 나던 다운로드 의존성,작곡가 laravel에 나는 새로운 오전 laravelcollective HTML '

을 필요로하고 내가 5.5.13

내가 원하는 내가 laravel을 사용하고 laravelcollective/html로 ...에 대한 의존성을 다운로드 할 수 없습니다 laravelcollective/html이 필요합니다.

그러나 다음과 같은 문제가 있습니다. (I 작곡가 업데이트를 실행할 때와 유사) composer require "laravelcollective/html:5.2.*",

I get the below mentioned : 나는 실행

  1. 아래
    C:\Users\MALULEKE\Desktop\lara_proj\shops>composer require "laravelcollective/html:5.2.*" 
    ./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 
        - The requested package laravelcollective/html could not be found in any version, there may be a typo in the package name. 
    
    Potential causes: 
    - A typo in the package name 
    - The package is not available in a stable-enough version according to your minimum-stability setting 
        see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details. 
    
    Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems. 
    
    Installation failed, reverting ./composer.json to its original content. 
    
    C:\Users\MALULEKE\Desktop\lara_proj\shops>composer require "laravelcollective/html:5.2.*" 
    

    작곡가에서 내 프로젝트의 작업에 내 composer.json 상대 (아니다/로밍, 나는 그것을 사용해야하는지 잘 모르겠다. 도와주세요.)

    { 
        "name": "laravel/laravel", 
        "description": "The Laravel Framework.", 
        "keywords": ["framework", "laravel"], 
        "license": "MIT", 
        "type": "project", 
        "require": { 
         "php": ">=7.0.0", 
         "fideloper/proxy": "~3.3", 
         "laravel/framework": "5.5.*@dev", 
         "laravel/tinker": "~1.0", 
         "laravelcollective/html":"[email protected]" 
    
        }, 
        "require-dev": { 
         "filp/whoops": "~2.0", 
         "fzaninotto/faker": "~1.4", 
         "mockery/mockery": "0.9.*", 
         "phpunit/phpunit": "~6.0" 
        }, 
        "autoload": { 
         "classmap": [ 
          "database/seeds", 
          "database/factories" 
         ], 
         "psr-4": { 
          "App\\": "app/" 
         } 
        }, 
        "autoload-dev": { 
         "psr-4": { 
          "Tests\\": "tests/" 
         } 
        }, 
        "extra": { 
         "laravel": { 
          "dont-discover": [ 
          ] 
         } 
        }, 
        "scripts": { 
         "post-root-package-install": [ 
          "@php -r \"file_exists('.env') || copy('.env.example', '.env');\"" 
         ], 
         "post-create-project-cmd": [ 
          "@php artisan key:generate" 
         ], 
         "post-autoload-dump": [ 
          "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump", 
          "@php artisan package:discover" 
         ] 
        }, 
        "config": { 
         "preferred-install": "dist", 
         "sort-packages": true, 
         "optimize-autoloader": true 
    
        } 
    } 
    
+0

그래서'5.2. *'또는'~ 5.3. @ dev'가 필요한 버전입니까? 동시에 둘 다를 가질 수는 없습니다. 그것은 작곡가의 근본적인 한계입니다. –

+0

5.3 ... v5를 마음에 들어합니다. –

+0

5.3이 필요하다면''laravelcollective/html : 5.2. * ''를 설치하려는 시도가 제게 의미가 없습니다. 어쨌든 당신은 이미'composer.json'에 v5.3을 가지고 있습니다, 그래서'composer install '만하십시오. –

답변

0

일부 사람들에게 적합한 대답이 아닐 수도 있습니다. 그러나 각도 j를 프론트 엔드로 사용하기로 결정했습니다. 이것은 누군가에게 도움이되기를 희망합니다.이 솔루션 문제는 미래에 필요할 수 있습니다. 인증 의존성과 같은 다른 작곡가 요구 사항이 필요하기 때문입니다 ... 감사합니다.

관련 문제