nerburish / yii2-masonry-view

Yii2 widget to extend the Yii2 ListView for use it as Masonry grid
5 stars 2 forks source link

用composer安装的时候会报错 #2

Open mxyc opened 7 years ago

mxyc commented 7 years ago

nerburish/yii2-masonry-asset 1.0.0 requires bower-asset/masonry * -> no matching package found.

请问这个怎么解决?谢谢

nerburish commented 7 years ago

Hi, try to download again but now using "nerburish/yii2-masonry-view": "*". I made some changes to allow use stable versions.

The problem source was the repository "bower-asset/masonry". Via composer, that repository only could find dev versions. Then, force you to set the option "minimum-stability": "dev" in your composer.json. Now I changed the repository dependency to "bower-asset/masonry" that points to the same source but composer can use stable versions.

Greetings

isudakoff commented 7 years ago

@nerburish I try your advice, but it does not help. Any new features?

nerburish commented 7 years ago

hi @isudakoff, I tried now and seems still working to me. What error throws composer to you?

Important have the composer-asset-plugin installed becuase the repository have dependences from bower.

Greetings