Hello There!
Describe Your Question
- How can I solve this problem?
init-service-worker.js:1 Uncaught TypeError: Cannot read properties of undefined (reading 'getRegistrations')
at init-service-worker.js:1:25
(anonymous) @ init-service-worker.js:1
The undefined property is in this line
navigator.serviceWorker.getRegistrations().then(function (registrations) {
What steps can we follow to reproduce the bug?
- access the viewer using IP address.
1.1. I understand CORS will be disabled, because of this I disabled SharedArrayBuffer byuseSharedArrayBuffer: 'FALSE',
for now, I’m ok using regular arrays, I just want to see the viewer kind of working first
thanks for your help!, I appreciate it