I've been following the instructions at https://www.pwabuilder.com to make my site available offline. In the console log I'm getting messages stating the PWA has been installed, and is cached offline but I'm getting the error in the title.
I've been to numerous stackoverflow threads and other sites and nothing I am trying is working. This isn't my forte I'm a UX/UI designer who can code simple static pages but this is a little above my skill level at the moment.
I'm really struggling to figure out how to fix the issue as (to me) the error is quite vague. I'm assuming its something simple ive missed. The site url is https://ovoc.netlify.com/ but I will also link the manifest and service worker below
manifest.json
{ "dir": "ltr", "lang": "en", "name": "Our voice our community | Get involved in de…", "scope": "/", "display": "fullscreen", "start_url": "https://ovoc.netlify.com/", "short_name": "OVOC", "theme_color": "transparent", "description": "Our voice our community is a project run by BGC Wales to empower young people to engage in community decision making", "orientation": "any", "background_color": "transparent", "related_applications": [], "prefer_related_applications": false, "icons": [{ "src": "assets/icons/logo.png", "sizes": "192x192", "type": "image/png" }] } And here is the service worker
// This is the "Offline copy of pages" service worker const CACHE = "pwabuilder-offline"; // TODO: replace the following with the correct offline fallback page i.e.: const offlineFallbackPage = "index.html"; const offlineFallbackPage = "index.html"; // Install stage sets up the index page (home page) in the cache and opens a new cache self.addEventListener("install", function (event) { console.log("[PWA Builder] Install Event processing"); event.waitUntil( caches.open(CACHE).then(function (cache) { console.log("[PWA Builder] Cached offline page during install"); if (offlineFallbackPage === "index.html") { return cache.add(new Response("TODO: Update the value of the offlineFallbackPage constant in the serviceworker.")); } return cache.add(offlineFallbackPage); }) ); }); // If any fetch fails, it will look for the request in the cache and serve it from there first self.addEventListener("fetch", function (event) { if (event.request.method !== "GET") return; event.respondWith( fetch(event.request) .then(function (response) { console.log("[PWA Builder] add page to offline cache: " + response.url); // If request was success, add or update it in the cache event.waitUntil(updateCache(event.request, response.clone())); return response; }) .catch(function (error) { console.log("[PWA Builder] Network request Failed. Serving content from cache: " + error); return fromCache(event.request); }) ); }); function fromCache(request) { // Check to see if you have it in the cache // Return response // If not in the cache, then return error page return caches.open(CACHE).then(function (cache) { return cache.match(request).then(function (matching) { if (!matching || matching.status === 404) { return Promise.reject("no-match"); } return matching; }); }); } function updateCache(request, response) { return caches.open(CACHE).then(function (cache) { return cache.put(request, response); }); } I'm really struggling and my client is a charity so I really want to make this work for them, any help would be gratefully appreciated!

