Fission-AI/OpenSpec · error · StoreError
store_setup_path_required
store_setup_path_required
Error message
Pass --path with the folder where this store should live.
What it means
Error "Pass --path with the folder where this store should live." thrown in Fission-AI/OpenSpec.
Source
Thrown at src/commands/store.ts:273
async function resolveSetupInput(
id: string | undefined,
options: StoreSetupOptions
): Promise<ResolvedStoreSetupInput> {
const interactive = !options.json && isInteractive();
if (!id && !interactive) {
throw new StoreError(
'Pass a store name.',
'store_setup_id_required',
{
target: 'store.id',
fix: 'openspec store setup <id> --path ~/openspec/<id> --json',
}
);
}
if (options.path === undefined && !interactive) {
throw new StoreError(
'Pass --path with the folder where this store should live.',
'store_setup_path_required',
{
target: 'store.root',
fix: `openspec store setup ${id ?? '<id>'} --path ~/openspec/${id ?? '<id>'}`,
}
);
}
const resolvedId = id ? validateStoreId(id) : await promptStoreId();
const promptedPath = options.path === undefined
? await promptStorePath(resolvedId)
: undefined;
return {
id: resolvedId,
path: options.path ?? promptedPath,
...(options.remote !== undefined ? { remote: options.remote } : {}),View on GitHub (pinned to 6926ccb18a)
When it happens
Trigger: Thrown at src/commands/store.ts:273 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of Fission-AI/OpenSpec@6926ccb18a (2026-08-25).
Data as JSON: /api/errors/da79e31193e76060.
Report an issue: GitHub.