From c494fe120d1ce72e659f1e8ecf47a512bd55c4d0 Mon Sep 17 00:00:00 2001 From: rajsite Date: Wed, 24 Apr 2024 20:39:04 -0500 Subject: [PATCH] Try npm config again --- .github/workflows/build.yml | 3 +++ make-it/EmMakefile | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8c541e918..1778044a4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -60,6 +60,9 @@ jobs: emsdk/emsdk install 2.0.23 emsdk/emsdk activate 2.0.23 - run: . emsdk/emsdk_env.sh && echo $(which node) + - run: . emsdk/emsdk_env.sh && echo $(which npm) + - run: . emsdk/emsdk_env.sh && npm config set user 0 + - run: . emsdk/emsdk_env.sh && npm config set unsafe-perm true - run: . emsdk/emsdk_env.sh && sudo chmod +rx $(which node) - run: . emsdk/emsdk_env.sh && emcc -v && node --version diff --git a/make-it/EmMakefile b/make-it/EmMakefile index e31bdc4eb..d9d2e443e 100644 --- a/make-it/EmMakefile +++ b/make-it/EmMakefile @@ -182,7 +182,6 @@ $(OBJS): @$(MKDIR) -p $(OBJS) $(PREJS) $(POSTJS): $(CORESOURCEDIR)/vireo.wrapper.js - echo $(which node) node --version node splitVireoWrapper.js $(CORESOURCEDIR)/vireo.wrapper.js $(PREJS) $(POSTJS)