@inefablecl
Щас бы что-то работало...

Проблема в создании нового проекта laravel, что делать?

Поставил новую винду, установил php,composer, nodejs, wsl(ubuntu), docker запускаю создание нового проекта и вот тебе.
/mnt/c/users/notepc/projects$ curl -s https://laravel.build/example-app | bash
latest: Pulling from laravelsail/php82-composer
Digest: sha256:37549f980be6146efcb16b0dc352644edfc5cca32b9862494631eb197ef89737
Status: Image is up to date for laravelsail/php82-composer:latest

    Installing dependencies from lock file (including require-dev)
    Package operations: 106 installs, 0 updates, 0 removals
      - Downloading doctrine/inflector (2.0.6)

      - Installing psr/simple-cache (3.0.0): Extracting archive
      - Installing nunomaduro/termwind (v1.15.1): Extracting archive
      - Installing symfony/translation-contracts (v3.2.0): Extracting archive
      - Installing symfony/translation (v6.2.5): Extracting archive
      - Installing nesbot/carbon (2.66.0): Extracting archive
      - Installing monolog/monolog (3.3.1): Extracting archive
      - Installing league/mime-type-detection (1.11.0): Extracting archive
      - Installing league/flysystem (3.12.3): Extracting archive
      - Installing nette/utils (v4.0.0): Extracting archive
      - Installing nette/schema (v1.2.3): Extracting archive
      - Installing dflydev/dot-access-data (v3.0.2): Extracting archive
      - Installing league/config (v1.2.0): Extracting archive
      - Installing league/commonmark (2.3.9): Extracting archive
      - Installing laravel/serializable-closure (v1.3.0): Extracting archive
      - Installing laravel/framework (v10.1.5): Extracting archive
      - Installing laravel/sail (v1.21.0): Extracting archive
      - Installing laravel/sanctum (v3.2.1): Extracting archive
      - Installing nikic/php-parser (v4.15.3): Extracting archive
      - Installing psy/psysh (v0.11.12): Extracting archive
      - Installing laravel/tinker (v2.8.1): Extracting archive
      - Installing hamcrest/hamcrest-php (v2.0.1): Extracting archive
      - Installing mockery/mockery (1.5.1): Extracting archive
      - Installing filp/whoops (2.14.6): Extracting archive
      - Installing nunomaduro/collision (v7.0.5): Extracting archive
      - Installing sebastian/version (4.0.1): Extracting archive
      - Installing sebastian/type (4.0.0): Extracting archive
      - Installing sebastian/recursion-context (5.0.0): Extracting archive
      - Installing sebastian/object-reflector (3.0.0): Extracting archive
      - Installing sebastian/object-enumerator (5.0.0): Extracting archive
      - Installing sebastian/global-state (6.0.0): Extracting archive
      - Installing sebastian/exporter (5.0.0): Extracting archive
      - Installing sebastian/environment (6.0.0): Extracting archive
      - Installing sebastian/diff (5.0.0): Extracting archive
      - Installing sebastian/comparator (5.0.0): Extracting archive
      - Installing sebastian/code-unit (2.0.0): Extracting archive
      - Installing sebastian/cli-parser (2.0.0): Extracting archive
      - Installing phpunit/php-timer (6.0.0): Extracting archive
      - Installing phpunit/php-text-template (3.0.0): Extracting archive
      - Installing phpunit/php-invoker (4.0.0): Extracting archive
      - Installing phpunit/php-file-iterator (4.0.1): Extracting archive
      - Installing theseer/tokenizer (1.2.1): Extracting archive
      - Installing sebastian/lines-of-code (2.0.0): Extracting archive
      - Installing sebastian/complexity (3.0.0): Extracting archive
      - Installing sebastian/code-unit-reverse-lookup (3.0.0): Extracting archive
      - Installing phpunit/php-code-coverage (10.0.1): Extracting archive
      - Installing phar-io/version (3.2.1): Extracting archive
      - Installing phar-io/manifest (2.0.3): Extracting archive
      - Installing myclabs/deep-copy (1.11.0): Extracting archive
      - Installing phpunit/phpunit (10.0.13): Extracting archive
      - Installing spatie/backtrace (1.2.2): Extracting archive
      - Installing spatie/flare-client-php (1.3.5): Extracting archive
      - Installing spatie/ignition (1.4.3): Extracting archive
      - Installing spatie/laravel-ignition (2.0.0): Extracting archive
        Install of fakerphp/faker failed
        Install of nesbot/carbon failed
        Install of league/commonmark failed
        Install of laravel/framework failed
        Install of nikic/php-parser failed
        Install of psy/psysh failed
        Install of hamcrest/hamcrest-php failed
        Install of mockery/mockery failed
    A connection timeout was encountered. If you intend to run Composer without connecting to the internet, run the command again prefixed with COMPOSER_DISABLE_NETWORK=1 to make Composer run in offline mode.

    In Filesystem.php line 314:

  Could not delete /opt/example-app/vendor/composer/942d5449/briannesbitt-Car
  bon-4967128/src/Carbon/Lang:


    create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--repository REPOSITORY] [--repository-url REPOSITORY-URL] [--add-repository] [--dev] [--no-dev] [--no-custom-installers] [--no-scripts] [--no-progress] [--no-secure-http] [--keep-vcs] [--remove-vcs] [--no-install] [--no-audit] [--audit-format AUDIT-FORMAT] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--ask] [--] [<package> [<directory> [<version>]]]

no configuration file provided: not found
no configuration file provided: not found
no configuration file provided: not found
no configuration file provided: not found

php 8.2.3/ composer 2.5.4
Пытался разобраться 3 часа, обновил все, что только можно ничего не понимаю.
Можно конечно просто добавить COMPOSER_DISABLE_NETWORK=1, но чувство, что это костыль.
В чем проблема?
  • Вопрос задан
  • 756 просмотров
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы