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

## [build 685](https://github.com/Ramblers-GB/ngx-ramblers/actions/runs/27280098490) — [commit 6db0033](https://github.com/Ramblers-GB/ngx-ramblers/commit/6db0033668d7d2086f8daf78435132eab978f194)

_____

`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.