[Error] unhandlederror-Failed to register a ServiceWorker for scope ('/') with script ('/sw.js'): An unknown...
- Dominant language
- TypeScript
- Stars
- 193k
- Forks
- 42.4k
- PR merge metrics
- PR metrics pending
Description
## Error Message
````
unhandlederror-Failed to register a ServiceWorker for scope ('/') with script ('/sw.js'): An unknown error occurred when fetching the script.
````
## Stack Trace
> ⚠️ **Stack not deminified** — no frames could be mapped to original source. The frames below are minified; line/column numbers refer to the bundled JavaScript, not the original TypeScript source. To deminify, either re-run the `create_issue` MCP tool with the VS Code build commit hash (and, for extension errors, the extension id + version), or call the standalone `deminify_stack` MCP tool.
````
TypeError: Failed to register a ServiceWorker for scope ('/') with script ('/sw.js'): An unknown error occurred when fetching the script.
````
## Details
| Property | Value |
| --- | --- |
| Bucket ID | [`2ab24faa-2058-faf8-92ef-ed2f2f9edc41`](https://errors.code.visualstudio.com/bucket/2ab24faa-2058-faf8-92ef-ed2f2f9edc41?product=VSCode&extension=core&commit=8a7abeba6e03ea3af87bfbce9a1b7e48fed567b8) |
| Version | 1.129.1 |
| Commit | [`8a7abeba`](https://insiders.vscode.dev/github/microsoft/vscode/tree/8a7abeba6e03ea3af87bfbce9a1b7e48fed567b8) |
| Last Seen | Mon Jul 20 2026 23:34:36 GMT+0000 (Coordinated Universal Time) |
| Platforms | Windows, Web, Mac, Linux |
| Product | VSCode |
---
*This issue was automatically created from the VS Code Errors Dashboard*
Contributor guide
Assessment
This issue has not been assessed yet.