From 2159f75d4b108b54b061ad6648c640fc8dad5971 Mon Sep 17 00:00:00 2001 From: Raymond Zhao <7199958+rzhao271@users.noreply.github.com> Date: Tue, 8 Aug 2023 13:42:53 -0700 Subject: [PATCH] Fix node-gyp not found error (#189942) --- build/azure-pipelines/linux/product-build-linux.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/azure-pipelines/linux/product-build-linux.yml b/build/azure-pipelines/linux/product-build-linux.yml index 40d13d38eea..4fa4457e6ed 100644 --- a/build/azure-pipelines/linux/product-build-linux.yml +++ b/build/azure-pipelines/linux/product-build-linux.yml @@ -164,7 +164,7 @@ steps: echo "Yarn failed $i, trying again..." done - cd node_modules/native-keymap && node-gyp rebuild --debug + cd node_modules/native-keymap && npx node-gyp@9.4.0 -y rebuild --debug cd ../.. && ./.github/workflows/check-clean-git-state.sh env: npm_config_arch: $(NPM_ARCH)