sinedied / devto-cli

Dev.to authoring CLI to create and publish markdown files as articles, using assets hosted on GitHub.
MIT License
32 stars 3 forks source link

Error: Subject parameter value width cannot be greater than the container width #34

Open bcouetil opened 1 year ago

bcouetil commented 1 year ago

Hello, thank you for this great tool 😊

I have this error from today when I push :

Error: Subject parameter value width cannot be greater than the container width

But the articles seems to be updated just fine, so quite ignoring it for now.

Verbose logs :


articles git:(30-elk) ✗ dev --verbose push 24_03_GITLAB-majestic-single-server-runner.md
  push files: [ '24_03_GITLAB-majestic-single-server-runner.md' ] +0ms
  push options: {
  push   devtoKey: 'XXX',
  push   repo: undefined,
  push   branch: undefined,
  push   dryRun: false,
  push   reconcile: false,
  push   checkImages: true
  push } +1ms
  push repository: { user: 'bcouetil', name: 'articles' } +1ms
  push branch: main +0ms
Found 1 article(s)
  push Retrieving articles from dev.to… +9ms
  devto Requesting articles (page 1) +0ms
  devto Found 14 remote article(s) +498ms
  push Retrieved 14 article(s) +507ms
  push Pushing articles to dev.to… +0ms
  article Found 9 image(s) to check for "🦊 GitLab CI : The Majestic Single Server Runner" +0ms
  article Checking image "https://raw.githubusercontent.com/bcouetil/articles/main/images/buckle-up-dorothy.jpg"… +0ms
  article Checking image "https://res.cloudinary.com/practicaldev/image/fetch/s--asKSgsVB--/c_imagga_scale,f_auto,fl_progressive,h_420,q_auto,w_1000/https://thepracticaldev.s3.amazonaws.com/i/9i6bs4g6cx05jeagfhum.png"… +2ms
  article Checking image "https://raw.githubusercontent.com/bcouetil/articles/main/images/gitlab/beefy-fox-2.jpg"… +1ms
  article Checking image "https://raw.githubusercontent.com/bcouetil/articles/main/images/gitlab/bench-full-pipeline.jpg"… +0ms
  article Checking image "https://raw.githubusercontent.com/bcouetil/articles/main/images/gitlab/bench-build-pipeline.jpg"… +1ms
  article Checking image "https://raw.githubusercontent.com/bcouetil/articles/main/images/gitlab/beefy-fox-3.jpg"… +112ms
  article Checking image "https://raw.githubusercontent.com/bcouetil/articles/main/images/gitlab/bench-results.jpg"… +6ms
  article Checking image "https://raw.githubusercontent.com/bcouetil/articles/main/images/gitlab/beefy-fox-4.jpg"… +14ms
  article Checking image "https://raw.githubusercontent.com/bcouetil/articles/main/images/gitlab/beefy-fox-1.jpg"… +4ms
  push Article "🦊 GitLab CI : The Majestic Single Server Runner" has pending changes +1s
  article Saved article "🦊 GitLab CI : The Majestic Single Server Runner" to file "24_03_GITLAB-majestic-single-server-runner.md" +860ms

Error: Subject parameter value width cannot be greater than the container width.
Push failed
sinedied commented 1 month ago

Are you on Windows? From what I've seen, these kind of errors may appear with windows terminal. Did you find a workaround it in the end?

bcouetil commented 1 month ago

I'm on MacOS.

I did not encounter this recently.