diegosouzapw/OmniRoute · error · InstallError
Could not read installed version from node_modules/@maximhq/
Error message
Could not read installed version from node_modules/@maximhq/bifrost/package.json
What it means
Error "Could not read installed version from node_modules/@maximhq/bifrost/package.json" thrown in diegosouzapw/OmniRoute.
Source
Thrown at src/lib/services/installers/bifrost.ts:101
hostPkgPath,
JSON.stringify(
{ name: "omniroute-bifrost-host", version: "0.0.0", private: true, dependencies: {} },
null,
2
),
"utf8"
);
}
await runNpm(
["install", `${BIFROST_PACKAGE}@${version}`, "--omit=dev", "--no-audit", "--no-fund"],
// `--prefix` via `prefix` (→ npm_config_prefix env) so paths with spaces survive Windows shell
{ cwd: BIFROST_INSTALL_DIR, prefix: BIFROST_INSTALL_DIR }
);
const installedVersion = await getInstalledVersion();
if (!installedVersion) {
throw new InstallError(
"Could not read installed version from node_modules/@maximhq/bifrost/package.json",
"Bifrost instalado mas versão não pôde ser lida.",
500
);
}
await upsertVersionManagerTool({
tool: "bifrost",
installedVersion,
binaryPath: getBinPath(),
status: "stopped",
port: BIFROST_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/bifrost.ts:101 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/43d4adfcdb80b936.
Report an issue: GitHub.