From fbde92a5247a039242ab82e3a1596034b9f08604 Mon Sep 17 00:00:00 2001 From: Prajwal Moharana <78167757+pmoharana-cmd@users.noreply.github.com> Date: Fri, 3 Jan 2025 15:20:46 -0500 Subject: [PATCH] Change npm version to match node 18 (#49) --- .devcontainer/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 40c5bb9..60b1696 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -44,7 +44,7 @@ RUN mkdir -p /etc/apt/keyrings \ && echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" | sudo tee /etc/apt/sources.list.d/nodesource.list \ && apt-get update \ && apt-get install nodejs -y \ - && npm install -g npm@latest \ + && npm install -g npm@10.8.2 \ && rm -rf /var/lib/apt/lists/* # Use a non-root user per https://code.visualstudio.com/remote/advancedcontainers/add-nonroot-user