安装tp6时出现Could not find package topthink/think with stability stable.

ゝ一纸荒年。 2022-10-31 13:54 34阅读 0赞

安装tp6.0

操作步骤:

  1. 1. git bash到要安装的地方
  2. 2. 执行命令: composer create-project topthink/think tp6

出现的错误:

  1. \[InvalidArgumentException\]

Could not find package topthink/think with stability stable.

解决方案:

删除之前的镜像:composer config -g —unset repos.packagist

结果:

报错解决,可以正常安装tp6.0框架,TP5有时也生效!

发表评论

表情:
评论列表 (有 0 条评论,34人围观)

还没有评论,来说两句吧...

相关阅读