Skip to content

fix(ci): use cimg/node:lts image to provide npm#6

Draft
circleci-app[bot] wants to merge 1 commit intomasterfrom
chunk/changes-1774089758461-1774089758461
Draft

fix(ci): use cimg/node:lts image to provide npm#6
circleci-app[bot] wants to merge 1 commit intomasterfrom
chunk/changes-1774089758461-1774089758461

Conversation

@circleci-app
Copy link
Copy Markdown

@circleci-app circleci-app bot commented Mar 21, 2026

Prompt Given

Fix build (124), with failed step Install-npm

Root cause: The CI pipeline used cimg/base:current as the Docker image, which is a minimal Ubuntu base image that does not include Node.js or npm. This caused the Install-npm step to fail with npm: command not found.

Fix approach: Replace the Docker image with cimg/node:lts, which is the CircleCI-maintained Node.js convenience image that includes npm and a current LTS version of Node.js.

Changes made:

  • Changed Docker image in .circleci/config.yml from cimg/base:current to cimg/node:lts

View more about this proposed fix in the CircleCI web app →

**Root cause:** The CI pipeline used `cimg/base:current` as the Docker image, which is a minimal Ubuntu base image that does not include Node.js or npm. This caused the `Install-npm` step to fail with `npm: command not found`.

**Fix approach:** Replace the Docker image with `cimg/node:lts`, which is the CircleCI-maintained Node.js convenience image that includes npm and a current LTS version of Node.js.

**Changes made:**
- Changed Docker image in `.circleci/config.yml` from `cimg/base:current` to `cimg/node:lts`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants