How to use Lighthouse in CodeceptJS

You have very beautifully explained Lighthouse in CodeceptJS. I am gonna send it to my friends.

Created the helper if you’d love to give it a try

Hello,
I am trying to make codecept work with playwrith-lighthouse but I am getting an error Unexpected token < in JSON at position 0
the error is coming from lighthouse package _runJsonCommand method trying to parse a HTML to json .
Any chance someone faced the same issue ?