5

Tôi đang sử dụng win7x64.Không thể cài đặt laravel/socialite bằng cách sử dụng nhà soạn nhạc đằng sau proxy

Tôi có thể cài đặt laravel bằng cách sử dụng nhà soạn nhạc khi tôi không đứng sau proxy, nhưng khi tôi ở phía sau proxy tôi không thể cài đặt bất kỳ thứ gì bằng cách sử dụng nhà soạn nhạc.

tôi đã cố gắng cài đặt laravel/trong xã hội tôi nhận được lỗi:

The " http://packagist.org/p/provider-2013 $64cefc090dc586bcea264a3e17529dfa29b16b 2bf50c52626562f13772982949.json" file could not be downloaded: failed to open st ream: HTTP request failed! http://packagist.org could not be fully loaded, package information was loaded f rom the local cache and may be out of date

[Composer\Downloader\TransportException] The " http://packagist.org/p/laravel/socialite $d9a828b00026fe40a14532c7f93e7 adc78725a74da02a035cd267618876c312a.json" file could not be downloaded: fai led to open stream: HTTP request failed!

require [--dev] [--prefer-source] [--prefer-dist] [--no-progress] [--no-update] [--update-no-dev] [--update-with-dependencies] [--ignore-platform-reqs] [--sort- packages] [packages1] ... [packagesN]

Tôi có http_proxy và https_proxy thiết lập env.

nhà soạn nhạc selfupdate đang làm việc

nhưng

cập nhật sáng tác không hoạt động

Loading composer repositories with package information Updating dependencies (including require-dev) The " http://packagist.org/p/provider-2013 $64cefc090dc586bcea264a3e17529dfa29b16b 2bf50c52626562f13772982949.json" file could not be downloaded: failed to open st ream: HTTP request failed! http://packagist.org could not be fully loaded, package information was loaded f rom the local cache and may be out of date Nothing to install or update Generating autoload files Generating optimized class loader

cli khác (ví dụ. Ngọc) đang làm việc

Tôi đã thử this solution

nhưng nó vẫn không làm việc

Sau đây là các stat nhà soạn nhạc diag:

Checking composer.json: OK 
Checking platform settings: OK 
Checking git settings: OK 
Checking http connectivity to packagist: FAIL 
[Composer\Downloader\TransportException] The "http://packagist.org/packages.json 
" file could not be downloaded: failed to open stream: HTTP request failed! 
Checking https connectivity to packagist: OK 
Checking HTTP proxy: OK 
Checking HTTP proxy support for request_fulluri: FAIL 
Unable to assess the situation, maybe packagist.org is down (The "http://packagi 
st.org/packages.json" file could not be downloaded: failed to open stream: HTTP 
request failed!) 
Checking HTTPS proxy support for request_fulluri: OK 
Checking github.com rate limit: OK 
Checking disk free space: OK 
Checking composer version: OK 

Có bất kỳ thiết lập tôi đã bỏ lỡ?

Trả lời

Các vấn đề liên quan