Skip to content
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

Getting serviceWorker not ready error #1872

Open
4 tasks done
RajatBhardwaj007 opened this issue Sep 9, 2024 · 1 comment
Open
4 tasks done

Getting serviceWorker not ready error #1872

RajatBhardwaj007 opened this issue Sep 9, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@RajatBhardwaj007
Copy link

Before you start - checklist

  • I followed instructions in documentation written for my React-PDF version
  • I have checked if this bug is not already reported
  • I have checked if an issue is not listed in Known issues
  • If I have a problem with PDF rendering, I checked if my PDF renders properly in PDF.js demo

Description

Hi. I am seeing this error in console whenever i am trying to run sample project or use packages.

downloader.js:1 Uncaught (in promise) NotSupportedError: Failed to read the 'ready' property from 'ServiceWorkerContainer': 'ready' is only supported in pages.

image

Has anyone faced this or is there any solution for this?

Steps to reproduce

On running the project, getting below error in console:

image

Expected behavior

Should work fine.

Actual behavior

Getting error due to which pdf is not loading.

Additional information

No response

Environment

  • Browser (if applicable):
  • React-PDF version:
  • React version:
  • Bundler name and version (if applicable):
@RajatBhardwaj007 RajatBhardwaj007 added the bug Something isn't working label Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants
@RajatBhardwaj007 and others