Repository navigation
docs: fix outdated Node 24 warnings in TROUBLESHOOTING.md #1343
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
diegosouzapw
merged 2 commits into
cheaper-inference:release/v3.6.7
from
oyi77:fix/troubleshooting-node24-refs
Apr 16, 2026
Merged
Changes from 1 commit
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -15,7 +15,7 @@ Common problems and solutions for OmniRoute. | |||||
| | No logs written to disk | Set `APP_LOG_TO_FILE=true` and verify call log capture is enabled | | ||||||
| | EACCES: permission denied | Set `DATA_DIR=/path/to/writable/dir` to override `~/.omniroute` | | ||||||
| | Routing strategy not saving | Update to v1.4.11+ (Zod schema fix for settings persistence) | | ||||||
| | Login crash / blank page | You may be on Node.js 24+ — see [Node.js Compatibility](#nodejs-compatibility) below | | ||||||
| | Login crash / blank page | Check Node.js version — see [Node.js Compatibility](#nodejs-compatibility) below | | ||||||
| | `dlopen` / `slice is not valid mach-o file` (macOS) | Run `cd $(npm root -g)/omniroute/app && npm rebuild better-sqlite3 && omniroute` — see [macOS native module rebuild](#macos-native-module-rebuild) below | | ||||||
| | Proxy "fetch failed" | Ensure proxy config is set at the correct level — see [Proxy Issues](#proxy-issues) below | | ||||||
|
|
||||||
|
|
@@ -27,10 +27,7 @@ Common problems and solutions for OmniRoute. | |||||
|
|
||||||
| ### Login page crashes or shows "Module self-registration" error | ||||||
|
|
||||||
| **Cause:** You are running a Node.js version outside OmniRoute's approved secure runtime floor. Two cases matter: | ||||||
|
|
||||||
| 1. **Node.js 24+**: `better-sqlite3` is not supported here and startup can fail hard. | ||||||
| 2. **Older Node 20/22 patch levels**: the runtime may start, but it falls below the patched security floor OmniRoute now requires. | ||||||
| **Cause:** You are running a Node.js version outside OmniRoute's approved secure runtime floor. The most common case is running an older Node 20/22 patch level that falls below the patched security floor OmniRoute requires. | ||||||
|
|
||||||
| **Symptoms:** | ||||||
|
|
||||||
|
|
@@ -40,16 +37,16 @@ Common problems and solutions for OmniRoute. | |||||
|
|
||||||
| **Fix:** | ||||||
|
|
||||||
| 1. Install a patched Node.js 22 LTS release (recommended): | ||||||
| 1. Install a supported Node.js LTS release (recommended: Node.js 24.x): | ||||||
| ```bash | ||||||
| nvm install 22.22.2 | ||||||
| nvm use 22.22.2 | ||||||
| nvm install 24 | ||||||
| nvm use 24 | ||||||
| ``` | ||||||
| 2. Verify your version: `node --version` should show `v22.22.2` or newer on the 22.x LTS line | ||||||
| 2. Verify your version: `node --version` should show `v24.0.0` or newer | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The verification step should specify that the version should be on the 24.x line. Without this clarification, "v24.0.0 or newer" could be interpreted as including Node 25+, which is explicitly excluded from the supported range (
Suggested change
|
||||||
| 3. Reinstall OmniRoute: `npm install -g omniroute` | ||||||
| 4. Restart: `omniroute` | ||||||
|
|
||||||
| > **Supported secure versions:** `>=20.20.2 <21` or `>=22.22.2 <23`. Node.js 24+ is **not supported**. | ||||||
| > **Supported secure versions:** `>=20.20.2 <21`, `>=22.22.2 <23`, or `>=24.0.0 <25`. Node.js 24.x LTS (Krypton) is fully supported. | ||||||
|
|
||||||
| ### macOS: `dlopen` / "slice is not valid mach-o file" | ||||||
|
|
||||||
|
|
||||||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The description of the "most common case" for Node.js version issues should be updated to include Node 24, as it is now a supported and recommended version. This ensures the documentation remains consistent with the changes made elsewhere in this PR.