Drupal composer install: Your requirements could not be resolved to an installable set of packages - drupal-8

I am using drupal 8 and I am trying to install the Search API Solr module each time I run the command.
composer require drupal/search_api_solr
I am getting this error
Your requirements could not be resolved to an installable set of
packages.
Here is the screenshot of the error I am getting. Could anyone please help me

Which Drupal Core version do you use ?
It could be related to the symfony/event-dispatcher library.
Can you try composer require symfony/event-dispatcher:"4.3.4 as 3.4.99" drupal/search_api_solr ?
More infos here : https://www.drupal.org/project/drupal/issues/2876675#comment-13272878

Looks like the module you are trying to install needs some additional package.

Related

Prestashop installation error

I am facing a problem when I install prestashop in wamp
When until module installation it show
Error-500
I have search for many ways but all is just stopped at the install demonstrate data no one
Facing problem in module install
Can I know how to fix it?
Install XAMP & then install prestashop in that.

Can't install drupal 8 commerce checkout module

I'm trying to install drupal 8 commerce checkout module, but I'm getting the error:
Unable to install Commerce Checkout due to unmet dependencies:
core.entity_view_display.commerce_product_variation.default.summary
(commerce_product.commerce_product_variation_type.default)
I can't find the problem, what it could be and how to fix it?
It looks like we have a soft-dependency issue on Commerce Product. Please install Commerce Product first. This is an issue due to the default checkout summary.
I fixed this issue by creating a product variation "Default" I had deleted the variation that was there by default when setting up commerce.
You can install commerce module with all components using composer:
cd /path/to/drupal8
composer require "drupal/commerce"
You also can install individual components with composer e.g
cd /path/to/drupal8
composer require "drupal/commerce_authnet"
Try to install this module in this way. :)

'.' is not recognized

I was following this tutorial for aws-php sdk Tutorial.
I Installed composer manually by using Composer-Setup.exe.
So when I am trying to install composer by clicking composer.json>Composer>install
this error appeared.
And if you have some proper tutorial for using php-sdk, please comment it here.
The tutorial is 2years outdated.
What you are trying to do is execute composer.
The correct way to execute composer in a windows based system is:
php composer.phar install
or
c:\path\to\php php composer.phar install
The approach of using ./ works with linux based systems after you have made the file executable. You generally do not require that in windows.
Go through the following links for details:
https://www.codementor.io/php/tutorial/composer-install-php-dependency-manager
https://www.codementor.io/php/tutorial/composer-install-php-dependency-manager

Facebook SDK 4.0 - Composer Not Finding Repository

I'm trying to download the facebook/php-sdk-v4 repository into my project, running the "php composer.phar update" command.
I recently added this to the require section of my composer.json file:
"facebook/php-sdk-v4": "4.0.*",
Upon running the update command, I am given the following error:
---> Your requirements could not be resolved to an installable set of packages.
Problem 1
- The requested package facebook/php-sdk-v4 1.0.0 could not be found.
It seems that I have set it up exactly according to the Facebook Graph API instructions as listed on this page:
https://developers.facebook.com/docs/php/gettingstarted/4.0.0
But... It's still unable to find the repository.
Does anybody know the name of the Facebook SDK 4.0 repository or see any reason why this process I am following isn't working?
Thanks for listening!

Otrs (3.2.10) )installation on Centos

I'm trying to install otrs-3.2.10-02 on centos 6 using rpm package. But it shows following error.
error: failed dependencies :
perl-core module is required by otrs-3.2.10-02.noarch
cronie module is required by otrs-3.2.10-02.noarch
I tried to get these missing modules but couldn't get them installed.
Can anybody help me to get this working ?
Thanks in advance.
What command did you use to install OTRS? If you use yum the dependencies should be taken care of automatically.
Please check
the chapter about installing on CentOS in the OTRS manual