MCPcopy Create free account
hub / github.com/OpenHands/OpenHands / checkPrerequisites

Function checkPrerequisites

scripts/dev-static.mjs:222–236  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

220}
221
222function checkPrerequisites() {
223 logStep("1/3", "Checking prerequisites...");
224
225 if (!commandExists("uvx")) {
226 console.error(formatMissingUvxGuidance(projectRoot));
227 process.exit(1);
228 }
229 logSuccess("uvx found");
230
231 if (!commandExists("npm")) {
232 logError("npm is required but not found");
233 process.exit(1);
234 }
235 logSuccess("npm found");
236}
237
238// ═══════════════════════════════════════════════════════════════════════════
239// Process Management

Callers 1

mainFunction · 0.70

Calls 6

formatMissingUvxGuidanceFunction · 0.90
errorMethod · 0.80
logStepFunction · 0.70
commandExistsFunction · 0.70
logSuccessFunction · 0.70
logErrorFunction · 0.70

Tested by

no test coverage detected