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

Error: Protocol error (Page.navigate): Target closed. #79

Closed
hpl002 opened this issue Aug 1, 2022 · 3 comments
Closed

Error: Protocol error (Page.navigate): Target closed. #79

hpl002 opened this issue Aug 1, 2022 · 3 comments

Comments

@hpl002
Copy link

hpl002 commented Aug 1, 2022

✔ Processing ./Readme.md
✔ Preparing connection
↓ Opening in browser [skipped]
✖ Fetching beautiful image
→ Protocol error (Page.navigate): Target closed.
Copying image to clipboard

Error: Sending code to https://carbon.now.sh went wrong.

This is mostly due to:

– Insensical input like --start 10 --end 2
– Carbon being down or taking too long to respond
– Your internet connection not working or being too slow

Additional info:

Error: Protocol error (Page.navigate): Target closed.


node v16.16.0

@zaitsev-dev
Copy link

The same thing is happening to me

@ghost
Copy link

ghost commented Dec 22, 2022

I have a issue similar.
Error: Protocol error (Performance.enable): Target closed.

@mixn mixn mentioned this issue Feb 6, 2023
26 tasks
@mixn
Copy link
Owner

mixn commented May 12, 2023

As I’m finalizing the huge v2 release, I’ve decided to run a small beta of it. 🙂

v2 is a complete rewrite that now uses Playwright instead of Puppeteer. Playwright supports real file downloads and is well maintained, leading to a more stable UX in the future. Most issues opened in carbon-now-cli were due to Puppeteer’s inability to actually wait for the file to download and many other OS inconsistencies & hiccups.

To install the v2 beta run

npm i carbon-now-cli@beta -g

Docs 🚀 for v2 can be found here. 🙂 There are tons of new features and breaking changes, so make sure to re-read the docs if you’ve read them previously.

Happy testing and using! Looking forward to your feedback!
v2 will officially drop any day now. 🥳

P. S: I’m almost embarrassed about how long it took me to start working on v2, but at least once I did, I shipped it quite fast. 🙃 No more activity slumps in the future, though. 🤞

@mixn mixn closed this as completed May 12, 2023
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