gpt4 book ai didi

composer-php - Composer 既不安装也不更新 RecursiveDirectoryIterator 找不到指定的路径

转载 作者:行者123 更新时间:2023-12-04 04:12:41 24 4
gpt4 key购买 nike

我一直在尝试在我的 windows7 64 位机器上使用 composer 更新/安装。但最近我收到了这个错误:

$ php composer.phar install
Loading composer repositories with package information
Installing dependencies (including require-dev)
- Installing zendframework/zendxml (dev-master 559b34f)
Cloning 559b34f426d33a11c3db118e00ce14bb8dc64e5f
Failed to download zendframework/zendxml from source: RecursiveDirectoryIterator
::__construct(C:\wamp\www\projects\vendor\zendframework\zendxml,C:\wamp\www\projects\vendor\zendframework\zendxml): The system cannot find the path specified. (
code: 3)
Now trying to download from dist
- Installing zendframework/zendxml (dev-master 559b34f)
Downloading: 100%



[UnexpectedValueException]
RecursiveDirectoryIterator::__construct(C:\wamp\www\projects\vendor/zendfra
mework/zendxml,C:\wamp\www\projects\vendor/zendframework/zendxml): The syst
em cannot find the path specified. (code: 3)

我试图删除供应商目录以及清空 Composer 缓存,但这并没有解决问题。

有什么建议?

最佳答案

我的问题是我移动了一个在 cmd.exe 中启用颜色的目录。现在该目录不再正确链接。

退房 https://getcomposer.org/doc/articles/troubleshooting.md#-the-system-cannot-find-the-path-specified-windows-并检查无效路径。

关于composer-php - Composer 既不安装也不更新 RecursiveDirectoryIterator 找不到指定的路径,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24150839/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com