无法在YII2中使用作曲家安装软件包



我的命令在我的项目中安装软件包:

作曲家需要kartik-v/yii2-widget-fileinput" @dev"

错误:

安装失败,恢复./composer.json到其原始内容。

[Composer downloader transportException]
无法下载文件" https://packagist.org/packages.json"文件:无法打开流:连接时间

{" packages":[]," notify":"/downloads/%package%"," notify batch":"/downloads/"," providers-url":"/p/%package%$ $ $%hash%.json","搜索":"/search.json?q =%query%& type =%type%","提供商includes":{" p/p/provider-drovider-2013 $%hash%.json。":{" SHA256":" 4D53F1A16016320FCC9999994A992DCA985276EC8D2FA6EDA0AEDD598D3C4EBBBBB4E"} CAF74AC7EAF89C392DE6370550C19CDC6123157C88DFC"}," P/PRVISTER-2015 $%hash%.json":{" SHA256":" 13FEBD34889D5C52635FE1B48A6C0FFFE615878203653967DB5B5CE9908EEE3EE3EA}"}," P/PRVERDIRE-2016 $ 2016 $%hash%.json": BB9BB5543F0B98AF9A2A2A3EB3D422781BF51630"}"," P/PRVIDER-2016-07 $%hash%.json":{" sha256":" 90EFC01598F01AC3D9FDB382E4EBCF8EBCF8ECDC938A1AF012DD3DD3DED3D8D8D506D"} 368115F8A8871DDE5B5EA02BC0E65B8364301D350A4"}," P/PRVISTRER-2017-01 $%hash%.json":{" SHA256":" 4809E805BBA5483061B30A8CFAF49C39DBBCE5BBCE51059A36D2A6950C6491564FD8B"} BE590AA9F1C2FA4F7CC507E097F11CDFF0CB97230416B"}," P/PRVERISER ARCHIVER $%hash%.json":{" SHA256:" 5C59E338689EED722D3289142CCDF46268F4C3C3C835A8531B9F254329F90515B"} 2B60DDB9896F3AFB0145D915B647777771E331677AD805E31"}}}}}}

当我到达https://packagist.org/packages.json link

尝试更新您的 Composer Asset Plugin

打开外壳并运行。

作曲家全局需要" FXP/Composer-Asset-Plugin:Dev-Master"

然后运行

作曲家更新

相关内容

  • 没有找到相关文章

最新更新