You are here


composer install problem with Currency module

Submitted by pericles on Fri, 04/01/2016 - 19:38


$ sudo drush composer-manager update


Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - The requested package bartfeenstra/currency could not be found in any version, there may be a typo in the package name.

Potential causes:
 - A typo in the package name
 - The package is not available in a stable-enough version according to your minimum-stability setting
   see  for more details.


Composer アップデート時の RuntimeException

Submitted by pericles on Fri, 04/01/2016 - 16:36

Composer をアップデートしようとすると、下記のエラーメッセージ。

$ sudo drush composer-manager update 
  Could not load package symfony/symfony in [UnexpectedValueException] Could not parse version constraint ^1.0.7: Invalid version strin
  g "^1.0.7"

これは、drushが使用しているComposer が古いため。composer.jsonファイルを修正してアップデートすればよい。

$ cd ~/.drush/composer/
$ sed -ie "s/1.0.0-alpha[1-9]/dev-master/g"  composer.json
$ composer update


Subscribe to RSS - composer