question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Ember inspector is causing errors with service workers

See original GitHub issue

Getting the following error when using service workers if Ember chrome inspector is present in browser. Uncaught (in promise) TypeError: Request scheme 'chrome-extension' is unsupported at sw.js image

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
rwwagner90commented, Nov 2, 2018

@siwalikm So chrome extensions run content scripts when you load pages, and it appears your service worker is trying to run on the chrome extension, it should not do that.

If you go to https://shipshape.io/ you can see I register a service worker there, but there is no error thrown, so it’s something specific to your service worker I think.

0reactions
siwalikmcommented, Oct 31, 2018

Is it? @rwwagner90 I’m new to sw.js. Could you please help me understand why I’m facing this issue and why the error goes away when ember inspector is disabled?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Data tab not working · Issue #739 · emberjs/ember-inspector
When in my ember project I am trying to select the data tab in the ember inspector but it not showing the data...
Read more >
Troubleshooting - Ember Inspector
Below are some common issues you may encounter when using the Inspector, along with the necessary steps to solve them. If your issue...
Read more >
TODO: Error Handling in EmberJS - TrackJS
Now for the fun stuff, let's break our EmberJS application by causing an error. Open up todo_controller.js and add an undefined(); function within...
Read more >
Ember resources and troubleshooting - Learn web development
Our final Ember article provides you with a list of resources that you can use to go further in your learning, plus some...
Read more >
How to access the Ember Data Store from the console?
__container__.lookup('service:store') ... I found it out by looking through the ember-inspector source code, since it always has access to the container.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found