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

getting TypeError: annotation.toJSObject is not a function #155

Closed
DanielRuf opened this issue Jul 20, 2018 · 2 comments
Closed

getting TypeError: annotation.toJSObject is not a function #155

DanielRuf opened this issue Jul 20, 2018 · 2 comments

Comments

@DanielRuf
Copy link

I am getting TypeError: annotation.toJSObject is not a function when I run decktape against the latest reveal.js release using yarn.

@astefanutti
Copy link
Owner

Thanks for the report. It should be fixed in version 2.8.5 with 76eb3e7.

It happens Chrome now outputs PDF with links as annotation references as opposed to objects. As you use Yarn, you did not have the compatible version of Puppeteer installed. I've made the fix capable of dealing with whatever link format. So you should be able to keep using Yarn to install DeckTape.

@DanielRuf
Copy link
Author

It works now =) 👍

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