Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Module printer not found? #17

Closed
Martin-Jung opened this issue Sep 4, 2015 · 6 comments
Closed

Module printer not found? #17

Martin-Jung opened this issue Sep 4, 2015 · 6 comments

Comments

@Martin-Jung
Copy link
Contributor

Hi there,

I try to make a pdf out of a reveal.js presentation. Haven't used phantomjs before and thus had to compile it myself (running linux debian 7.0).
The subsequent call to decktape however returns some strange error messages:
Call:
bin/phantomjs decktape.js reveal.js http://127.0.0.1:8001/index.html out.pdf

Error: Cannot find module 'printer'

  phantomjs://bootstrap.js:299 in require
  phantomjs://bootstrap.js:263 in require `
@astefanutti
Copy link
Owner

Have you compiled PhantomJS from the forked version that contains improvements and the printer module that DeckTape leverages?

You may find more information in the Build section.

@Martin-Jung
Copy link
Contributor Author

I have not... Thanks, will try and close if successful ;)
EDIT: My bad, that starts it.

@astefanutti
Copy link
Owner

Would you mind uploading your Debian 7 binary version in the downloads directory so that others can benefit from it?

@Martin-Jung
Copy link
Contributor Author

Sure, but it is rather big in comparison? Compiled bin is around 57mb.
Maybe I forgot some special flags ?

@astefanutti
Copy link
Owner

Indeed, you just have to compress the file with UPX.

@Martin-Jung
Copy link
Contributor Author

Reduced filesize to about 20mb. Added and created pull.
I am actually running debian 8 - jessie.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants