Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

sitespeed plus1 24.0.0 throws lighthouse error

未关闭
#104 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
25/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
javascript
领域
performance

调研方向

Start by running the supplied Docker reproduction with sitespeedio/sitespeed.io:24.0.0-plus1 and the listed Lighthouse, CrUX, Chrome, and mobile options. Trace the plugin behavior around Lighthouse's Network.emulateNetworkConditions call and the reported PROTOCOL_TIMEOUT. Done means the reproduction no longer produces the Lighthouse error while retaining the requested CrUX collection behavior.

由索引模型根据 Issue 内容生成。

描述

bug
Have you read the documentation?
URL

https://www.buybuybaby.com/store/product/dream-on-me-carson-classic-3-in-1-convertible-crib-in-natural/5179453?bx=off&wmSkipPwa

What are you trying to accomplish

running sitespeed 24.0.0 plus1 throws the following lighthouse error.

Errors
chrome ux report data not found for https://www.buybuybaby.com/store/product/dream-on-me-carson-classic-3-in-1-convertible-crib-in-natural/5179453?bx=off&wmSkipPwa using ALL (crux)
Lighthouse got the following errors: {"name":"LHError","code":"PROTOCOL_TIMEOUT","friendlyMessage":"Waiting for DevTools protocol response has exceeded the allotted time. (Method: Network.emulateNetworkConditions)","lhrRuntimeError":true,"protocolMethod":"Network.emulateNetworkConditions"} (lighthouse)

What browser did you use?

Chrome, Chrome Android

How to reproduce
docker run \
--rm \
-v "$(pwd)":/sitespeed.io \
sitespeedio/sitespeed.io:24.0.0-plus1 \
--gpsi.key secretkeyhash \
--resultBaseURL "https://storage.googleapis.com/my-bucket" \
--mobile true \
--gcs.projectId myproject \
--gcs.bucketname my-bucket \
--gcs.key gcskey.json \
--gcs.removeLocalResult true \
--crux.key "cruxkeyhash" \
--crux.formFactor "PHONE" \
--crux.collect "ALL" \
--firstParty "\.buybuybaby\.com" \
--chrome.timeline \
--chrome.collectLongTasks \
--chrome.collectPerfLog \
--screenshot.type "jpg" \
--visualMetrics \
--visualElements \
--videoParams.createFilmstrip \
--filmstrip.showAll true \
--copyLatestFilesToBase true \
--cpu \
--speedIndex \
--thirdParty.cpu \
-n 3 \
baby-urls.txt \
--graphite.addSlugToKey true \
--graphite.host 10.10.10.10 \
--graphite.annotationScreenshot \
--graphite.port 2003 \
--slug Buybuybaby \
--graphite.httpPort 80 \
--graphite.namespace=sitespeed_io.Mobile
Relevant log output
Lighthouse got the following errors: {"name":"LHError","code":"PROTOCOL_TIMEOUT","friendlyMessage":"Waiting for DevTools protocol response has exceeded the allotted time. (Method: Network.emulateNetworkConditions)","lhrRuntimeError":true,"protocolMethod":"Network.emulateNetworkConditions"} (lighthouse)
主要语言
JavaScript
星标
31
派生
21
PR 合并指标
30 天内没有已合并 PR

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

sitespeedio/plugin-lighthouse 的其他 Issue

查看 sitespeedio/plugin-lighthouse 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。