问一下安装Yii2怎么需要那么久 [ 2.0 版本 ]
我已经使用国内的composer镜像了。可是一直在检查 bower.json ,太久了,一个上午都一直在搞
Installing yiisoft/yii2-app-basic (2.0.0)
- Installing yiisoft/yii2-app-basic (2.0.0) Loading from cache
Created project in basic
Loading composer repositories with package information
Updating dependencies (including require-dev)
Failed to decode response: zlib_decode(): data error
Retrying with degraded mode, check https://getcomposer.org/doc/articles/troubleshooting.md#degraded-mode for more info
Failed to decode response: zlib_decode(): data error
Retrying with degraded mode, check https://getcomposer.org/doc/articles/troubleshooting.md#degraded-mode for more info
Reading bower.json of bower-asset/jquery.inputmask (3.1.60)
Failed to decode response: zlib_decode(): data error
Retrying with degraded mode, check https://getcomposer.org/doc/articles/troubleshooting.md#degraded-mReading bower.json of bower-asset/jquery.inputmask (3.1.58)
Could not fetch https://api.github.com/repos/RobinHerbots/Inputmask/commits/8579f56b86f78accbaf03c28d44be35ca1e346a5, please create a GitHub OAuth token to go over the API rate limit
Head to https://github.com/settings/tokens/new?scopes=repo&description=Composer+on+LS--20161227JIH+2017-04-06+0256
to retrieve a token. It will be stored in "C:/Users/Administrator/AppData/Roaming/Composer/auth.json" for future use by Composer.
Token (hidden): 2934927a97cb9469e47ba8cce5b5482818e771e3
Token stored successfReading bower.json of bower-asset/punycode (v1.3.0)
共 8 个回答
-
lz19881123 回答于 2017-04-06 13:22 举报
翻墙试试……
共 1 条回复a735416909 回复于 2017-04-06 16:28 回复翻了墙的,谷歌秒开,都是慢 ,也是醉了。
-
我也试过国内的镜像,每次安装都不如意。
可以试试直接官方站点,有时不翻墙也行。翻墙更有高成功率。
还有就是使用日本的镜像站点。http://composer-proxy.jp/ -
dashixiong 回答于 2017-04-07 11:26 举报
实在太慢就ctrl+c 这样可以快点,但是不要一直按,那样就退出安装程序了。
-
wintercoder 回答于 2017-04-07 14:08 举报
被墙的缘故
a735416909
注册时间:2016-11-13
最后登录:2018-05-09
在线时长:3小时31分
最后登录:2018-05-09
在线时长:3小时31分
- 粉丝0
- 金钱5
- 威望0
- 积分35