Anw*_*zim 3 php laravel telescope laravel-7
PHP 7.4.3
Laravel 版本:7.24
我只是尝试 composer require laravel/telescope 并且 composer install 失败。
Using version ^4.0 for laravel/telescope
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for laravel/telescope ^4.0 -> satisfiable by laravel/telescope[4.x-dev, v4.0.0].
- Can only install one of: laravel/framework[v7.28.1, 8.x-dev].
- Can only install one of: laravel/framework[8.x-dev, v7.28.1].
- Can only install one of: laravel/framework[8.x-dev, v7.28.1].
- Conclusion: install laravel/framework 8.x-dev
- Installation request for laravel/framework (locked at v7.28.1, required as ^7.24) -> satisfiable by laravel/framework[v7.28.1].
Installation failed, reverting ./composer.json to its original content.
Run Code Online (Sandbox Code Playgroud)
作曲家.json
"require": {
"php": "^7.2.5",
"fideloper/proxy": "^4.2",
"fruitcake/laravel-cors": "^2.0",
"guzzlehttp/guzzle": "^6.3",
"intervention/image": "^2.5",
"laravel/framework": "^7.24",
"laravel/tinker": "^2.0",
"laravel/ui": "^2.1"
},
Run Code Online (Sandbox Code Playgroud)
composer require laravel/telescope "^3.0"
Run Code Online (Sandbox Code Playgroud)
should bring it to work.
p.s. I am using Laravel 7 for most of projects I worked on and had to try different combinations between Laravel 7 and telescope package. telescope ^3.0 seems to be the latest compatible version with Laravel 7.
| 归档时间: |
|
| 查看次数: |
2799 次 |
| 最近记录: |