You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't know how I didn't see this until now!
To be honest, I actually don't know how to debug this. I tried to edit your demo code by switching from puppeteer-core to puppeteer but I keep getting this:
▶ node index.js
Failed the minimize CSS: Error: DOMException: A network error occurred.
A Chromium window does appear with nothing in the Web console.
Perhaps a bunch of dependencies have changed enough to not be able to reproduce.
Perhaps I just don't understand how to use chrome-aws-lambda and puppeteer-core.
Perhaps you can injects some debugging and try to understand why it's throwing like that.
Hi there @peterbe!
I'm trying to use your module with my own instance of puppeteer. My code looks like so:
ERROR:
RROR Failed the minimize CSS: Error: Protocol error (Emulation.setDeviceMetricsOverride): Session closed. Most likely the page has been closed.
DEPENDENCIES:
Any ideas on what the issue might be? Seems like the connection is getting closed for some reason.
Thanks!
The text was updated successfully, but these errors were encountered: