Install --skill fails in dev mode: __dirname not defined
Apra Fleet is an open-source MCP server
Brought to you by:
apralabs
Originally created by: kumaakh
node dist/index.js install --skill fails in dev mode with:
Install failed: __dirname is not defined
The install script uses ESM output but references __dirname which is only available in CJS. This means developers cannot install/update skills during development without manually copying files.
apra-fleet install --skill should work in both SEA binary and dev mode (node dist/index.js).
Manual copy: cp -r skills/pm/ ~/.claude/skills/pm/
Ticket changed by: kumaakh