Skip to content

Instantly share code, notes, and snippets.

@edomaru
Last active August 29, 2015 14:24
Show Gist options
  • Save edomaru/50daccc0c7f9d760d3cf to your computer and use it in GitHub Desktop.
Save edomaru/50daccc0c7f9d760d3cf to your computer and use it in GitHub Desktop.
Yii2 Errors Summary

Yii Errors

Invalid Parameter – yii\base\InvalidParamException ... bower/jquery/dist

Invalid Parameter – yii\base\InvalidParamException

The file or directory to be published does not exist: /mnt/Data/Sites/Learn/yii2/yii_crmapp/vendor/bower/jquery/dist

Solution from lynicidn

issue: yiisoft/yii2#6402

rm -rf ~/.composer/cache
rm -rf /path/to/project/vendor
rm /path/to/project/composer.lock
composer global require "fxp/composer-asset-plugin:1.0.0"
composer --prefer-dist install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment