@javperan yup, looks like the template has changed since.
Currently, I'd probably change line 360:
await serviceWorkerLoader.loadServiceWorker(serviceWorker).catch(e => {
to:
await serviceWorkerLoader.loadServiceWorker(null).catch(e => {
Basically, I'm trying to find the section of the code that checks for the service worker, which is in line 117:
loadServiceWorker(settings) {
if (settings == null) {
// In the future, settings = null -> uninstall service worker?
console.debug("Null serviceWorker configuration. Skipping.");
return Promise.resolve();
}
...
Here you can see it checks if 'settings' is null, and seems to handle it gracefully, so any way you can force it to run through that if statement would work fine.