# 09-Jun-2026 — install node from official tarball in worker stage [#286](https://github.com/nbarrett/ngx-ramblers/issues/286)

## [build 685](https://github.com/nbarrett/ngx-ramblers/actions/runs/27280098490) — [commit 073024b](https://github.com/nbarrett/ngx-ramblers/commit/073024bce32895be477caa4d087ac5ebe88f7100)

_____

`npm install -g n && n <version>` keeps failing in the worker base image
(serenity-js/playwright:v1.58.1-noble): `n` is not resolvable on PATH and
its package-bin path 404s too, indicating a global-prefix / shebang mismatch
in the image that the removed buildx cache had been masking.

Replace the n-based node install with the official Node linux-x64 tarball
extracted into /usr/local. No dependency on npm global bin or n's bash
shebang. Includes a one-line env diagnostic and node/npm version checks so a
future regression fails loudly with context.