Skip to content

Node v26 not working in Docker image after installing Node due to missing libatomic #4591

Open

Description

@mshekow-se

Describe the bug

Since Node v25 (now EOL), Node requires the libatomic1 package. See also npm/cli#8680

If I install Node 26 with actions/setup-node, I get errors such as this:

Warning: /home/runner/_work/_tool/node/26.5.1/x64/bin/node: error while loading shared libraries: libatomic.so.1: cannot open shared object file: No such file or directory

To Reproduce

Use the latest actions-runner (Linux) image, e.g. as part of ARC scale set.

Install node:

      - name: Setup Node.js
        uses: actions/setup-node@v6
        with:
          node-version: '26'

That step/action already shows the error when expanding "Environment details"

Image

Expected behavior

If you would preinstall libatomic1 this fix the issue. It is to be expected that people install Node.js, so it should actually work.

Runner Version and Platform

Linux AMD64 2.336.0

Activity

  1. added
    bug
    on Jul 30, 2026
  2. added a commit that references this issue on Aug 18, 2026
    dd7f27f
  3. dncrews commented on Nov 3, 2026

    @dncrews

    Now that Node 26 has become LTS, a lot more people are about to start seeing this issue.

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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions