Fission-AI/OpenSpec · error · StoreError
store_setup_id_required
store_setup_id_required
Error message
Pass a store name.
What it means
Error "Pass a store name." thrown in Fission-AI/OpenSpec.
Source
Thrown at src/commands/store.ts:262
// Suggest a visible, user-owned location — never the managed XDG data dir.
const defaultPath = ['~', 'openspec', id].join('/');
return input({
message: 'Where should this store live?',
default: defaultPath,
prefill: 'editable',
required: true,
});
}
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>'}`,
}
);View on GitHub (pinned to 6926ccb18a)
When it happens
Trigger: Thrown at src/commands/store.ts:262 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/8a7fc5577a5f9c41.
Report an issue: GitHub.