• Jobs
  • About Us
  • professionals
    • Home
    • Jobs
    • Courses and challenges
  • business
    • Home
    • Post vacancy
    • Our process
    • Pricing
    • Assessments
    • Payroll
    • Blog
    • Sales
    • Salary Calculator

0

282
Views
MSW - Mock Service Worker - "Operation has been aborted"

I ran into this error when using the library msw.

[MSW] Failed to register the Service Worker:
Failed to register a ServiceWorker for scope ('http://localhost:3000/') with script ('http://localhost/mockServiceWorker.js'): Operation has been aborted

enter image description here

An important thing is, if I use another browser or a different Chrome profile, it'll work just fine.

I tried clearing cache but that doesn't help. How to resolve this?

almost 3 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Go to chrome://flags/#allow-insecure-localhost, set "Allow invalid certificates for resources loaded from localhost" to Enabled.


I resolved the issue with this search:enter image description here

almost 3 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Our process Sales
Legal
Terms and conditions Privacy policy
© 2025 PeakU Inc. All Rights Reserved.

Andres GPT

Recommend me some offers
I have an error