Skip to content

fix(gatsby): Handle registered service worker check errors #34320

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

fix(gatsby): Handle registered service worker check errors #34320

wants to merge 2 commits into from

Conversation

4www
Copy link
Contributor

@4www 4www commented Dec 24, 2021

Handle the error when checking for existing service workers.

Description

Getting this log in gatsby error UI for a fresh gatsby install.

Failed to get service worker registration(s): Storage access is restricted in this context due to user settings or private browsing mode.

Might be because some browser default functionalities are restricted in my browser (some js, storage etc.)

Full error in UI (is pretty meaningless):

Unhandled Runtime Error

One unhandled runtime error found in your files. See the list below to fix it:

Unknown Runtime Error

The operation is insecure.
:

No codeFrame could be generated

Handle the error when checking for existing service workers
@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Dec 24, 2021
@LekoArts LekoArts added topic: core Relates to Gatsby's core (e.g. page loading, reporter, state machine) and removed status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer labels Jan 3, 2022
@LekoArts LekoArts changed the title handle registered service worker check errors fix(gatsby): Handle registered service worker check errors Jan 3, 2022
@4www
Copy link
Contributor Author

4www commented Jan 6, 2022

Hello!
Just checking if anything happened about this one? Cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: core Relates to Gatsby's core (e.g. page loading, reporter, state machine)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants