code-server version:V2
resourceServiceWorkerClient.ts:27 Uncaught TypeError: Cannot read property 'register' of undefined
at new ServiceWorkerStarter (resourceServiceWorkerClient.ts:27)
at resourceServiceWorkerClient.ts:19
at Function.Module._invokeFactory (loader.js:996)
at Module.complete (loader.js:1006)
at ModuleManager._onModuleComplete (loader.js:1623)
at ModuleManager._resolve (loader.js:1583)
at ModuleManager.defineModule (loader.js:1234)
at DefineFunc (loader.js:1673)
at resourceServiceWorkerClient.ts:4
at fake:1
What browser and version of that browser are you using? The line
in question is: navigator.serviceWorker.register so it looks
like maybe the browser doesn't support service workers?
Edit: this can also happen by using HTTP on something other than localhost.
Most helpful comment
What browser and version of that browser are you using? The line
in question is:
navigator.serviceWorker.registerso it lookslike maybe the browser doesn't support service workers?
Edit: this can also happen by using HTTP on something other than localhost.