NekitCorp / chrome-extension-svelte-typescript-boilerplate

Boilerplate for Chrome Extension Svelte Typescript project
264 stars 53 forks source link

"Waiting for service worker" popup with npm run dev on fresh install #29

Closed Glench closed 1 month ago

Glench commented 1 month ago
Screenshot 2024-10-23 at 9 18 26 AM

When I clone the repo from source, run npm install, then npm run dev and load the extension unpacked from the dist/ folder, I see an endless reloading "Waiting for service worker" when I click the extension's icon to open the popup/options page. I'd expect instead to see the correct popup/options page. If I run npm run build the popup works fine and I see the +/- count demo.

I'm on Chrome for Mac 130.0.6723.59.

NekitCorp commented 1 month ago

Hello! Yes, this is a known issue in the new version 130 of Chrome. I have updated the package, please try again in the new version.

You can read more about the issue here – https://github.com/crxjs/chrome-extension-tools/issues/918

Glench commented 1 month ago

Marvelous, thank you so much! Changing the dependencies of my project to the ones listed in this package fixed it!

JustinLeei commented 4 weeks ago

update dependencies,it's work