Install Drupal 8 Commerce with composer - drupal

I want to install Drupal Commerce on my new D8, I do it with Composer like recommended in the guide here (https://docs.drupalcommerce.org/commerce2/developer-guide/install-update/installation), but I get this :
$ composer require drupal/commerce
[InvalidArgumentException] Could not find package drupal/commerce.
Did you mean this?
drupal/commerce_taxcloud
I'm using Wamp64 on Windows 10, if it matters.
Any idea what I'm doing wrong ?
Thank you

Try whit:
composer require 'drupal/commerce:^2.21'

Related

How to upgrade a module already distributed with Drupal Commerce?

Drupal Commerce 1 has included Crumbs 1.10.
I need to upgrade Crumbs to 2.7, and this version isn't included with Drupal Commerce.
How can I upgrade it without breaking Drupal Commerce distribution (and update) ?
Thanks.
Composer Package Management:
If you are using Composer to manage the installed modules/distributions for your Drupal 7 site, you can set the minimum version constraint and then run composer update for the Crumbs module:
composer require 'drupal/crumbs:^2.7'
composer update 'drupal/crumbs'
Traditional/Legacy code repositories:
For traditional/legacy code repositories that don't use composer, you can:
Backup your database/codebase
Download the desired version of the module
replace the older version of the module (typically found in your codebase's /profiles/contrib/commerce/modules/ directory or /modules/contrib/ directory).
Deploy the updated module code.
Run update.php or drush updatedb.
Clear caches.
In the case that the Drupal Commerce profile has a fixed version dependency for Crumbs 1.10, you should be able to update the version constraint in the .info file for the module.
You can use drush command as follow to update a specific version of module.
$ drush pm-update views_send-7.x-1.x-dev
Thanks

Sylius commerce symfony 2

I need help about sylius commerce installation, acctualy
somewhere in the middle of instalation I get an error:
[RuntimeException]
Running git clone https://github.com/bergie/create.git failed with 1
and all commands I did before was just :
composer create-project sylius/sylius-standard -s dev
...
I dont know where to look for solution, so please if anyone could help me I will be very thankful.
Greetings
I can't reproduce this problem on my Linux machine, but it could be a problem on your system with Git.
Try installing a newer version of git (make sure to link the 'git' command to the new version):
https://git-scm.com/downloads

Wordpress plugin install fail

Today I am starting a new project and I am stuck on wordpress plugins installation
Downloading install package from
https://downloads.wordpress.org/plugin/types.1.8.11.zip…
Unpacking the package…
Installing the plugin…
The package could not be installed. No valid plugins were found.
Plugin install failed.`
I ve tried different plugins and all of them produce this error! any ideas?
you can use class-tgm-plugin-activation to install your plugin automatically at your theme
visit and download, https://github.com/TGMPA/TGM-Plugin-Activation
include at your functions
I managed to sucessfully install and activate it, right now. I used wp-cli, but that should not make much difference. I can recommend it though, as it is more verbose, which helps tracking down errors
What is the result of
ls -l .../path/to/wordpress/wp-content/plugins
Assuming you are on Linux/Unix. Do the other plugins have different permissions/users?

Install Distribution on Existing Drupal INstallation

How do I Install Distribution on Existing Drupal Installation, I wanted to install OpenEnterprise on a newly installed Drupal by Softtacolous? I tried going through the themes route by did not work.
Don't use Softacolous and do manual install and it solves it.

Install Sylius - Symfony2 OpenSource Ecommerce

I am trying to install Sylius from here but i am unable to get it working.
On running the command i get process timed out...well...due to the ever slow internet we use here.
Could anyone please guide into installing sylius manually??
Like say manually updating vendors using composer.phar
If composer timeouts try this:
$ COMPOSER_PROCESS_TIMEOUT=300 ./composer.phar install
You can replace 300 with any number of seconds you prefer.

Resources