saleor / saleor-storefront

A GraphQL-powered, NextJs-based, PWA storefront for Saleor. IMPORTANT: This project is [DEPRECATED] in favor of saleor/react-storefront soon to become our default demo and storefront starter pack.

Home Page:https://demo.saleor.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Service Worker Returns "bad-precaching-response" category/[slug]

crewstein opened this issue · comments

What I'm trying to achieve

Build & run the project.

Steps to reproduce the problem

  1. npm run build:start

What I expected to happen

Project to run without errors from service worker.

Screenshots

image
image

As seen from the images, it won't pass the slug argument but I honestly don't see why since other pages are built and run properly.

Hi! Could you tell me how you solved this?

@thisispatso Hi! Could you share the solution how do you solved this issue?

Hi, to be fair I cannot fully remember but I think that this was happening due to running the service worker within the dev environment. Try disabling it while developing and only enable it on prod.