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

Document is not defined #40

Closed
fzucchet opened this issue Jul 30, 2020 · 2 comments
Closed

Document is not defined #40

fzucchet opened this issue Jul 30, 2020 · 2 comments

Comments

@fzucchet
Copy link

Hi!
I try to use the ecodev but i get this error when add the lib :
typescript ERROR Error: Uncaught (in promise): ReferenceError: Document is not defined ReferenceError: Document is not defined

@fzucchet
Copy link
Author

i use it with nativescript (android deploy)

@PowerKiKi
Copy link
Member

AFAIK we already follow best-practices and use document injection to be as compatible as possible (eg with SSR):

@Inject(DOCUMENT) private document: Document

I am not familiar with NativeScript, you'll have to debug on your own

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