Support the ongoing development of Laravel.io →
posted 1 week ago
0
moderator

Do you get any error or do you know what and why it is blocked?

0

this is the output Continue as root/super user [yes]? y Creating a "laravel/laravel" project at "./basic" Installing laravel/laravel (v12.2.0)

In Process.php line 1205:

The process "'git' 'clone' '--mirror' '--' 'https://github.com/laravel/laravel.git' '/root/.cache/composer/vcs/https---github.com-laravel-laravel.git/'" exceeded
the timeout of 300 seconds.

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>]]]

In Windows I solved it by disabling antivirus, Avast

0

in the "basic" folder I only have the "vendor" subfolder

0
moderator

I read Could not resolve host: api.github.com in your errors, that gives me the idea that there is a dns error. If it can't resolve api.github.com it will probably also have a problem in resolving github.com. That makes it impossible to download the code.

I suspect you need to check your DNS configuration.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Luigi chiabgigi Joined 31 Jul 2025

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.