From 5cb2ac8c8bc22fac1a91f113d62b6e62bc092e2a Mon Sep 17 00:00:00 2001 From: Nawaz Dhandala Date: Fri, 13 Feb 2026 11:10:34 +0000 Subject: [PATCH] fix: Use absolute path for npm in ts-node installation to ensure correct execution --- configure.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.sh b/configure.sh index 392aec6bd7..8a43297839 100644 --- a/configure.sh +++ b/configure.sh @@ -162,7 +162,7 @@ clone_oneuptime() { setup_tsnode() { if ! command_exists ts-node; then print_info "Installing ts-node..." - sudo npm install -g ts-node + sudo "$(which npm)" install -g ts-node fi }