sinanbekar / browser-extension-react-typescript-starter

🚀 React & TypeScript Starter for developing web extensions with hot reload!
MIT License
136 stars 20 forks source link

Service worker registration failed. Status code: 3 (latest version of vite) #56

Closed ionutanin closed 1 year ago

ionutanin commented 1 year ago

Having some issues on dev with service worker not working. Any solution for this please?

image
sinanbekar commented 1 year ago

Thanks for reaching out. For this time you should not update core package versions (like vite and @crxjs/vite-plugin). As mentioned in the README.md @crxjs/vite-plugin powers the development side of this starter. This plugin is a bit complex and updating vite can be breaking. If you have a strong reason to update, you should follow the plugin releases to match and maybe manually test it.