Я не могу установить Laravel 6, это показывает мне эту ошибку - PullRequest
0 голосов
/ 29 апреля 2020

Я пытаюсь установить Laravel 6 с composer, но покажите мне эту ошибку.

C:\Users\jofre>cd C:\xampp\htdocs

C:\xampp\htdocs>laravel new blog --auth Crafting application...

In CurlFactory.php line 200:

  cURL error 28: Failed to connect to 190.195.101.53 port 1080: Timed out (see https://curl.haxx.se/libcurl/c/libcurl   -errors.html)


new [--dev] [--auth] [-f|--force] [--] [<name>]

Я попробовал другой способ решить эту проблему. Я успешно установил Laravel с помощью команды composer create-project --prefer-dist laravel/laravel blog "6.*", но теперь не могу запустить composer require laravel/ui. Это показывает мне эту ошибку:

C:\xampp\htdocs\blog>composer require laravel/ui
Using version ^2.0 for laravel/ui
./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: remove laravel/framework v6.18.11
    - Conclusion: don't install laravel/framework v6.18.11
    - laravel/ui 2.x-dev requires illuminate/filesystem ^7.0 -> satisfiable by illuminate/filesystem[7.x-dev, v7.0.0, v7.0.1, v7.0.2, v7.0.3, v7.0.4, v7.0.5, v7.0.6, v7.0.7, v7.0.8, v7.1.0, v7.1.1, v7.1.2, v7.1.3, v7.2.0, v7.2.1, v7.2.2, v7.3.0, v7.4.0, v7.5.0, v7.5.1, v7.5.2, v7.6.0, v7.6.1, v7.6.2, v7.7.0, v7.7.1, v7.8.0, v7.8.1, v7.9.0, v7.9.1, v7.9.2].


    - laravel/ui v2.0.0 requires illuminate/filesystem ^7.0 -> satisfiable by illuminate/filesystem[7.x-dev, v7.0.0, v7.0.1, v7.0.2, v7.0.3, v7.0.4, v7.0.5, v7.0.6, v7.0.7, v7.0.8, v7.1.0, v7.1.1, v7.1.2, v7.1.3, v7.2.0, v7.2.1, v7.2.2, v7.3.0, v7.4.0, v7.5.0, v7.5.1, v7.5.2, v7.6.0, v7.6.1, v7.6.2, v7.7.0, v7.7.1, v7.8.0, v7.8.1, v7.9.0, v7.9.1, v7.9.2].
    - laravel/ui v2.0.1 requires illuminate/filesystem ^7.0 -> satisfiable by illuminate/filesystem[7.x-dev, v7.0.0, v7.0.1, v7.0.2, v7.0.3, v7.0.4, v7.0.5, v7.0.6, v7.0.7, v7.0.8, v7.1.0, v7.1.1, v7.1.2, v7.1.3, v7.2.0, v7.2.1, v7.2.2, v7.3.0, v7.4.0, v7.5.0, v7.5.1, v7.5.2, v7.6.0, v7.6.1, v7.6.2, v7.7.0, v7.7.1, v7.8.0, v7.8.1, v7.9.0, v7.9.1, v7.9.2].
    - laravel/ui v2.0.2 requires illuminate/filesystem ^7.0 -> satisfiable by illuminate/filesystem[7.x-dev, v7.0.0, v7.0.1, v7.0.2, v7.0.3, v7.0.4, v7.0.5, v7.0.6, v7.0.7, v7.0.8, v7.1.0, v7.1.1, v7.1.2, v7.1.3, v7.2.0, v7.2.1, v7.2.2, v7.3.0, v7.4.0, v7.5.0, v7.5.1, v7.5.2, v7.6.0, v7.6.1, v7.6.2, v7.7.0, v7.7.1, v7.8.0, v7.8.1, v7.9.0, v7.9.1, v7.9.2].
    - don't install illuminate/filesystem 7.x-dev|don't install laravel/framework v6.18.11
    - don't install illuminate/filesystem v7.0.0|don't install laravel/framework v6.18.11

и

    - don't install illuminate/filesystem v7.5.1|don't install laravel/framework v6.18.11
    - don't install illuminate/filesystem v7.5.2|don't install laravel/framework v6.18.11
    - don't install illuminate/filesystem v7.6.0|don't install laravel/framework v6.18.11
    - don't install illuminate/filesystem v7.6.1|don't install laravel/framework v6.18.11
    - don't install illuminate/filesystem v7.6.2|don't install laravel/framework v6.18.11
    - don't install illuminate/filesystem v7.7.0|don't install laravel/framework v6.18.11
    - don't install illuminate/filesystem v7.7.1|don't install laravel/framework v6.18.11
    - don't install illuminate/filesystem v7.8.0|don't install laravel/framework v6.18.11
    - don't install illuminate/filesystem v7.8.1|don't install laravel/framework v6.18.11
    - don't install illuminate/filesystem v7.9.0|don't install laravel/framework v6.18.11
    - don't install illuminate/filesystem v7.9.1|don't install laravel/framework v6.18.11
    - don't install illuminate/filesystem v7.9.2|don't install laravel/framework v6.18.11
    - Installation request for laravel/framework (locked at v6.18.11, required as ^6.2) -> satisfiable by laravel/framework[v6.18.11].
    - Installation request for laravel/ui ^2.0 -> satisfiable by laravel/ui[2.x-dev, v2.0.0, v2.0.1, v2.0.2].


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

Информация о версии:

LARAVEL VERSION: const VERSION = '6.18.11';

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...