From b8ba76b1aefd494910005bea031be93a35e672ba Mon Sep 17 00:00:00 2001 From: Max Brunsfeld Date: Tue, 27 May 2025 17:35:23 -0700 Subject: [PATCH] Fix hang in npm install script --- cli/npm/install.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) mode change 100755 => 100644 cli/npm/install.js diff --git a/cli/npm/install.js b/cli/npm/install.js old mode 100755 new mode 100644 index f2a4944d..6d0fbc57 --- a/cli/npm/install.js +++ b/cli/npm/install.js @@ -6,7 +6,8 @@ const http = require('http'); const https = require('https'); const packageJSON = require('./package.json'); -// Look to a results table in https://github.com/tree-sitter/tree-sitter/issues/2196 +https.globalAgent.keepAlive = false; + const matrix = { platform: { 'darwin': {