Dominus77 / yii2-advanced-start

Yii2 Start Project Advanced Template
https://dominus77.github.io/yii2-advanced-start/
MIT License
23 stars 12 forks source link

folder: '/vendor/bower-asset/sweetalert2/dist' disappear #10

Closed polinwei closed 7 years ago

polinwei commented 7 years ago

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
Dominus77 commented 7 years ago

Hi! Check composer.json https://github.com/Dominus77/yii2-advanced-start/blob/9b32ccbb57c3624e00c038609f845c10482fce33/composer.json#L39 and https://github.com/Dominus77/yii2-advanced-start/blob/9b32ccbb57c3624e00c038609f845c10482fce33/common/config/main.php#L6 Read https://github.com/Dominus77/yii2-sweetalert2-widget/issues/2

Dominus77 commented 7 years ago

In this assembly, everything is set up and should work out of the box

polinwei commented 7 years ago

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