You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found a solution to this issue. The problem occurs because WebGazer internally relies on a global webgazer object, but when using ES modules, this global reference isn't created automatically.
The simplest fix is to manually assign the webgazer instance to the window object:
import webgazer from 'webgazer';
window.webgazer = webgazer; // add this line
I got an error while I was integrating webgazer in my Vue 2 project.
And it was caused at line 42 in util.mjs
I got this error every time in console after I started the webgazer
Is there any hint to fix it?
WebGazer/src/util.mjs
Lines 28 to 51 in 9cc7b97
The text was updated successfully, but these errors were encountered: