diegosouzapw/OmniRoute · error · InstallError
Could not read installed version from node_modules/mux/packa
Error message
Could not read installed version from node_modules/mux/package.json
What it means
Error "Could not read installed version from node_modules/mux/package.json" thrown in diegosouzapw/OmniRoute.
Source
Thrown at src/lib/services/installers/mux.ts:108
JSON.stringify(
{ name: "omniroute-mux-host", version: "0.0.0", private: true, dependencies: {} },
null,
2
),
"utf8"
);
}
await runNpm(
["install", `${MUX_PACKAGE}@${version}`, "--omit=dev", "--no-audit", "--no-fund"],
// `--prefix` is passed via `prefix` (→ npm_config_prefix env) instead of an
// argv path so an install dir with spaces survives the Windows shell (#5379).
{ cwd: MUX_INSTALL_DIR, prefix: MUX_INSTALL_DIR }
);
const installedVersion = await getInstalledVersion();
if (!installedVersion) {
throw new InstallError(
"Could not read installed version from node_modules/mux/package.json",
"Mux instalado mas versão não pôde ser lida.",
500
);
}
await upsertVersionManagerTool({
tool: "mux",
installedVersion,
binaryPath: getServerPath(),
status: "stopped",
port: MUX_DEFAULT_PORT,
});
// Invalidate cache so next getLatestVersion() re-fetches
latestVersionCache = null;
return {View on GitHub (pinned to a179ffed5b)
When it happens
Trigger: Thrown at src/lib/services/installers/mux.ts:108 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of diegosouzapw/OmniRoute@a179ffed5b (2026-08-25).
Data as JSON: /api/errors/8451704f0a5ea99b.
Report an issue: GitHub.