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

[Bug] ReferenceError: document is not defined #46

Closed
codesinging opened this issue Dec 29, 2020 · 3 comments
Closed

[Bug] ReferenceError: document is not defined #46

codesinging opened this issue Dec 29, 2020 · 3 comments

Comments

@codesinging
Copy link

When I convert the svg:
https://nodejs.org/static/images/logo.svg
I found the error: ReferenceError: document is not defined.

@kag359six
Copy link

@codesinging Ran into the same issue. Try downgrading. I downgraded to 0.7.0 and the error no longer appears.

@ZeeCoder
Copy link

Same here.
I'm trying to render an SVG with an image with it.
The error happens whether I use a relative file path or base64 encoded string.

Using 0.7.0 fixes the issue for me for the time being 👍

@fuzhenn
Copy link
Owner

fuzhenn commented Sep 14, 2021

should be fixed by #48

@fuzhenn fuzhenn closed this as completed Sep 14, 2021
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

4 participants