Ad
Can't Install Ui Package
I've just downloaded the laravel 6 and I'm trying to install composer require laravel/ui package, but I'm getting the following composer error:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Conclusion: remove laravel/framework v6.18.3
- Conclusion: don't install laravel/framework v6.18.3
Ad
Answer
That's because you're using Laravel 6 and the package you're trying to require wants Laravel 7.
If you change the composer require line to this:
composer require laravel/ui:^1.0 --dev
It should download the correct package you need.
Edit: If you see this error in the future, the best thing you can do is go to the repository of said package (in this case this repo) and open the composer.json of said repo and see what the requirements for the package are. In this case I linked the composer.json of the most recent release, which states it needs Laravel 7.
Ad
source: stackoverflow.com
Related Questions
- → "failed to open stream" error when executing "migrate:make"
- → October CMS Plugin Routes.php not registering
- → OctoberCMS Migrate Table
- → OctoberCMS Rain User plugin not working or redirecting
- → October CMS Custom Mail Layout
- → October CMS - How to correctly route
- → October CMS - Conditionally Load a Different Page
- → Make a Laravel collection into angular array (octobercms)
- → In OctoberCMS how do you find the hint path?
- → How to register middlewares in OctoberCMS plugin?
- → Validating fileupload(image Dimensions) in Backend Octobercms
- → OctoberCMS Fileupload completely destroys my backend
- → How do I call the value from another backed page form and use it on a component in OctoberCms
Ad