cornerstone icon indicating copy to clipboard operation
cornerstone copied to clipboard

Running Lighthouse NPM Script returns null

Open AndrewBarber opened this issue 4 years ago • 4 comments

Expected behavior

Audit results should be displayed.

Actual behavior

Audit results are all displayed as null.

Steps to reproduce behavior

  • Run npm run-script lighthouse

AndrewBarber avatar Jan 24 '21 15:01 AndrewBarber

@AndrewBarber did you ever get an answer to this - I am also just being returned null

Bobspadger avatar Nov 09 '22 16:11 Bobspadger

Yeah I made pull request for it but it's not been accepted. 🤷‍♂️

AndrewBarber avatar Nov 10 '22 23:11 AndrewBarber

@AndrewBarber we tried to run the Lighthouse script with your changes, but got errors in the terminal. Therefore, we have created a ticket that will be taken into work after determining the priority for it.

bc-yevhenii-buliuk avatar Nov 11 '22 15:11 bc-yevhenii-buliuk

I had issues with it using an npm installed version of JQ, using my system installed jq (from homebrew) solved this for me. (Can't remember specific errors but that was the root cause of mine!)

Bobspadger avatar Nov 11 '22 15:11 Bobspadger