2

I installed the composer manager module and enabled it. I have tried initializing it from using drush in the command line and failed using the command drush composer-manager-init.

I am confused on how to add the libraries intl, address, pricing and tax to my site.

6

Please refer to our installation instructions for Commerce 2.x here:

http://docs.drupalcommerce.org/v2/getting-started.html

Note that we recommend the Drupal console project, not drush. However, the linked Composer Manager instructions in there may help you do it via drush.

  • 2
    docs.drupalcommerce.org Humbly correct the link that the god of drupal commerce @Ryan Szarama posted. I do not know why your link does not work. – pinueve Dec 27 '16 at 8:43
  • 1
    hah, thanks. Looks like some URLs changed in a push to the gitbook. – Ryan Szrama Dec 28 '16 at 17:11
1

I'm not sure you can use drush to initialize composer manager. I usually use the init script from composer manager and have had no issue with it:

This is how I typically do it.

php modules/composer_manager/scripts/init.php (initialize composer manager)
composer drupal-update --no-dev (fetch dependencies)

You can also run composer drupal-update without the --no-dev but I've found that composer sometimes can fail to update certain libraries within drupal core, as it expects to find .git files but these are not included in Drupal core builds.

  • So you mean i should run the scripts via the windows command line. thanks – okello Jan 29 '16 at 9:41
  • This is the method I used. – kiamlaluno Mar 7 '16 at 7:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.