Bower install

Bower install

jjordaanjjordaan Posts: 4Questions: 2Answers: 0

Hi,

Trying to use bower to install bower.

bower install --save datatables.net works.

bower install --save datatables.net-buttons fails.

Error:
bower datatables.net-buttons#* validate 2.2.0 against https://github.com/DataTables/Dist-DataTables-Buttons.git#*
bower datatables.net-buttons#>=1.0.3 cached https://github.com/DataTables/Dist-DataTables-Buttons.git#2.2.0
bower datatables.net-buttons#>=1.0.3 validate 2.2.0 against https://github.com/DataTables/Dist-DataTables-Buttons.git#=1.0.3
bower ECONFLICT Unable to find suitable version for datatables.net-buttons

Any help much appreciated.

Thanks.
JJ

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 61,726Questions: 1Answers: 10,109 Site admin
    Answer ✓

    That's weird. There is no v2 of Buttons yet - the current release is 1.3.1. The github repo shows that I don't appear to have screwed up the tagging there.

    Having said that - there is a 2.2.0 tag for some reason on the distribution repo. That's wrong and is what is causing the issue!

    For the moment use datatables.net-buttons@1.3.1 until I figure out what has gone wrong here. Thanks for flagging that up.

    Allan

  • jjordaanjjordaan Posts: 4Questions: 2Answers: 0
    edited May 2017

    Hi,

    If it helps someone else, I purchased a bootstrap theme and it's resources were a bit out of date. They use bower, so I installed bower-update-all npm package to update all my packages. After that the conflicts went away. I've also used the -bs packages and not the -dt packages on the bower install page.

    Regards.
    JJ

This discussion has been closed.