Skip to content

lookup: skip <24 for @yarnpkg/cli - #1205

Open
MikeMcC399 wants to merge 2 commits into
nodejs:mainfrom
MikeMcC399:skip/lt-24-at-yarnpkg-cli
Open

MikeMcC399 wants to merge 2 commits into
nodejs:mainfrom
MikeMcC399:skip/lt-24-at-yarnpkg-cli

Conversation

@MikeMcC399

@MikeMcC399 MikeMcC399 commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Situation

With HEAD yarnpkg/berry@e4e423a Sep 24, 2026

citgm @yarnpkg/cli

  • fails in macOS 26.6.2 & Ubuntu 26.04.1 running under Node.js 22.23.3
    "TypeError: Cannot convert undefined or null to object"

This is related to Yarn v4 Modern using ESLint 9.x which is now unsupported. #1164 (comment) and its associated issue for Node.js 22.x show that this has been open for several months.

From comments elsewhere we know that Yarn developers / maintainers are concentrating on Yarn v6 rc the Rust-based rewrite of Yarn (which is also still using the unsupported ESLint 9.x version).

Change

Add skip for <24 to lookup.json for @yarnpkg/cli.

Checklist
  • npm test passes
  • contribution guidelines followed
    here

Signed-off-by: Mike McCready <66998419+MikeMcC399@users.noreply.github.com>
@MikeMcC399
MikeMcC399 marked this pull request as ready for review October 20, 2026 13:58
@codecov-commenter

codecov-commenter commented Oct 20, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.11%. Comparing base (98ba854) to head (35b3a01).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1205   +/-   ##
=======================================
  Coverage   96.11%   96.11%           
=======================================
  Files          29       29           
  Lines        2213     2213           
=======================================
  Hits         2127     2127           
  Misses         86       86           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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

Successfully merging this pull request may close these issues.

@yarnpkg/cli v4 fails in Node.js 22 (macos/ubuntu)

2 participants