Files
vendoo/docs/SLICE_22_4_UTF8_BOM_FIX.md
Masterluke77andGitHub 6f48827f4d Vendoo 1.41.2 – Git Ignore Boundary & Module Tracking Hotfix (#18)
* docs: prepare Vendoo 1.41.2 git-ignore boundary hotfix

* fix: track native source modules with root-anchored runtime ignores
2026-07-09 17:09:00 +02:00

27 lines
816 B
Markdown
Raw Permalink Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Slice 22.4 UTF-8-BOM-Fix für lokalen FLUX-Workflow
## Reale Fehlerursache
Windows PowerShell 5.1 schreibt bei `Set-Content -Encoding utf8` standardmäßig
ein UTF-8-BOM. Dadurch begann die Workflow-Datei unsichtbar mit `U+FEFF` vor
dem eigentlichen `{`.
Node.js `JSON.parse()` meldete deshalb:
```text
Unexpected token '', "{ ..." is not valid JSON
```
## Korrektur
- zentrale `Write-Utf8NoBom`-Funktion im FLUX-Installer
- Workflow-JSON und Installationsstatus werden ohne BOM geschrieben
- Laufzeit entfernt defensiv ein vorhandenes BOM vor `JSON.parse()`
- mitgelieferte Workflow-Datei ist BOM-frei
## Benutzerablauf
Vollständigen ZIP-Stand entpacken und über den bestehenden Vendoo-Ordner
kopieren. Gleichnamige Dateien ersetzen, den Zielordner nicht löschen.
Danach `setup.bat` starten.