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
{{ message }}
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.
ReferenceError: window is not defined
at onnx.min.js:1
at background.js:8
Since there's no DOM access in a service worker, the window variable does not exist and therefore it doesn't look like onnx.js is going to work for the time being.
The text was updated successfully, but these errors were encountered:
I'm trying to load the onnx.js library in a Chrome extension with Manifest V3 in a service worker.
I'm attempting to import it via:
with the following error printed out:
Since there's no DOM access in a service worker, the window variable does not exist and therefore it doesn't look like onnx.js is going to work for the time being.
The text was updated successfully, but these errors were encountered: