-
-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Service worker registration failed. Status code: 2 #164
Comments
cc: @cezaraugusto :) |
hey @abeisleem thanks for trying Extension.js! Regarding the templates, I still need to update the website. So far the v2.0.0 is taking all my free time. If you're feeling adventurous, I'd love to see a PR in https://github.com/extension-js/extension.js.org updating the template list. Regarding the CLI not running, I just released npx extension@latest create my-extension --template=content-react issue164.mp4 |
Thanks @cezaraugusto! I just gave this a try and created a new extension (at the time of running I got v2.0.0-alpha.22) and I'm getting the following error: I tried again with v2.0.0-alpha.22 and it lead to the same error. The extension manager is not running at all. I noticed you're running dev with |
FYI, I opened a PR for the templates: https://github.com/extension-js/extension.js.org/pull/6 |
@abeisleem thanks! what OS are you using and which command are you running? |
My pleasure, @cezaraugusto! I'm using Windows 11 and the commands I'm running are |
I'm getting the following error when using the
content-react
template from runningnpx extension create my-extension --template=content-react
I'm using it as is -- have not made any changes yet.
This can be found by navigating to
chrome://extensions
and pressing the Reload icon on the extension.That template comes with a
background.ts
file that has the below code that's not console logging:The is not an issue when:
dev
and then manually Load Unpacked onto Chromebuild
andstart
the extension.System info:
extension v2.0.0-alpha.8
pnpm v9.7.0
Chrome Version 128.0.6613.120 (Official Build) (64-bit)
PS. None of the template commands in https://extension.js.org/n/getting-started/templates work. I had to figure out that the template are named after the folders in https://github.com/extension-js/extension.js/tree/main/examples
The text was updated successfully, but these errors were encountered: