Bug Description
npx create-video@latest (v4.0.436) inserts a Unicode control character U+0015 (NAK / ^U) into the output directory path, causing the project to be created in a phantom directory instead of the intended location.
Steps to Reproduce
- Run
npx create-video@latest
- Choose "Hello World" template
- Enter
Downloads/my-video as the directory
- Complete the setup (No TailwindCSS, Yes agent skills)
Expected Behavior
Project is created at ~/Downloads/my-video.
Actual Behavior
Project is created at ~/<NAK>Downloads/my-video — a directory whose name starts with the invisible ASCII control character U+0015 (NAK). The CLI output also shows this character, visible only as an extra space:
Copied to Downloads/my-video.
The leading space before "Downloads" is actually the ^U control character. This makes cd Downloads/my-video fail because the real Downloads directory doesn't contain the project.
Confirmed by inspecting the home directory with find ~ -maxdepth 1 -name "*Downloads" | cat -v:
/Users/username/^UDownloads
/Users/username/Downloads
Environment
- OS: macOS (Darwin 25.3.0)
- Shell: fish
- create-video version: 4.0.436
- Node version: $(node -v)
- npm version: $(npm -v)
Bug Description
npx create-video@latest(v4.0.436) inserts a Unicode control characterU+0015(NAK /^U) into the output directory path, causing the project to be created in a phantom directory instead of the intended location.Steps to Reproduce
npx create-video@latestDownloads/my-videoas the directoryExpected Behavior
Project is created at
~/Downloads/my-video.Actual Behavior
Project is created at
~/<NAK>Downloads/my-video— a directory whose name starts with the invisible ASCII control characterU+0015(NAK). The CLI output also shows this character, visible only as an extra space:The leading space before "Downloads" is actually the
^Ucontrol character. This makescd Downloads/my-videofail because the realDownloadsdirectory doesn't contain the project.Confirmed by inspecting the home directory with
find ~ -maxdepth 1 -name "*Downloads" | cat -v:Environment