MacGyer/yii2-materializecss

Installed files don't match src

wardjk opened this issue · 4 comments

I discovered a difference between the directory structure that was created during installation when I tried the sample layout which has widgets such as Nav referenced in the "navigation" directory in its path which doesn't exist as installed. I looked at src in a downloaded zip file and found that there are some widgets in the "navigation" and "media" directories. I simply replaced what was installed with what I found in the zip file to fix my problem. I also found that Collapsible, RangeInput, Carousel, LinkPager, MaterialBox, Parallax, and Slider had not been installed.

I just did like stated in http://macgyer.github.io/yii2-materializecss/#getting-started:

"require": {
    "macgyer/yii2-materializecss": "*"
},

Composer log:
composer

And everything's fine:

Folder structure:
dirs

Layout file:
layout

So, please do the following:
Remove repo, and do composer update, after checking composer.json for "macgyer/yii2-materializecss": "~2.0"

I only fixed it by using the quick workaround that I mentioned but haven't uninstalled/reinstalled to test what happened.

I have since encountered a similar problem with the bower/materialize/dist contents which contained a "fonts" directory but scripts referencing the assets look for a "font" directory.

any additional information here? If not I am closing this issue because it can't be reproduced by me.

No more info. I haven't installed again to try to duplicate the first installation which seemed to go smoothly (no errors or warnings) until it was put to use. I didn't try to deviate from the suggested installation instructions. It may be peculiar to my conditions (i.e. Windows 10). I wouldn't spend time on it unless someone else has similar symptoms.