Z
Z
Zakharov Alexander2016-06-16 11:53:17
JavaScript
Zakharov Alexander, 2016-06-16 11:53:17

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.
46ef7b55f75d481887a883847c9a8c5e.png

9d23174c259742c3a7c2990b2d49ba55.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Z
Zakharov Alexander, 2016-06-17
@AlexZaharow

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 question

Ask a Question

731 491 924 answers to any question