After openspec config saves profile/workflow changes and you choose "Apply changes to this project now? → Yes", the apply step fails on installs that have no Node/npm.
- What happens: it errors with
'npx' is not recognized as an internal or external command (Windows) and prints openspec update failed. Please run it manually. The config file is saved, but the project's generated skills/commands are never regenerated — so the profile change silently doesn't take effect.
- Root cause:
src/commands/config.ts runs execSync('npx openspec update', …). On installs without Node/npm — e.g. bun install -g openspec, or the standalone binary — npx doesn't exist, so the step fails even though the openspec binary itself is on PATH and works fine.
- Scope: the same
execSync('npx openspec update') line is still on main, so v1.5.0 is affected too. Reproduced with openspec 1.4.1 installed via bun (~/.bun/bin/openspec.exe), with no Node/npm/npx present.
- Suggested fix: since openspec should already be on the PATH, dropping
npx and just calling openspec <command> (e.g. openspec update) seems like it would fix it.
After
openspec configsaves profile/workflow changes and you choose "Apply changes to this project now? → Yes", the apply step fails on installs that have no Node/npm.'npx' is not recognized as an internal or external command(Windows) and printsopenspec update failed. Please run it manually.The config file is saved, but the project's generated skills/commands are never regenerated — so the profile change silently doesn't take effect.src/commands/config.tsrunsexecSync('npx openspec update', …). On installs without Node/npm — e.g.bun install -g openspec, or the standalone binary —npxdoesn't exist, so the step fails even though theopenspecbinary itself is on PATH and works fine.execSync('npx openspec update')line is still onmain, so v1.5.0 is affected too. Reproduced with openspec 1.4.1 installed via bun (~/.bun/bin/openspec.exe), with no Node/npm/npx present.npxand just callingopenspec <command>(e.g.openspec update) seems like it would fix it.