{"record":{"id":"da79e31193e76060","repo":"Fission-AI/OpenSpec","slug":"store-setup-path-required","errorCode":"store_setup_path_required","errorMessage":"Pass --path with the folder where this store should live.","messagePattern":"Pass --path with the folder where this store should live\\.","errorType":"exception","errorClass":"StoreError","httpStatus":null,"severity":"error","filePath":"src/commands/store.ts","lineNumber":273,"sourceCode":"async function resolveSetupInput(\n  id: string | undefined,\n  options: StoreSetupOptions\n): Promise<ResolvedStoreSetupInput> {\n  const interactive = !options.json && isInteractive();\n\n  if (!id && !interactive) {\n    throw new StoreError(\n      'Pass a store name.',\n      'store_setup_id_required',\n      {\n        target: 'store.id',\n        fix: 'openspec store setup <id> --path ~/openspec/<id> --json',\n      }\n    );\n  }\n\n  if (options.path === undefined && !interactive) {\n    throw new StoreError(\n      'Pass --path with the folder where this store should live.',\n      'store_setup_path_required',\n      {\n        target: 'store.root',\n        fix: `openspec store setup ${id ?? '<id>'} --path ~/openspec/${id ?? '<id>'}`,\n      }\n    );\n  }\n\n  const resolvedId = id ? validateStoreId(id) : await promptStoreId();\n  const promptedPath = options.path === undefined\n    ? await promptStorePath(resolvedId)\n    : undefined;\n\n  return {\n    id: resolvedId,\n    path: options.path ?? promptedPath,\n    ...(options.remote !== undefined ? { remote: options.remote } : {}),","sourceCodeStart":255,"sourceCodeEnd":291,"githubUrl":"https://github.com/Fission-AI/OpenSpec/blob/6926ccb18afa4ff621112813e9968334576ee11a/src/commands/store.ts#L255-L291","documentation":"Error \"Pass --path with the folder where this store should live.\" thrown in Fission-AI/OpenSpec.","triggerScenarios":"Thrown at src/commands/store.ts:273 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"6926ccb18afa4ff621112813e9968334576ee11a","analyzedAt":"2026-08-25T12:29:45.729Z","schemaVersion":2},"datasetVersion":"2026-08-25T16:17:27.014Z"}