Skip to content
Discussion options

You must be logged in to vote

Your self-hosted arm64 runner likely lacks Node.js ARM64 binaries in PATH, or setup-node downloads a corrupted/incompatible version (common ELF errors on arm64). Add architecture: 'arm64' explicitly to setup-node@v4 step, and debug with run: which node; node --version; ls -la $(which node) right after setup.

Quick Fixes:

Use uses: actions/setup-node@v4 with node-version: '20' (stable ARM support), architecture: 'arm64', cache: 'npm'

Verify runner: SSH in, run uname -m (should be aarch64), install Node manually via nvm or nodesource repo if needed

Matrix tweak: matrix: { runner: ['ubuntu-latest', 'self-hosted-arm64'] }, runs-on: ${{ matrix.runner }}

If ELF/corrupt: Pin older Node (18.x)…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by maryam1976mma-crypto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code Search and Navigation Search, navigate, and understand code on GitHub Question Ask and answer questions about GitHub features and usage source:ui Discussions created via Community GitHub templates Other Features and Feedback Discussions that fall into "Other" category
2 participants