Skip to content

"Ni.connect is not a function" when testing in DevTools #15300

@hculp

Description

@hculp

Developer's Note

The fix for this should be released on all Chrome channels:

Stable - 116.0.5845.140
Beta - 117.0.5938.35
Dev - 118.0.5951.0
Canary - 118.0.5939.0

If you are still experiencing this issue, please verify that your Chrome is up to date before reporting.


FAQ

URL

https://mini-project-lighthouse.herokuapp.com/

What happened?

When trying to run an audit, received an error and was unable produce an audit. Sometimes and audit would work, but only the PWA audit report was displayed/created.

What did you expect?

Expected to generate a full audit report. All audit settings selected. Only the PWA section was generated sometimes. Issues replicated in incognito.

What have you tried?

Using latest chrome browser, restarted browser, removed/re-installed extension, and allowed incognito extension use.

How were you running Lighthouse?

WebPageTest

Lighthouse Version

100.0.0

Chrome Version

115.0.5790.102

Node Version

No response

OS

Windows 10

Relevant log output

Ni.connect is not a function

Channel: DevTools
Initial URL: https://mini-project-lighthouse.herokuapp.com/
Chrome Version: 115.0.0.0
Stack Trace: TypeError: Ni.connect is not a function
    at devtools://devtools/bundled/devtools-frontend/front_end/third_party/lighthouse/lighthouse-dt-bundle.js:618:972
    at Runner.gather (devtools://devtools/bundled/devtools-frontend/front_end/third_party/lighthouse/lighthouse-dt-bundle.js:524:349)
    at navigationGather (devtools://devtools/bundled/devtools-frontend/front_end/third_party/lighthouse/lighthouse-dt-bundle.js:618:858)
    at async navigation (devtools://devtools/bundled/devtools-frontend/front_end/third_party/lighthouse/lighthouse-dt-bundle.js:620:940)
    at async i (devtools://devtools/bundled/devtools-frontend/front_end/entrypoints/lighthouse_worker/lighthouse_worker.js?remoteBase=https%3A%2F%2Fchrome-devtools-frontend.appspot.com%2Fserve_file%2F%4090efd4b0ad6aa15eeafcdabd5817ae939f7ba059%2F:1:2668)
    at async self.onmessage (devtools://devtools/bundled/devtools-frontend/front_end/entrypoints/lighthouse_worker/lighthouse_worker.js?remoteBase=https%3A%2F%2Fchrome-devtools-frontend.appspot.com%2Fserve_file%2F%4090efd4b0ad6aa15eeafcdabd5817ae939f7ba059%2F:1:3056)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions