Skip to content

Troubleshoot ​

Quick diagnosis table for common issues.

Symptom → Cause → Fix ​

SymptomLikely causeFix
'lakreet-swarm' is not recognizedNot in PATHUse npx lakreet-swarm or add npm global bin to PATH
effectcraft-cli was not foundEffectCraft not installed or not in PATHInstall EffectCraft; or set EFFECTCRAFT_CLI / --cli
The filename, directory name, or volume label syntax is incorrect (Windows)Unquoted paths with spacesQuote paths: --template "My Template.ectemplate"
Column "Foo" is not a controlCSV header ≠ control nameFix header, or add columns mapping in config
Column "Opacity": "abc" is not a numberSlider expects numberFix CSV: use numeric values only
Column "Visible": "yes" is not a booleanCheckbox expects booleanUse true/false/yes/no/1/0/ya/tidak
file not found: /path/to/logo.pngMedia path wrongFix path in CSV, or set --media-dir / config mediaDir
Template has no controls to exportNo Essential Graphics propertiesAdd properties to Essential Graphics in EffectCraft
Manifest version X is not version 1EffectCraft version mismatchUpdate lakreet-swarm or EffectCraft; check doctor
Render failed: EffectCraft process exited with code 1EffectCraft internal errorCheck template for expressions/effects that fail; try preview first
Permission denied on outputFolder not writableUse --out to writable folder; check permissions
ENOSPC / No space left on deviceDisk fullFree space or use --out on larger volume

PowerShell vs cmd quoting ​

ShellCorrect
PowerShelllakreet-swarm render --template "t.ectemplate" --data "d.csv"
cmd.exelakreet-swarm render --template t.ectemplate --data d.csv (no quotes needed unless spaces)
bash/zshlakreet-swarm render --template "t.ectemplate" --data "d.csv"

In PowerShell, always quote paths with spaces.

Exit codes reference ​

CodeMeaningAction
0Success—
1Render failedCheck report.json for failed rows
2Usage errorRun --help, check flags
3Invalid dataRun check, fix CSV/JSON
4CLI not foundInstall EffectCraft or set --cli
5Template unreadableRun inspect, verify template
130Interrupted (Ctrl+C)Resume with --skip-existing

Getting help ​

1. Run doctor ​

bash
lakreet-swarm doctor

Output includes Node, EffectCraft version, compat check, disk, writability.

Doctor output

2. Include in GitHub issues ​

When filing an issue, always paste doctor output:

markdown
## Environment

lakreet-swarm doctor [PASS] Node.js v20.18.0 — >= 20 [PASS] effectcraft-cli — C:\Program Files\EffectCraft\effectcraft-cli.exe [PASS] EffectCraft version — 0.8.0 [PASS] output folder "out" — writable [PASS] free disk — 45.2 GB

All checks passed.


## 3. Run with --json for machine-readable errors

```bash
lakreet-swarm render --template t.ectemplate --data d.csv --json 2>&1 | tee render.log

Attach render.log to issue.

4. Enable verbose logging ​

bash
lakreet-swarm render --template t.ectemplate --data d.csv --verbose

Shows each EffectCraft command and args.

Common CI issues ​

IssueFix
effectcraft-cli not found in CIInstall EffectCraft in CI (Windows runner recommended)
Render timeout in CIIncrease --timeout or optimize template
Exit code 130 in CICI killed process (OOM, timeout); increase resources

Next steps ​

Independent project. Not affiliated with the ArtCraft team or the EffectCraft project.