首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >laravelcollective/html":"^5.4.0“安装错误

laravelcollective/html":"^5.4.0“安装错误
EN

Stack Overflow用户
提问于 2017-10-13 14:15:41
回答 1查看 354关注 0票数 0

当我想从CLI安装我的laravel collective/HTML时,他已经显示了下面的消息。任何人请帮助我解决这个问题。

代码语言:javascript
复制
D:\xampp\htdocs\laravel>composer require "laravelcollective/html":"^5.4.0"
./composer.json has been updated
Loading composer repositories with package information
The "ht//packagist/org/packages.json" file could not be downloaded: failed to open stream: An attempt was made to access a socket in a way forbidden by its access permissions.
htt/packagist/org could not be fully loaded, package information was loaded from the local cache and may be out of date
Updating dependencies (including require-dev)
Installation failed, reverting ./composer.json to its original content.
  [Composer\Downloader\TransportException]
  The "http://packagist...org/p/laravelcollective/html%24b0b6819ee203fce431535a4549ba27ee52a7d77418c065c68b78577d198617e1.js
  on" file could not be downloaded: failed to open stream: An attempt was made to access a socket in a way forbidden by its access permissions.

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

回答 1

Stack Overflow用户

发布于 2020-12-11 19:47:37

composer需要'laravelcollective/html:^5.4.0‘

对我很管用。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/46723594

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档