← back to Commercialrealestate
fix: export PATH in run-residential-refresh.sh — launchd's minimal PATH lacked /opt/homebrew/bin so node was not found; the scheduled 4x/day refresh would have silently failed every run
c37e1415247437017f73c98cfe49d7c2d75b0a70 · 2026-07-07 09:14:43 -0700 · Steve Abrams
Files touched
M scripts/run-residential-refresh.sh
Diff
commit c37e1415247437017f73c98cfe49d7c2d75b0a70
Author: Steve Abrams <steve@designerwallcoverings.com>
Date: Tue Jul 7 09:14:43 2026 -0700
fix: export PATH in run-residential-refresh.sh — launchd's minimal PATH lacked /opt/homebrew/bin so node was not found; the scheduled 4x/day refresh would have silently failed every run
---
scripts/run-residential-refresh.sh | 2 ++
1 file changed, 2 insertions(+)
diff --git a/scripts/run-residential-refresh.sh b/scripts/run-residential-refresh.sh
index 7cff346..04874d9 100755
--- a/scripts/run-residential-refresh.sh
+++ b/scripts/run-residential-refresh.sh
@@ -10,6 +10,8 @@
# ~/Library/LaunchAgents/com.steve.crcp-residential-refresh.plist.
set -uo pipefail
cd "$HOME/Projects/commercialrealestate" || exit 1
+# launchd runs with a minimal PATH (no /opt/homebrew/bin) — export it so `node` resolves.
+export PATH="/usr/local/bin:/opt/homebrew/bin:$HOME/.npm-global/bin:$PATH"
export NODE_PATH="$HOME/.claude/skills/browserbase/node_modules"
export CC_LOCAL=1
export CHROME_PATH="/Applications/Google Chrome.app/Contents/MacOS/Google Chrome"
← 67dff5f map: residential on the map colored by status (Active/In Esc
·
back to Commercialrealestate
·
auto-save: 2026-07-07T09:29:44 (1 files) — data/condos-redfi 79fb395 →