bower datatables.net-zf missing images

bower datatables.net-zf missing images

cbtdevcbtdev Posts: 39Questions: 12Answers: 0

Hello,

Just installed datatables.net and datatables.net-zf via bower and it looks like there is a missing 'images' directory. These are the errors I get:

/bower_components/datatables.net-zf/images/sort_both.png 404 (Not Found)
/bower_components/datatables.net-zf/images/sort_asc.png 404 (Not Found)

Did I miss something?

Thanks!

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 54,703Questions: 1Answers: 8,556 Site admin

    Hi,

    No, you haven't missed anything. It was me who missed adding the images to the Foundation styling package. Sorry about that!

    I've done so now. However, there doesn't appear to be a way to tell NPM to install from the HEAD of a repo - unless you know better (I'm still fairly new to NPM!)?

    Allan

  • cbtdevcbtdev Posts: 39Questions: 12Answers: 0

    Thanks Allan, I'm actually not familiar with NPM. Currently trying to get the hang of bower. I see the images now in the github repo, however, updating via bower doesn't seem to pull the images over. I am assuming this is because of the install issue you are experiencing.

    For now, I will just grab the images manually.

    Thanks again for your help!

  • allanallan Posts: 54,703Questions: 1Answers: 8,556 Site admin
    Answer ✓

    Oops - sorry, not sure why I thought you were using NPM when you said Bower!

    Bower is using the latest tag rather than the head. But, with Bower you can do:

    bower install datatables.net-zf#0af922bf4dd2b2474287539a1331759dd5c71a1c
    

    Allan

  • cbtdevcbtdev Posts: 39Questions: 12Answers: 0

    No worries, thanks again for your help!

This discussion has been closed.