Answer the question
In order to leave comments, you need to log in
Bower doesn't update all the files in the repository?
Hello.
Updated today one component https://github.com/inuyaksa/jquery.nicescroll and the program stopped working. It turned out that when updating the component, one file was not loaded, which is indicated in the script src="...":
Here are the files
in
the repository: .js". Do not tell me what's the matter? The Demo directory doesn't really interest me, but it doesn't exist either.
Answer the question
In order to leave comments, you need to log in
studied the issue in detail.
This problem only affects the repository specifically https://github.com/inuyaksa/jquery.nicescroll
I load it and see in the directory that the same file is missing:
Very strange. What is most misleading is that the version numbers are 3.6.8 everywhere:
We examine the repository for tags and branch names and here we find something "wrong":
and it is the 3.6.8 branch with the missing file that loads bower! !! And he does his job right. Those. not recognizing the v3.6.8-fix tag as a version greater than 3.6.8, then it uses the branch with the 3.6.8 tag, where the file does not exist.
Now let's conduct an "experiment" and ask not for version 3.6.8, but for v3.6.8-fix:
Now let's fix the bower.json file:
And check the result:
The question remains - what about the >= signs in the bower.json settings? But no way. It will be necessary to keep this in mind and as soon as the plugin author fixes the tags, it will be possible to work with versions again.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question