PHP 7.4.3
Laravel Version: 7.24
I just tried to composer require laravel/telescope and composer install failed.
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.
composer.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"
},
composer require laravel/telescope "^3.0"
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.
I was having the same issue.
composer require laravel/telescope "^2.0"
was successful
- Installation request for laravel/framework (locked at v7.28.1, required as ^7.24) -> satisfiable by laravel/framework[v7.28.1].
Tells you what is going on. The project you are working on is locked to laravel/framework v7.28.1. The current version of Telescope requires laravel/framework ^8.0. Maybe you will be able to use telescope v3.0.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With