【发布时间】:2021-08-16 13:39:25
【问题描述】:
Fri, 28 May 2021 09:27:18 GMT ChromeLauncher Waiting for browser............................................................................................. Fri, 28 May 2021 09:27:19 GMT ChromeLauncher Waiting for browser............................................................................................... Fri, 28 May 2021 09:27:19 GMT ChromeLauncher Waiting for browser................................................................................................. Fri, 28 May 2021 09:27:20 GMT ChromeLauncher Waiting for browser................................................................................................... Fri, 28 May 2021 09:27:20 GMT ChromeLauncher Waiting for browser..................................................................................................... Fri, 28 May 2021 09:27:21 GMT ChromeLauncher Waiting for browser....................................................................................................... Fri, 28 May 2021 09:27:21 GMT ChromeLauncher:error connect ECONNREFUSED 127.0.0.1:36157 Fri, 28 May 2021 09:27:21 GMT ChromeLauncher:error Logging contents of /tmp/lighthouse.mOZ6RIf/chrome-err.log Fri, 28 May 2021 09:27:21 GMT ChromeLauncher:error Fontconfig warning: "/etc/fonts/fonts.conf", line 86: unknown element "blank" Inconsistency detected by ld.so: ../elf/dl-tls.c: 488: _dl_allocate_tls_init: Assertion `listp->slotinfo[cnt].gen <= GL(dl_tls_generation)' failed! Unable to connect to Chrome 370/0: Lighthouse analysis FAILED for https://website.com/en/.... rm: no such file or directory: report/lighthouse/website/en....report.json /var/lib/jenkins/workspace/project/node_modules/lighthouse-batch/index.js:219 const score = toScore(summary.detail.performance) TypeError: Cannot read property 'performance' of undefined at checkBudgets (/var/lib/jenkins/workspace/project/node_modules/lighthouse-batch/index.js:219:42) at /var/lib/jenkins/workspace/project/node_modules/lighthouse-batch/index.js:67:20 at Array.map (<anonymous>) at execute (/var/lib/jenkins/workspace/project/node_modules/lighthouse-batch/index.js:39:38) at Object.<anonymous> (/var/lib/jenkins/workspace/project/node_modules/lighthouse-batch/run.js:28:1) at Module._compile (internal/modules/cjs/loader.js:1068:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1097:10) at Module.load (internal/modules/cjs/loader.js:933:32) at Function.Module._load (internal/modules/cjs/loader.js:774:14) at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! Lighthouse_Reports@1.0.0 lighthouse: `lighthouse-batch -f sites.txt -p --config-path=config.js -h --performance 75 --score 70 --no-report –chrome-flags='–headless','--no-sandbox'` npm ERR! Exit status 1
我正在为 900 多个页面 url 运行此报告。
【问题讨论】:
标签: node.js jenkins npm lighthouse