Human initialization issue #341
-
Hi Vlad! I'm experiencing a weird behavior when initializing the human library in my electron js app running in the browser.
Here are some screenshots of this situation:
Any suggestion or idea about this? I'm afraid |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
i can probably add some additional intelligence to handle this as |
Beta Was this translation helpful? Give feedback.
-
i've just added some extra detection code to better handle situations like this, new version is on github |
Beta Was this translation helpful? Give feedback.
electron
provides both nodejs and browser contexts, so it really depends where and how you're loading the library.but basically, you'll need to find an
electron
setting to disable node context for a page where you're loadinghuman
.i can probably add some additional intelligence to handle this as
electron
is a common use-case. but then again, i cannot know if user wants to run in browser or node context? there are valid use-cases for both.