Skip to content

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

Description

@MonkWang

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导致的,什么时候升级呢?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions