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

thinkphp8 无法下载 think-mongo驱动 #103

Open
MonkWang opened this issue Jan 25, 2024 · 0 comments
Open

thinkphp8 无法下载 think-mongo驱动 #103

MonkWang opened this issue Jan 25, 2024 · 0 comments

Comments

@MonkWang
Copy link

php 版本8.1
thinkphp 版本8

系统提示 Your requirements could not be resolved to an installable set of packages.

Problem 1
- Root composer.json requires topthink/think-mongo ^3.0 -> satisfiable by topthink/think-mongo[v3.0.0, ..., v3.0.4].
- topthink/think-mongo[v3.0.0, ..., v3.0.4] require topthink/framework ^6.0.0 -> found topthink/framework[v6.0.0, ..., v6.1.4] but it conflicts with your root composer.json require (^8.0).

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require topthink/think-mongo:*" to figure out if any version is installable, or "composer require topthink/think-mongo:^2.1" if you kn
ow which you need.
应该是think-mongo 还未升级到8导致的,什么时候升级呢?

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

1 participant