koala-framework / composer-extra-assets

Composer Plugin for installing Assets using native npm/bower
BSD 2-Clause "Simplified" License
42 stars 11 forks source link

ErrorException: Missing argument 3 for Kwf\ComposerExtraAssets\Plugin::_installNpmDependencies() #17

Closed robertfausk closed 9 years ago

robertfausk commented 9 years ago

After composer update koala-framework/composer-extra-assets I get:

 [ErrorException]                                                                                                           
  Missing argument 3 for Kwf\ComposerExtraAssets\Plugin::_installNpmDependencies(), called in /home/robert/workspace/dfga/vendor/koala-framework/composer-extra-assets/Kwf/ComposerExtraAssets/Plugin.php on line 140 and defined     

My composer.json:

    ...
    require: {
        ...
        "koala-framework/composer-extra-assets": "^2.0"
    },
    "extra": {
         ...
        "require-bower": {
            "jquery-validation": "~1.14.0"
        }
    }
nsams commented 9 years ago

This happens when bower is not installed globally, as a temporary workaround you can npm install -g bower.

robertfausk commented 9 years ago

Great job! I will give it a try.

nsams commented 9 years ago

If everything is working for you, I can create a stable release.

robertfausk commented 9 years ago

Thank you. Everything seems to work as expected. You can create a new tag.