laravel 下载,出现错误:composer Content-Length mismatch
2017-07-29 16:30
495 查看
laravel 下载,出现如下错误:
2
3
4
5
6
7
8
9
10
11
12
解决办法:切换国内镜像地址,再执行操作,切换镜像地址命令如下:
d:\phpStudy\WWW composer global require "laravel/installer" Changed current directory to C:/Users/LKWD005/AppData/Roaming/Composer [Composer\Downloader\TransportException] Content-Length mismatch require [--dev] [--prefer-source] [--prefer-dist] [--no-progress] [--no-suggest] [--no-update] [--no-scripts] [--update-no-dev] [--update-with-dependencies] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--] [<packages>]...1
2
3
4
5
6
7
8
9
10
11
12
解决办法:切换国内镜像地址,再执行操作,切换镜像地址命令如下:
composer config -g repo.packagist composer https://packagist.phpcomposer.com[/code]
相关文章推荐
- 出现错误 Provisional headers are shown net::ERR_CONTENT_LENGTH_MISMATCH
- laravel——使用composer安装laravel5+时报错content-length mismatch解决方案
- laravel 下载,composer Content-Length mismatch
- ngnix加载tomcat项目,出现,net::ERR_CONTENT_LENGTH_MISMATCH
- Content-Length为-1导致下载文件字节数为0错误
- Content-Length为-1导致下载文件字节数为0错误
- composer显示content-length dismatch错误
- composer Content-Length mismatch
- composer Content-Length mismatch
- laravel运行composer update时出现如下错误信息的解决方案
- laraval composer Content-Length mismatch解决方案
- 使用android-async-http下载图片时出现org.apache.http.client.HttpResponseException: Content-Type not allowed的错误
- nginx反向代理tomcat访问时浏览器加载失败,出现 ERR_CONTENT_LENGTH_MISMATCH 问题
- 突然访问页面net::ERR_CONTENT_LENGTH_MISMATCH错误,nginx配置无错
- 将hadoop上的文件下载到本地出现log4j的错误
- arcgis server 9.3 查看地图服务时出现"No Content"错误
- android4.0下载出现的一些错误及解决方法
- SWD下载程序出现错误cannot access memory
- laravel错误1071 Specified key was too long; max key length is 1000 bytes
- 在cygwin下使用git下载出现错误