I'm having a problem In create a Laravel project, Every time the error is here
Installing psy/psysh (v0.8.17): Downloading (failed)
doubt, because of the weakness of the net, Or I doubt that I was learning the Passport Library, and probably misused it to show all result and exception
C:\AppServ\www>composer create-project laravel/laravel mysite3 --prefer-dist
Installing laravel/laravel (v5.4.30)
- Installing laravel/laravel (v5.4.30): Loading from cache
Created project in mysite3
> php -r "file_exists('.env') || copy('.env.example', '.env');"
Loading composer repositories with package information
Updating dependencies (including require-dev)
The "http://packagist.org/p/symfony/event-dispatcher%24b8c0a2d0385e7b24f22902c130f27156f1300a0d906b4145dae2fd2af902ae08.json" file could not be downloaded: php_network_getaddresses:
getaddrinfo failed: This is usually a temporary error during hostname resolution and means that the local server did not receive a response from an authoritative server.
failed to open stream: php_network_getaddresses: getaddrinfo failed: This is usually a temporary error during hostname resolution and means that the local server did not receive a re
sponse from an authoritative server.
http://packagist.org could not be fully loaded, package information was loaded from the local cache and may be out of date
Package operations: 60 installs, 0 updates, 0 removals
- Installing doctrine/inflector (v1.1.0): Loading from cache
- Installing symfony/polyfill-mbstring (v1.6.0): Loading from cache
- Installing symfony/var-dumper (v3.4.3): Loading from cache
- Installing jakub-onderka/php-console-color (0.1): Loading from cache
- Installing jakub-onderka/php-console-highlighter (v0.3.2): Loading from cache
- Installing dnoegel/php-xdg-base-dir (0.1): Loading from cache
- Installing nikic/php-parser (v3.1.3): Loading from cache
- Installing psr/log (1.0.2): Loading from cache
- Installing symfony/debug (v3.4.3): Loading from cache
- Installing symfony/console (v3.4.3): Loading from cache
- Installing psy/psysh (v0.8.17): Downloading (failed)
Downloading (failed)
Downloading (failed) Failed to download psy/psysh from dist: The "https://api.github.com/repos/bobthecow/psysh/zipball/5069b70e8c4ea492c2b5939b6eddc78bfe41cfec" file could not be
downloaded: php_network_getaddresses: getaddrinfo failed: This is usually a temporary error during hostname resolution and means that the local server did not receive a response from
an authoritative server.
failed to open stream: php_network_getaddresses: getaddrinfo failed: This is usually a temporary error during hostname resolution and means that the local server did not receive a re
sponse from an authoritative server.
Now trying to download from source
- Installing psy/psysh (v0.8.17): Cloning 5069b70e8c
[RuntimeException]
Failed to clone https://github.com/bobthecow/psysh.git, git was not found, check that it is installed and in your PATH env.
'git' is not recognized as an internal or external command,
operable program or batch file.
create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--repository REPOSITORY] [--repository-url REPOSITORY-URL] [--dev] [--no-dev] [--no-custom-installers] [-
-no-scripts] [--no-progress] [--no-secure-http] [--keep-vcs] [--no-install] [--ignore-platform-reqs] [--] [<package>] [<directory>] [<version>]
So,What is the solution
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire