-
Notifications
You must be signed in to change notification settings - Fork 0
Troubleshooting
After installing, if omnicode is not found, ensure the global npm bin directory is on PATH:
export PATH="$(npm config get prefix)/bin:$PATH"Add that line to your shell profile (~/.bashrc, ~/.zshrc, etc.) to make it persistent.
If you see:
[omnicode] ERROR: missing required tool(s): opencode, omniroute
Install the missing tool(s) globally and make sure they are on PATH:
npm install -g opencode
npm install -g omnirouteomnicode currently supports Ubuntu Linux on AMD64 only. Running on other platforms exits before making changes.
Check the log:
cat ~/.local/share/omnicode/omniroute.logVerify omniroute --no-open works when run directly.
If you see a better-sqlite3 native module error, it usually means OmniRoute is running under the wrong Node version. Ensure your current shell uses the same Node that OmniRoute was installed with:
which omniroute
omniroute --versionIf needed, rebuild:
cd $(dirname $(which omniroute))/../lib/node_modules/omniroute/dist && npm rebuild better-sqlite3Or run:
omniroute runtime repairCheck the captured logs:
cat ~/.local/share/omnicode/graymatter-init.log
cat ~/.local/share/omnicode/openspec-init.logThese failures are non-fatal; omnicode continues even if initialization fails.
omnicode --statusThis shows whether opencode and omniroute processes are currently running.
If you want to fully remove everything omnicode touched:
npm uninstall -g @meyverick/omnicode
npm uninstall -g omniroute
npm uninstall -g opencode
npm uninstall -g @fission-ai/openspec
sudo rm /usr/local/bin/graymatter
rm -rf ~/.local/share/omnicode