From d1c3bf77ba736f75b4496d025e8e95606b0a1689 Mon Sep 17 00:00:00 2001 From: Steffen Date: Sat, 13 Jun 2026 12:12:54 +0000 Subject: [PATCH] Fix codegraph require: set NODE_PATH to npm global root --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index dab0f7b..9342b12 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,4 +14,4 @@ RUN wget -qO /tmp/bun.zip "https://github.com/oven-sh/bun/releases/download/bun- # CodeGraph (runs via system node, not its bundled glibc binary) RUN npm install -g @colbymchenry/codegraph @colbymchenry/codegraph-linux-x64 && \ - node -e "require('@colbymchenry/codegraph')" + NODE_PATH=$(npm root -g) node -e "require('@colbymchenry/codegraph')"