Skip to content

create-video inserts U+0015 (NAK) control character in output directory path #6859

@yungweng

Description

@yungweng

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

  1. Run npx create-video@latest
  2. Choose "Hello World" template
  3. Enter Downloads/my-video as the directory
  4. 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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions