惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

阮一峰的网络日志
阮一峰的网络日志
D
Darknet – Hacking Tools, Hacker News & Cyber Security
S
Schneier on Security
The Last Watchdog
The Last Watchdog
Cyberwarzone
Cyberwarzone
S
Securelist
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
C
Cyber Attacks, Cyber Crime and Cyber Security
L
Lohrmann on Cybersecurity
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - 司徒正美
The Cloudflare Blog
V
V2EX
博客园_首页
博客园 - 聂微东
Vercel News
Vercel News
人人都是产品经理
人人都是产品经理
G
GRAHAM CLULEY
T
Tenable Blog
Last Week in AI
Last Week in AI
Y
Y Combinator Blog
L
LINUX DO - 最新话题
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
SecWiki News
SecWiki News
博客园 - 三生石上(FineUI控件)
S
Secure Thoughts
N
News | PayPal Newsroom
T
The Blog of Author Tim Ferriss
The GitHub Blog
The GitHub Blog
T
Troy Hunt's Blog
博客园 - 【当耐特】
Forbes - Security
Forbes - Security
H
Hacker News: Front Page
A
About on SuperTechFans
B
Blog RSS Feed
Engineering at Meta
Engineering at Meta
MongoDB | Blog
MongoDB | Blog
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
罗磊的独立博客
D
DataBreaches.Net
P
Privacy & Cybersecurity Law Blog
Schneier on Security
Schneier on Security
Application and Cybersecurity Blog
Application and Cybersecurity Blog
Google DeepMind News
Google DeepMind News
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Jina AI
Jina AI
D
Docker
P
Proofpoint News Feed

皮皮赖's Blog

Centos7 网卡型号 网卡硬件型号 网卡芯片型号支持列表 - 皮皮赖's Blog uniapp IOS15、16 uni.scanCode 扫码后页面跳转卡死 - 皮皮赖's Blog Javascript导出数据至Excel JS导出数据至Excel - 皮皮赖's Blog PHP导出数据至Excel PHPExcel库使用方法 例子 示例 - 皮皮赖's Blog golang 实现 SD-WAN IWAN 例子 简单例子 示例 宝塔面板邮局管理器Postfix无法启动,重装后不能正常运行Postfix修复 - 皮皮赖's Blog idea goland phpstorm pycharm IntelliJ 打开项目后,只显示文件,项目中的目录不显示 《掌上 WeGame》宣布退市,9月8日正式停运 - 皮皮赖's Blog 常见内网IP段,不跟公网冲突的内网IP段有那些? - 皮皮赖's Blog
Script @php think service:discover handling the post-autoload-dump event returned with error code 255
博主: Reaper · 2024-11-20 · via 皮皮赖's Blog

composer 执行 composer updatecomposer install 报错:

Script @php think service:discover handling the post-autoload-dump event returned with error code 255

经过长时间网上搜索尝试折腾后,网上查询到的结果无非都是一样的,说是thinkphp版本6.0.1不兼容composer2生成配置文件,并在tp6文档得更新日志里发现V6.0.5开始可以兼容composer2生成配置文件,所以网上给的解决方案是更新tp版本。

但是我使用的tp6版本是最新版本,并不是如网上所说的6.0.1,所以网上的答案对我来说没什么用。

经过断点排查发现尽然是config的问题,由于原来composer安装过其他包,但是由于不用就删除了,可是config文件没有删除,导致config调用不到包,而持续报错,解决办法就是删除config文件即可。

赞赏作者

您的赞赏是对我最大的支持。