# Google Chrome Service Workers 的错误消息

**URL:** <https://meta.discourse.org/t/error-message-for-google-chrome-service-workers/268249>\
**Category:** Bug\
**Created:** [2023 年6 月 14 日 04:31 UTC](https://meta.discourse.org/t/error-message-for-google-chrome-service-workers/268249 "2023-06-14T04:31:05Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

作者： ![ShaoJie](https://avatars.discourse-cdn.com/v4/letter/s/ac8455/32.png) [@ShaoJie](https://meta.discourse.org/u/ShaoJie)\
发布日期： [2023 年6 月 14 日 04:31 UTC](https://meta.discourse.org/t/error-message-for-google-chrome-service-workers/268249/1 "2023-06-14T04:31:05Z")

</div>

似乎是 Workbox 版本兼容性问题。我在使用 Firefox 时没有遇到任何错误，但似乎仅在我使用 Google Chrome 时发生。我已部署了 Discourse 的旧版本 (3.1.0.beta2) 和最新版本 (3.1.0.beta5)，并且在使用 Google Chrome 时，仅在 3.1.0.beta5 版本中出现此错误。

我在 [meta.discourse.org](http://meta.discourse.org) 上也看到了相同的错误。

* * *

```plaintext
Registrations in: /Users/mac/Library/Application Support/Google/Chrome/Default (0)
Scope: https://meta.discourse.org/
Registration ID: 258 (unregistered)
Navigation preload enabled: false
Navigation preload header length: 4
Unregistered worker:
Installation Status: REDUNDANT
Running Status: RUNNING
Fetch handler existence: UNKNOWN
Fetch handler type: UNKNOWN
Script: https://meta.discourse.org/service-worker.js
Version ID: 279
Renderer process ID: 2118
Renderer thread ID: 2
DevTools agent route ID: 6
Log:

```

* * *

 ![12.10.59](https://global.discourse-cdn.com/meta/original/4X/6/a/9/6a92284e111beae1bee470edef131e576f68cfc6.png)

---

_[View the full topic](https://meta.discourse.org/t/error-message-for-google-chrome-service-workers/268249)._
