Skip to content

TypeError: Cannot read properties of undefined (reading 'score') #53

@kdencerv

Description

@kdencerv

Have you read the documentation?

URL

https://www.sitespeed.io/

What are you trying to accomplish

I was running a GPSI test via sitespeedio plugin with this command:

docker run sitespeedio/sitespeed.io:33.6.0-plus1 --plugins.add /gpsi/lib/index.js --plugins.remove browsertime --plugins.remove /lighthouse/index.js "https://www.sitespeed.io/" -n 1

We've been using GPSI plugin in sitespeed for a long time with no problems. But recently we've been experiencing the same error

ERROR: TypeError: Cannot read properties of undefined (reading 'score')
at repackagePageSummary (file:///gpsi/lib/pageSummary.js:19:58)
at file:///gpsi/lib/index.js:92:13
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

What browser did you use?

Chrome

How to reproduce

Run a GPSI sitespeed test via docker with this command

docker run sitespeedio/sitespeed.io:33.6.0-plus1 --plugins.add /gpsi/lib/index.js --plugins.remove browsertime --plugins.remove /lighthouse/index.js "https://www.sitespeed.io/" -n 1

Log output

ERROR: TypeError: Cannot read properties of undefined (reading 'score')
at repackagePageSummary (file:///gpsi/lib/pageSummary.js:19:58)
at file:///gpsi/lib/index.js:92:13
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions