fix(setup.sh): Improve setup script to detect and execute npm-cli.js directly using the Node.js binary

This commit is contained in:
2025-03-26 15:53:38 +00:00
parent 4cac599a58
commit 5b756dd223
3 changed files with 30 additions and 12 deletions

View File

@@ -1,5 +1,12 @@
# Changelog
## 2025-03-26 - 2.6.6 - fix(setup.sh)
Improve setup script to detect and execute npm-cli.js directly using the Node.js binary
- Replace use of the npm binary with direct execution of npm-cli.js
- Add fallback logic to locate npm-cli.js when not found at the expected path
- Simplify cleanup by removing unnecessary PATH modifications
## 2025-03-26 - 2.6.5 - fix(daemon, setup)
Improve shutdown command detection and fallback logic; update setup script to use absolute Node/npm paths