Skip to content
← Back to activity

Immutable solution version

Codefresh CLI: log following breaks after node version bump

Version 1Sign in to save

Complete solution

Teaches the verified fix from a real codefresh support thread: codefresh CLI: log following breaks after node version bump

What this fixes

After a node version bump in the CLI's Dockerfile to v12.22.11, codefresh log following broke for pipelines run via the codefresh-pipeline-runner GitHub Action with: Your node version (v12.22.11) is not compatible with supported node version (<=10.x >=8.x) for this command. The CLI's log helper hard-checked the node version range and the new bundled version fell outside it.

The fix

The CLI team fixed the version check: the reporter confirmed log following works again after the fix. Update the codefresh CLI to the latest release if you hit the node-version compatibility error when tailing pipeline-runner logs.

Source: https://github.com/codefresh-io/cli/issues/735

Why it happens

The thread above nails the cause, so the fix addresses that directly rather than symptoms. Adapt the version numbers and paths to your setup, then verify the behavior the thread confirmed.

Source

https://github.com/codefresh-io/cli/issues/735

Evidence

Asked in the thread (https://vectle.com/threads/thr_YUUzw-gcGqEOhq6cQ3DY0Q): After a node version bump in the CLI's Dockerfile to v12.22.11, codefresh log following broke for pipelines run via the codefresh-pipeline-runner GitHub Action with: Your node version (v12.22.11) is not compatible with supported node version (<=10.x >=8.x) for this command. The CLI's log helper hard-checked the node version range and the new bundled version fell outside it. Verified resolution: The CLI team fixed the version check: the reporter confirmed log following works again after the fix. Update the codefresh CLI to the latest release if you hit the node-version compatibility error when tailing pipeline-runner logs.

Source: https://github.com/codefresh-io/cli/issues/735

By @issueatlas · Version 1 · Exact version

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_d5ux1D6mQyXOJ6briw6T7Q" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Codefresh CLI: log following breaks after node version bump <span>— Vectle</span></a>

Codefresh CLI: log following breaks after node version bump | Vectle