#Error: No route matches URL "/mockServiceWorker.js" on fresh create-remix@latest

1 messages · Page 1 of 1 (latest)

dull grail
#

Title says it all, not sure whats going on but a fresh create of remix yields this error in the console on npm run dev. Any idea whats up?

rugged imp
# dull grail Title says it all, not sure whats going on but a fresh create of remix yields th...

I’m not 100% certain on this, but I believe service workers try to attach themselves in your browser on a specific url like localhost:3000 and when you visit the page again it wants to try and do what it was supposed to.

So you probably had a service worker register itself in some app you were working on and now you’re seeing it in another app cause to the browser it’s the same app

dull grail
#

I think you're right, so I ran it on a different port to validate. It works. Not sure what to do about the service worker on 3000