Discourse Development: Failed to register/update a ServiceWorker

Did you compile assets in your dev environment at some point? You may still have an assets manifest file that can cause this. Try clearing your public/assets folder.