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

Function validateFrontendDependencies

scripts/dev-safe.mjs:380–390  ·  view source on GitHub ↗
(
  cwd = process.cwd(),
  platform = process.platform,
)

Source from the content-addressed store, hash-verified

378}
379
380export function validateFrontendDependencies(
381 cwd = process.cwd(),
382 platform = process.platform,
383) {
384 const missingBins = getMissingFrontendDependencyBins(cwd, platform);
385 if (missingBins.length > 0) {
386 throw new Error(
387 formatMissingFrontendDependenciesGuidance(missingBins, cwd),
388 );
389 }
390}
391
392/**
393 * Build the uvx command and arguments for running agent-server.

Callers 3

checkPrerequisitesFunction · 0.90
dev-safe.test.tsFile · 0.90
mainFunction · 0.85

Tested by

no test coverage detected