mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
fix: Use absolute path for npm in ts-node installation to ensure correct execution
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user