NPM package datatables.net-zf is is missing /images

NPM package datatables.net-zf is is missing /images

jellisiijellisii Posts: 10Questions: 2Answers: 0
$ cd /home/me/test

$ ls - la
total 8
drwxrwxr-x 2 me me 4096 Aug 20 08:58 .
drwxrwxr-x 4 me me 4096 Aug 20 08:51 ..

$ npm install datatables.net-zf
npm WARN saveError ENOENT: no such file or directory, open '/home/me/test/package.json'
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN enoent ENOENT: no such file or directory, open '/home/me/test/package.json'
npm WARN test No description
npm WARN test No repository field.
npm WARN test No README data
npm WARN test No license field.

+ datatables.net-zf@1.10.19
added 3 packages from 2 contributors and audited 4 packages in 1.91s
found 0 vulnerabilities

$ ls
node_modules  package-lock.json

$ ls node_modules
datatables.net  datatables.net-zf  jquery

$ ls node_modules/datatables.net-zf
css  js  License.txt  package.json  Readme.md

The dist package on github indicates that the images folder should be there.

Thanks for your time and effort.

Replies

  • allanallan Posts: 61,667Questions: 1Answers: 10,096 Site admin

    Hi,

    Thanks for this. It was an error in the package.json file which should have included the images directory. It was fixed here but we've not yet done a release with that change (somewhat surprisingly - it was a year ago!). We plan to tag 1.10.20 which will include this change by the end of the month.

    Allan

  • jellisiijellisii Posts: 10Questions: 2Answers: 0

    Good to know. Thanks for all your work. :)

  • jellisiijellisii Posts: 10Questions: 2Answers: 0

    Did 1.10.20 get tagged/released? yarn outdated isn't showing it yet.

  • allanallan Posts: 61,667Questions: 1Answers: 10,096 Site admin

    Not yet - sorry. We are working on some supporting infrastructure at the moment (new CDN server) and we are stalling the releases until that is ready (expecting the releases next week now).

    Allan

  • jellisiijellisii Posts: 10Questions: 2Answers: 0

    I see the update has happened and the images are in place as expected. Thanks! :)

This discussion has been closed.