{"record":{"id":"0d44a7acca8b1074","repo":"clash-verge-rev/clash-verge-rev","slug":"dev-command-failed-to-return-a-child-process","errorCode":null,"errorMessage":"dev command failed to return a child process","messagePattern":"dev command failed to return a child process","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"scripts/dev.mjs","lineNumber":353,"sourceCode":"  const invocation = platform === 'darwin' ? anchorInvocation : tauriInvocation\n  let child\n  try {\n    child = spawnChild(invocation.command, invocation.args, {\n      shell: platform === 'win32',\n      env: invocation.env,\n      detached: invocation.detached,\n      stdio:\n        platform === 'darwin'\n          ? ['inherit', 'inherit', 'inherit', 'ipc']\n          : 'inherit',\n    })\n  } catch (error) {\n    removeSigint()\n    throw error\n  }\n  if (!child || typeof child.once !== 'function') {\n    removeSigint()\n    throw new Error('dev command failed to return a child process')\n  }\n  const outerLifecycle = childLifecycle(child)\n\n  if (platform !== 'darwin') {\n    mirrorResult(await outerLifecycle.result)\n    return\n  }\n\n  let groupState = 'safe'\n  let finalKillSent = false\n  const anchorChannel = createAnchorChannel(child, outerLifecycle.result)\n  outerLifecycle.result.then(\n    () => {\n      if (groupState !== 'released' && !finalKillSent) groupState = 'unsafe'\n    },\n    () => {\n      groupState = 'unsafe'\n    },","sourceCodeStart":335,"sourceCodeEnd":371,"githubUrl":"https://github.com/clash-verge-rev/clash-verge-rev/blob/5cad0f2799e74b1105e133bcfc2a45f5c1370ef1/scripts/dev.mjs#L335-L371","documentation":"Error \"dev command failed to return a child process\" thrown in clash-verge-rev/clash-verge-rev.","triggerScenarios":"Thrown at scripts/dev.mjs:353 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"analyzedSha":"5cad0f2799e74b1105e133bcfc2a45f5c1370ef1","analyzedAt":"2026-08-12T03:25:57.699Z","schemaVersion":2},"datasetVersion":"2026-08-12T08:17:17.861Z"}