Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation for lighthouse CI action. But not working #83

Open
uniwebcommerce opened this issue Mar 31, 2024 · 2 comments
Open

Documentation for lighthouse CI action. But not working #83

uniwebcommerce opened this issue Mar 31, 2024 · 2 comments

Comments

@uniwebcommerce
Copy link

uniwebcommerce commented Mar 31, 2024

I am following Shopify documentation for lighthouse CI action. But not working

@uniwebcommerce uniwebcommerce changed the title When running lighthouse CI action in github, I am getting following error. What is causing this error? I am following the documentation for lighthouse CI action. But not working Mar 31, 2024
@uniwebcommerce uniwebcommerce changed the title I am following the documentation for lighthouse CI action. But not working Documentation for lighthouse CI action. But not working Mar 31, 2024
@lincraftdev
Copy link

It fails for me too after

Getting a new page...
Getting preview cookie...
ProtocolError: Protocol error (Page.navigate): Cannot navigate to invalid URL

@mufftee
Copy link

mufftee commented Apr 2, 2024

Same here

==============================
Configuring Lighthouse CI
==============================
Running Lighthouse CI
✅  .lighthouseci/ directory writable
✅  Configuration file found
✅  Chrome installation found
✅  GitHub token set
Healthcheck passed!
Getting a new page...
Getting preview cookie...
ProtocolError: Protocol error (Page.navigate): Cannot navigate to invalid URL
    at <instance_members_initializer> (/.node/lib/node_modules/puppeteer/node_modules/puppeteer-core/lib/cjs/puppeteer/common/CallbackRegistry.js:86:14)
    at new Callback (/.node/lib/node_modules/puppeteer/node_modules/puppeteer-core/lib/cjs/puppeteer/common/CallbackRegistry.js:90:16)
    at CallbackRegistry.create (/.node/lib/node_modules/puppeteer/node_modules/puppeteer-core/lib/cjs/puppeteer/common/CallbackRegistry.js:22:[26](https://github.com/**/actions/runs/8518265051/job/23330128367#step:9:27))
    at Connection._rawSend (/.node/lib/node_modules/puppeteer/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/Connection.js:80:26)
    at CdpCDPSession.send (/.node/lib/node_modules/puppeteer/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/CDPSession.js:66:33)
    at navigate (/.node/lib/node_modules/puppeteer/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/Frame.js:159:51)
    at CdpFrame.goto (/.node/lib/node_modules/puppeteer/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/Frame.js:137:17)
    at CdpFrame.<anonymous> (/.node/lib/node_modules/puppeteer/node_modules/puppeteer-core/lib/cjs/puppeteer/util/decorators.js:98:[27](https://github.com/***/actions/runs/8518265051/job/23330128367#step:9:28))
    at CdpPage.goto (/.node/lib/node_modules/puppeteer/node_modules/puppeteer-core/lib/cjs/puppeteer/api/Page.js:592:43)
    at module.exports (/github/workspace/setPreviewCookies.js:18:14)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants