Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Lighthouse viewport is still in mobile view after running test using desktop configuration

Đang mở
#85 5 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
30/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
docker, javascript
Lĩnh vực
performance

Hướng nghiên cứu

Start by reproducing the reported Docker command with sitespeed.io 17.1.1-plus1 and the Lighthouse desktop settings. Compare the generated screenshot and Lighthouse report with the requested viewport configuration; done means the screenshot and diagnostics use desktop rather than mobile settings.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

I am having trouble running sitespeed 17.1.1-plus1 using lighthouse plugin. My configuration settings seems working fine but based on lighthouse report, the screenshot is in mobile view. Here's my command running tests:

docker run --name sitespeed --volumes-from=jenkins --network=host --privileged=true --shm-size=1g --rm -v \"/tmp/sitespeed.io/\":/sitespeed.io \sitespeedio/sitespeed.io:17.1.1-plus1 --plugins.remove browsertime \--lighthouse.settings.screenEmulation.mobile false --lighthouse.settings.formFactor desktop --lighthouse.settings.throttling.rttMs 40 --lighthouse.settings.throttling.throughputKbps 10240 --lighthouse.settings.throttling.cpuSlowdownMultiplier 1 \--graphite.host localhost --graphite.port 2003 --graphite.httpPort 8080 --graphite.namespace TestFolderD.default

See screenshot attached:
Viewport is in mobile
Snag_4d8eddb
But the summary setting is in desktop
Snag_4d98e03

I also tried using the --lighthouse.setting.preset desktop but its not working as well.

Please help me guys, it gives discrepancy on lighthouse opportunities and diagnostics as well. Thanks a lot.

Ngôn ngữ chính
JavaScript
Star
31
Fork
21
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của sitespeedio/plugin-lighthouse

Tất cả issue của sitespeedio/plugin-lighthouse

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.