composer 错误处理

本文记录了解决Composer在运行时出现的Deprecation Notice错误的过程,包括清理fxp目录及使用360管家卸载相关组件的方法。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >


Deprecation Notice: The Composer\Package\LinkConstraint\MultiConstraint class is  
 deprecated, use Composer\Semver\Constraint\MultiConstraint instead. in phar://D  
:/program/advanceYii/composer.phar/src/Composer/Package/LinkConstraint/MultiCons  
traint.php:17  
Deprecation Notice: The Composer\Package\LinkConstraint\LinkConstraintInterface  
interface is deprecated, use Composer\Semver\Constraint\ConstraintInterface inst  
ead. in phar://D:/program/advanceYii/composer.phar/src/Composer/Package/LinkCons  
traint/LinkConstraintInterface.php:17  
You are running composer with xdebug enabled. This has a major impact on runtime  
 performance. See https://getcomposer.org/xdebug  
You are already using composer version 1.2.1 (stable channel).  

今儿运行comopser 的时候报了如上错误,找了很多资料都说是要清理fxp目录,然而本机win10上并没有找到该目录,后来想要卸载composer,令人崩溃的是,好像卸载不是特别干净,所以找到了360管家卸载了一个composer的组件,结果comopser正常运行了

迷迷糊糊解决了当前问题0.0

读者如果用了本方法后无效的话不妨试试重新安装composer~

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值