Closed sklerotraficon closed 8 years ago
Try to increase timeout in test/index.js. I can't reproduce this error using node 4.2.0.
Timout is already at 60000ms ... so imho, that should not be the issue
I'll try to using node 0.10.36.
I still can't reproduce this issue.
Under NodeJs v0.10.36
Error: [Error: File is not a PDF]
pdf2img@0.1.1 test /[MY_PATH]/node-pdf2img ./node_modules/.bin/mocha --reporter spec Split and covert pdf into images /[MY_PATH]/node-pdf2img/test/test.pdf [Error: File is not a PDF] 1) Create png files /vagrant/node-pdf2img/test/test.pdf [Error: File is not a PDF] 2) Create jpg files
0 passing (2m) 2 failing
1) Split and covert pdf into images Create png files: Error: timeout of 60000ms exceeded. Ensure the done() callback is being called in this test.
2) Split and covert pdf into images Create jpg files: Error: timeout of 60000ms exceeded. Ensure the done() callback is being called in this test.
npm ERR! weird error 2 npm ERR! not ok code 0
Could you please fix that ?