我正在设置一个订阅模块,并决定使用Laravel收银员。但它没有正确安装。我能做错什么?
这是错误。
Problem 1
- Conclusion: remove symfony/contracts v1.0.2
- Conclusion: don't install symfony/contracts v1.0.2
- symfony/http-kernel v4.3.0-BETA1 requires symfony/contracts ^1.1 -> satisfiable by symfony/contracts[1.1.x-dev, v1.1.0, v1.1.1, v1.1.2, v1.1.3, v1.1.4, v1.1.5].
- symfony/http-kernel v4.3.0-BETA2 requires symfony/contracts ^1.1 -> satisfiable by symfony/contracts[1.1.x-dev, v1.1.0, v1.1.1, v1.1.2, v1.1.3, v1.1.4, v1.1.5].
- symfony/event-dispatcher v4.3.0-BETA1 requires symfony/contracts ^1.1 -> satisfiable by symfony/contracts[1.1.x-dev, v1.1.0, v1.1.1, v1.1.2, v1.1.3, v1.1.4, v1.1.5].
- symfony/event-dispatcher v4.3.0-BETA2 requires symfony/contracts ^1.1 -> satisfiable by symfony/contracts[1.1.x-dev, v1.1.0, v1.1.1, v1.1.2, v1.1.3, v1.1.4, v1.1.5].
- Can only install one of: symfony/contracts[1.1.x-dev, v1.0.2].
- Can only install one of: symfony/contracts[v1.1.0, v1.0.2].
- Can only install one of: symfony/contracts[v1.1.1, v1.0.2].
- Can only install one of: symfony/contracts[v1.1.2, v1.0.2].
- Can only install one of: symfony/contracts[v1.1.3, v1.0.2].
- Can only install one of: symfony/contracts[v1.1.4, v1.0.2].
- Can only install one of: symfony/contracts[v1.1.5, v1.0.2].
- Installation request for symfony/contracts (locked at v1.0.2) -> satisfiable by symfony/contracts[v1.0.2].
- Installation request for laravel/cashier ^10.1 -> satisfiable by laravel/cashier[v10.1.0].
以防有人从谷歌来到这里。我尝试了@Nicolai建议,错误发生了变化,所以运行
撰写更新
它工作得很好。