Templates page is empty after creating a new ComfyUI instance

After creating a brand new ComfyUI instance in ComfyUI Desktop, the Templates page is completely empty.

The issue is reproducible on one Windows PC, while another PC with the same ComfyUI Desktop version creates a working instance.

Steps to reproduce

  1. Create a new ComfyUI instance.
  2. Launch it.
  3. Open Templates.
  4. The Templates page is empty.

Expected behavior

All default workflow templates should be available.

Actual behavior

The Templates page is empty.

The log contains:


Failed to resolve template asset paths:
Asset 'template-multistyle-magazine-cover-nanobananapro.json'
for template 'template-multistyle-magazine-cover-nanobananapro'
not found in package 'comfyui_workflow_templates_json'

Investigation

I compared the broken and working virtual environments using Total Commander.

The broken instance contained approximately:

  • 114 fewer files
  • 5 fewer directories

inside:


.venv\Lib\site-packages

The following workflow template packages were incomplete:

  • comfyui-workflow-templates-json
  • comfyui-workflow-templates-media-api
  • comfyui-workflow-templates-media-assets-01
  • comfyui-workflow-templates-media-image
  • comfyui-workflow-templates-media-other
  • comfyui-workflow-templates-media-video

Interestingly:

  • pip show reported all packages as installed.
  • However, many JSON and WEBP files were physically missing from site-packages.

Running:


python -m pip cache purge
python -m pip install --force-reinstall comfyui-workflow-templates

downloads the missing files.

After reinstalling the package, the Templates page immediately works again.

Same ComfyUI version.

  • Same ComfyUI Desktop version.
  • Fresh instances.
  • The issue is reproducible on one machine but not on another.
  • Copying a working .venv from another PC also fixes the problem.

I can reliably reproduce this issue on one Windows PC. Creating a fresh instance always results in missing files inside .venv\Lib\site-packages. Running python -m pip install --force-reinstall comfyui-workflow-templates restores the missing files and immediately fixes the Templates page.