Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

composer require 第三方包问题 #1214

Closed
lirko opened this issue Jan 7, 2025 · 1 comment
Closed

composer require 第三方包问题 #1214

lirko opened this issue Jan 7, 2025 · 1 comment

Comments

@lirko
Copy link

lirko commented Jan 7, 2025

程序最新源码包没有compiser.json配置文件,vendor目录看到有几个think的包。

目前在根目录想下载第三方包
composer require jaeger/querylist
能正常下载和使用,但看了下是直接把vendor目录里面原本系统用到的think包也会删除

最后导致只有jaeger/querylist的包和其依赖的包,针对这种情况我如何可以安装第三方包而保留系统原来的包不被删除??
是不是需要作者开发时的composer.json配置文件存在,不然下载第三方包时没看到配置文件有依赖,就误以为这些包没依赖,所以就直接删除没依赖的包??
我也试过安装第三方包后重新把源码的那几个think包拷贝过去过去,但好像vendor/composer目录的变化,就算拷贝了think几个包回去也没生效。
因为一旦删除后 登录等验证码都无法使用了

@lirko lirko closed this as completed Jan 7, 2025
@lirko lirko reopened this Jan 7, 2025
@lirko lirko closed this as not planned Won't fix, can't repro, duplicate, stale Jan 7, 2025
@lirko lirko reopened this Jan 7, 2025
@magicblack
Copy link
Owner

composer相关,目前只能手动二次开发~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants