fix(setup): Improve installation process in setup script by cleaning up package files and ensuring a minimal net-snmp dependency installation.

This commit is contained in:
2025-03-26 14:09:01 +00:00
parent 9a77030377
commit 22ab472e58
3 changed files with 52 additions and 30 deletions

View File

@@ -1,5 +1,14 @@
# Changelog
## 2025-03-26 - 2.6.4 - fix(setup)
Improve installation process in setup script by cleaning up package files and ensuring a minimal net-snmp dependency installation.
- Remove existing package-lock.json along with node_modules to prevent stale artifacts.
- Back up the original package.json before modifying it.
- Create a minimal package.json with only the net-snmp dependency based on the backed-up version.
- Use a clean install to guarantee that only net-snmp is installed.
- Restore the original package.json if the installation fails.
## 2025-03-26 - 2.6.3 - fix(setup)
Update setup script to install only net-snmp dependency and create a minimal package-lock.json for better dependency control.