Skip to content

Draft generated for Windows target fails to open in real CapCut 8.7.0 Windows (unusual path error, hardcoded mac platform block) #111

Closed

Description

@danyangarcia

Environment

  • capcut-cli version: 0.22.0 (pinned exact)
  • CapCut Desktop: 8.7.0 (Windows), installed at C:\Users\Danya\AppData\Local\CapCut\Apps\8.7.0.3706\
  • OS: Windows 11 Pro

Problem

Every draft generated by capcut-cli (both from a custom compile pipeline and from the plain capcut quickstart example, i.e. no custom code involved) fails to open in this real CapCut 8.7.0 Windows install with:

"el proyecto proviene de una ruta inusual y no se puede usar" (CapCut's own error — roughly "this project comes from an unusual path and cannot be used")

This reproduces 100% of the time, across multiple sessions and multiple drafts, with no workaround found so far.

What was tried (all real commands, all failed to fix it)

  • capcut register --apply --materials on the draft copied into the real store — no effect
  • capcut relink --from --to — no effect
  • capcut diagnose — flagged this install uses the nested Timelines/<id>/ layout (schema 7), tracked as issue CapCut 7.x edits are discarded when the active draft lives under Timelines/ #50 here
  • capcut sync-timelines --nested --apply — no effect
  • capcut version on a generated draft shows a hardcoded platform: {app_version: "6.5.0", os: "mac"} block coming from the library's internal template — this appears in every draft the library generates, including plain quickstart, and does not reflect the real installed CapCut version/OS at all
  • Isolation control: ran capcut register against a completely untouched quickstart draft (no custom code) — it was also rejected, this time by register itself, saying it could not derive an id because draft_content.json has no id field

This confirms the incompatibility is between [email protected]'s generated draft schema and a real CapCut 8.7.0 Windows install, not something specific to a downstream integration.

docs/version-support.md already marks "8.7 Windows: reported + synthetic-tested, real validation pending" — this issue is that real-world validation, and it's negative: a real round-trip against CapCut 8.7 Windows does not work as-is.

Expected

A draft compiled by capcut-cli for a Windows target should open and sync correctly in a real CapCut 8.7.0 Windows install, or at minimum the platform block should reflect the actual target OS/version instead of a hardcoded mac 6.5.0 value.

Activity

  1. danyangarcia commented on Sep 10, 2026

    @danyangarcia
    Author

    Turns out this is the exact same root cause as #67 (already closed) - my apologies for the duplicate, I hadn't found that issue when I filed this one.

    Confirmed real: the bundled template's stale schema (app_version 6.5.0 / version 7) is exactly what a materially newer real CapCut (9.3.0 here, originally hit on 8.7.0) rejects with the misleading 'unusual path' error. Your documented workaround in #67 - compiling with --template pointed at an empty project captured from the real, currently-installed CapCut - works. Fixed it on our end that way: detect the version CapCut itself last stamped into a real draft, resolve a matching captured template, compile against that instead of the bundled one. Real round-trip in CapCut 9.3.0 (open, edit, save, close, reopen, edit persisted) confirmed working.

    Thanks for the very clear diagnosis in #67 - it's what pointed me to the actual fix instead of digging further on our side.

  2. renezander030 commented on Sep 11, 2026

    @renezander030
    Owner

    Hi @danyangarcia — v0.23.0 ships your fix direction as the default.

    • init / quickstart / compile seed a new draft from the newest app-authored project in the drafts folder whenever it outgrows the bundled template: its version markers and settings, none of its content, never its Timelines/. --template bundled opts out; --template <dir> still works and no longer carries the donor's per-project state.
    • capcut migrate <project> --from-store (or --like <project>) restamps drafts already built, in place, content untouched — no re-compile.
    • capcut lint reports the stale signature as template-stale.
    • The isolation control you ran was a second bug: init stamped the new id into draft_info.json only, so register refused the untouched quickstart draft. Both mirrors are stamped now, and register falls back to the sidecar's draft_id for older drafts.

    docs/version-support.md records the 8.7.0 Windows / 9.3.0 round-trip you reported. A capcut fixture <project> --out <dir> bundle from the 8.7.0 install is still the artifact that would move that row from "reported" to fixture-tested, if you ever have a minute. Thanks for the report — it was the real validation this repo had been waiting on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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