mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-05 14:52:09 +03:00
When running OmniRoute with Node.js >=24, the better-sqlite3 native module fails to load, causing a confusing 'not a valid Win32 application' or 'Module did not self-register' error at the login screen. This change adds proactive Node.js version detection: - API: /api/settings/require-login now returns nodeVersion and nodeCompatible fields, computed before any SQLite access so they work even when the DB fails - UI: A prominent red warning banner appears on the login page when an incompatible Node.js version is detected, showing the current version and instructions to install Node 22 LTS via nvm - i18n: Added 4 new translation keys for the warning banner Closes #1060, Closes #1040