Symptom
CLI errors about missing plugin folders, empty available-plugins output, or artifacts landing under the wrong name/version.
Fix
- Run CLI commands from the Quark ERP project root so plugins/ and base/ resolve correctly
- quan-erp watch <plugin> — use the folder name under plugins/ (not the display title)
- pluginVersion in module.metadata.json becomes the available-plugins version folder
- If the UI stays stale, compare available-plugins vs installed-plugins versions
- Prefer npm @quan-erp/cli over any legacy ./erp binary