folder: '/vendor/bower-asset/sweetalert2/dist' disappear
polinwei opened this issue · comments
polinwei commented
I found out the folder: '/vendor/bower-asset/sweetalert2/dist' disappear, How can I get it back?
I got error message:
Invalid Parameter – yii\base\InvalidParamException The file or directory to be published does not exist: Y:\xampp\htdocs\myweb/vendor/bower-asset/sweetalert2/dist
Alexey Schevchenko commented
Hi!
Check composer.json
yii2-advanced-start/composer.json
Line 39 in 9b32ccb
and
Read
Dominus77/yii2-sweetalert2-widget#2
Alexey Schevchenko commented
In this assembly, everything is set up and should work out of the box
polinwei commented
I do those steps as below , then It is back to normal. Thanks
1. Delete folder vendor
2. Delete file composer.lock
3. composer self-update
4. composer install