Fix codegraph require: set NODE_PATH to npm global root
Docker / build-and-push (push) Failing after 1m39s
Docker / build-and-push (push) Failing after 1m39s
This commit is contained in:
+1
-1
@@ -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')"
|
||||
|
||||
Reference in New Issue
Block a user