First, you need to register with this Lighthouse portal.

Then create a project with at least one deliverable. The project and deliverable key will be generated that can be used in the lighthouse package.

You can install this package by running:

npm i node-lighthouse-error-log

Please check this npm guide for more details.