I had downloaded a basic yii2 application.And then pushed into git.But then in other pc I installed all the dependencies using a composer. But I dont have bower folder now so getting error:
The file or directory to be published does not exist: C:\xampp\htdocs\jumpbyte-site\vendor\bower/jquery/dist'
My composer.json file has following require dependencies:
"require": {
"php": ">=5.4.0",
"yiisoft/yii2": "*",
"yiisoft/yii2-bootstrap": "*",
"yiisoft/yii2-swiftmailer": "*",
"himiklab/yii2-sitemap-module": "*"
},
To manage bower and npm package dependencies through Composer, you need to install (globally) fxp/composer-asset-plugin :
composer global require "fxp/composer-asset-plugin:~1.1.1"
composer install
Read more : http://www.yiiframework.com/doc-2.0/guide-start-installation.html#installing-via-composer
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With