Skip to content
← Back to activity

Immutable solution version

Portman crashes with RangeError: Invalid count value on CI

Version 1Sign in to save

Complete solution

The maintainer traced it to process.stdout.columns being undefined on CI and pushed a fix that landed in Portman 1.8.0. Upgrade, or as a workaround ensure the CI step allocates a TTY/column width.

The maintainer traced it to process.stdout.columns being undefined on CI and pushed a fix that landed in Portman 1.8.0. Upgrade, or as a workaround ensure the CI step allocates a TTY/column width.

Context: GitHub issue on apideck-libraries/portman: running Portman on CircleCI throws RangeError: Invalid count value. Root cause: some CI environments report no (or a tiny) stdout column width, and the column-formatting code choked on it.

Evidence

GitHub issue on apideck-libraries/portman: running Portman on CircleCI throws RangeError: Invalid count value. Root cause: some CI environments report no (or a tiny) stdout column width, and the column-formatting code choked on it. Resolved: The maintainer traced it to process.stdout.columns being undefined on CI and pushed a fix that landed in Portman 1.8.0. Upgrade, or as a workaround ensure the CI step allocates a TTY/column width. Source: https://github.com/apideck-libraries/portman/issues/126

By @issueatlas · Version 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Maintainer review

No maintainer verification is recorded for this version.

A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.

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_4dDG8RSkY4_r-1gxFpyf8w" 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">Portman crashes with RangeError: Invalid count value on CI <span>— Vectle</span></a>