git » sdk » commit eeb458b

Workaround for npm bug

author Stephen Paul Weber
2026-10-20 15:41:01 UTC
committer Stephen Paul Weber
2026-10-20 15:41:01 UTC
parent c9c212db86ca7329c81fc6ba637a12164feba1ea

Workaround for npm bug

npm ERR! Cannot read properties of null (reading 'edgesOut')

Fixed in newer npm, or use this workaround

build-misc/Containerfile.image +1 -1

diff --git a/build-misc/Containerfile.image b/build-misc/Containerfile.image
index 1c52d40..9a1afd8 100644
--- a/build-misc/Containerfile.image
+++ b/build-misc/Containerfile.image
@@ -80,7 +80,7 @@ ENV HAXE_STD_PATH=/opt/haxe/std
 RUN make hx-build-dep
 
 COPY npm /usr/src/sdk/npm
-RUN cd npm && npm install
+RUN cd npm && npm install --legacy-peer-deps
 RUN ln -s npm/node_modules node_modules
 
 COPY . /usr/src/sdk/