Skip to content

commit-queue & Auto Start CI failing with "Cannot find package 'yargs'" #65126

Description

@trivikr

Runs: https://github.com/nodejs/node/actions/workflows/commit-queue.yml

Failing since August 7, 2026 17:54 PDT

node:internal/modules/package_json_reader:301
  throw new ERR_MODULE_NOT_FOUND(packageName, fileURLToPath(base), null);
        ^

Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'yargs' imported from /opt/hostedtoolcache/node/24.19.0/x64/lib/node_modules/@node-core/utils/bin/ncu-config.js
    at Object.getPackageJSONURL (node:internal/modules/package_json_reader:301:9)
    at packageResolve (node:internal/modules/esm/resolve:768:81)
    at moduleResolve (node:internal/modules/esm/resolve:859:18)
    at defaultResolve (node:internal/modules/esm/resolve:992:11)
    at #cachedDefaultResolve (node:internal/modules/esm/loader:701:20)
    at #resolveAndMaybeBlockOnLoaderThread (node:internal/modules/esm/loader:721:38)
    at ModuleLoader.resolveSync (node:internal/modules/esm/loader:759:56)
    at #resolve (node:internal/modules/esm/loader:683:17)
    at ModuleLoader.getOrCreateModuleJob (node:internal/modules/esm/loader:603:35)
    at ModuleJob.syncLink (node:internal/modules/esm/module_job:163:33) {
  code: 'ERR_MODULE_NOT_FOUND'
}

Node.js v24.19.0

First failure: https://github.com/nodejs/node/actions/runs/31231344969/job/93035668020

Activity

  1. changed the title [-]commit-queue is failing with "Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'yargs'"[/-] [+]commit-queue is failing with "Cannot find package 'yargs'"[/+] on Aug 8, 2026
  2. trivikr commented on Aug 8, 2026

    @trivikr
    MemberAuthor

    This will be fixed when nodejs/node-core-utils#1148 is merged and a patch is published in @node-core/utils@7.0.1

  3. trivikr commented on Aug 8, 2026

    @trivikr
    MemberAuthor

    Auto start CI is also failing for the same reason

    https://github.com/nodejs/node/actions/workflows/auto-start-ci.yml

  4. changed the title [-]commit-queue is failing with "Cannot find package 'yargs'"[/-] [+]commit-queue & Auto Start CI failing with "Cannot find package 'yargs'"[/+] on Aug 8, 2026
  5. MikeMcC399 commented on Aug 8, 2026

    @MikeMcC399
  6. MikeMcC399 commented on Aug 8, 2026

    @MikeMcC399
    Contributor

    This will be fixed when nodejs/node-core-utils#1148 is merged and a patch is published in @node-core/utils@7.0.1

    @node-core/utils@7.0.1 was published on Aug 8, 2026 07:19 UTC and the workflows are running again.

  7. MikeMcC399 commented on Aug 8, 2026

    @MikeMcC399
    Contributor

    Closing, as both workflows are running again.

    For example, #64893 has now landed through actions of the commit-queue

    https://github.com/nodejs/node/actions/workflows/auto-start-ci.yml also shows success.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions