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

stuck in Fetching beautiful image #80

Closed
FalcoSuessgott opened this issue Oct 24, 2022 · 4 comments
Closed

stuck in Fetching beautiful image #80

FalcoSuessgott opened this issue Oct 24, 2022 · 4 comments

Comments

@FalcoSuessgott
Copy link

Using carbon-now-cli Im stuck in

carbon-now assets/base.sh --config assets/carbon-now.json
  ✔ Processing assets/base.sh
  ✔ Preparing connection
  ↓ Opening in browser [skipped]
  ✖ Fetching beautiful image

until I cancel it.

Chromium opens but only a tab with about:blank, same behavior when using the headless mode. Any debugging tipps or suggestions?

@ghost
Copy link

ghost commented Jan 30, 2023

Same issue.
Closing the chromium window shows error:

Error: Protocol error (Performance.enable): Target closed.
Error: Page crashed!

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

bosconb commented Mar 29, 2023

same issue is troubling me

carbon-now --from-clipboard
  ✔ Processing stdin
  ✔ 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.

@ghost
Copy link

ghost commented Mar 29, 2023

same issue is troubling me

carbon-now --from-clipboard
  ✔ Processing stdin
  ✔ 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.

#83

@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