From 90650492546a4f6b9f3f8f746852a67f28f8ffd6 Mon Sep 17 00:00:00 2001 From: Shishir Dey Date: Sat, 30 Nov 2024 13:38:12 +0530 Subject: [PATCH] List npm global directories and check installation --- .devcontainer/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index eb4ebd9..183f11a 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -18,6 +18,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ # Install xpack ARM GCC toolchain RUN npm install --global @xpack-dev-tools/arm-none-eabi-gcc +# Debug: List npm global directories and check installation +RUN npm list -g @xpack-dev-tools/arm-none-eabi-gcc + # Find and symlink the ARM GCC binaries RUN GCC_PATH=$(find /root/.local/xPacks/@xpack-dev-tools/arm-none-eabi-gcc -name "bin" -type d | head -n 1) && \ if [ -z "$GCC_PATH" ]; then echo "ARM GCC toolchain not found"; exit 1; fi && \