[GH-ISSUE #1174] [Bug]: Failed to execute 'structuredClone' on 'Window': [object Array] could not be cloned. #322

Closed
opened 2026-10-31 22:11:35 +00:00 by bsakaguchi · 3 comments
Owner

Originally created by @jriker1 on GitHub (May 22, 2025).
Original GitHub issue: https://github.com/Comfy-Org/desktop/issues/1174

App Version

On the latest version of the Windows app as of now. After the last update where it launched a windows installer I can't run workflows anymore. They give me:

Failed to execute 'structuredClone' on 'Window': [object Array] could not be cloned.

Lot of people with this issue across ComfyUI. Some mention to run requirements.txt again but don't think the desktop version has this specifically, Ran full updates thru the manager. No joy after that and several restarts.

Expected Behavior

Shouldn't error

Failed to execute 'structuredClone' on 'Window': [object Array] could not be cloned.

And execute

Actual Behavior

Gives me

Failed to execute 'structuredClone' on 'Window': [object Array] could not be cloned.

Immediately.

Steps to Reproduce

Open a Workflow and run it.

Debug Logs

Here are the logs but I do not see anything generated when this happens when I have the console open

[2025-05-22 08:53:36.062] [info]  Adding extra search path checkpoints D:\AI_Tools\ComfyUI_Desktop\models\checkpoints
Adding extra search path classifiers D:\AI_Tools\ComfyUI_Desktop\models\classifiers
Adding extra search path clip D:\AI_Tools\ComfyUI_Desktop\models\clip
Adding extra search path clip_vision D:\AI_Tools\ComfyUI_Desktop\models\clip_vision

[2025-05-22 08:53:36.064] [info]  Adding extra search path configs D:\AI_Tools\ComfyUI_Desktop\models\configs
Adding extra search path controlnet D:\AI_Tools\ComfyUI_Desktop\models\controlnet
Adding extra search path diffusers D:\AI_Tools\ComfyUI_Desktop\models\diffusers
Adding extra search path diffusion_models D:\AI_Tools\ComfyUI_Desktop\models\diffusion_models
Adding extra search path embeddings D:\AI_Tools\ComfyUI_Desktop\models\embeddings
Adding extra search path gligen D:\AI_Tools\ComfyUI_Desktop\models\gligen
Adding extra search path hypernetworks D:\AI_Tools\ComfyUI_Desktop\models\hypernetworks
Adding extra search path loras D:\AI_Tools\ComfyUI_Desktop\models\loras
Adding extra search path photomaker D:\AI_Tools\ComfyUI_Desktop\models\photomaker
Adding extra search path style_models D:\AI_Tools\ComfyUI_Desktop\models\style_models
Adding extra search path unet D:\AI_Tools\ComfyUI_Desktop\models\unet
Adding extra search path upscale_models D:\AI_Tools\ComfyUI_Desktop\models\upscale_models
Adding extra search path vae D:\AI_Tools\ComfyUI_Desktop\models\vae
Adding extra search path vae_approx D:\AI_Tools\ComfyUI_Desktop\models\vae_approx
Adding extra search path animatediff_models D:\AI_Tools\ComfyUI_Desktop\models\animatediff_models
Adding extra search path animatediff_motion_lora D:\AI_Tools\ComfyUI_Desktop\models\animatediff_motion_lora
Adding extra search path animatediff_video_formats D:\AI_Tools\ComfyUI_Desktop\models\animatediff_video_formats
Adding extra search path ipadapter D:\AI_Tools\ComfyUI_Desktop\models\ipadapter
Adding extra search path liveportrait D:\AI_Tools\ComfyUI_Desktop\models\liveportrait
Adding extra search path insightface D:\AI_Tools\ComfyUI_Desktop\models\insightface
Adding extra search path layerstyle D:\AI_Tools\ComfyUI_Desktop\models\layerstyle
Adding extra search path LLM D:\AI_Tools\ComfyUI_Desktop\models\LLM
Adding extra search path Joy_caption D:\AI_Tools\ComfyUI_Desktop\models\Joy_caption
Adding extra search path sams D:\AI_Tools\ComfyUI_Desktop\models\sams
Adding extra search path blip D:\AI_Tools\ComfyUI_Desktop\models\blip
Adding extra search path CogVideo D:\AI_Tools\ComfyUI_Desktop\models\CogVideo
Adding extra search path xlabs D:\AI_Tools\ComfyUI_Desktop\models\xlabs
Adding extra search path instantid D:\AI_Tools\ComfyUI_Desktop\models\instantid
Adding extra search path custom_nodes D:\AI_Tools\ComfyUI_Desktop\custom_nodes
Adding extra search path download_model_base D:\AI_Tools\ComfyUI_Desktop\models
Adding extra search path custom_nodes C:\Users\jriker.ICEO\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\custom_nodes
Setting output directory to: D:\AI_Tools\ComfyUI_Desktop\output
Setting input directory to: D:\AI_Tools\ComfyUI_Desktop\input
Setting user directory to: D:\AI_Tools\ComfyUI_Desktop\user

[2025-05-22 08:53:38.755] [info]  [START] Security scan
[DONE] Security scan
## ComfyUI-Manager: installing dependencies done.
** ComfyUI startup time: 2025-05-22 08:53:38.752
[2025-05-22 08:53:38.756] [info]  
** Platform: Windows
** Python version: 3.12.8 (main, Dec  6 2024, 18:10:20) [MSC v.1942 64 bit (AMD64)]
** Python executable: D:\AI_Tools\ComfyUI_Desktop\.venv\Scripts\python.exe
** ComfyUI Path: C:\Users\jriker.ICEO\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI
** ComfyUI Base Folder Path: C:\Users\jriker.ICEO\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI
** User directory: D:\AI_Tools\ComfyUI_Desktop\user
** ComfyUI-Manager config path: D:\AI_Tools\ComfyUI_Desktop\user\default\ComfyUI-Manager\config.ini
** Log path: D:\AI_Tools\ComfyUI_Desktop\user\comfyui.log

[2025-05-22 08:53:40.646] [error] [ComfyUI-Manager] Failed to restore comfyui-frontend-package
expected str, bytes or os.PathLike object, not NoneType

[2025-05-22 08:53:40.648] [info]  
Prestartup times for custom nodes:
   4.6 seconds: C:\Users\jriker.ICEO\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\custom_nodes\ComfyUI-Manager


[2025-05-22 08:53:41.965] [info]  Checkpoint files will always be loaded safely.

[2025-05-22 08:53:42.091] [info]  Total VRAM 24564 MB, total RAM 98030 MB
pytorch version: 2.5.1+cu121

[2025-05-22 08:53:42.094] [info]  WARNING[XFORMERS]: xFormers can't load C++/CUDA extensions. xFormers was built for:
    PyTorch 2.6.0+cu124 with CUDA 1204 (you have 2.5.1+cu121)
    Python  3.12.8 (you have 3.12.8)
  Please reinstall xformers (see https://github.com/facebookresearch/xformers#installing-xformers)
  Memory-efficient attention, SwiGLU, sparse and more won't be available.
  Set XFORMERS_MORE_DETAILS=1 for more details

[2025-05-22 08:53:43.146] [info]  xformers version: 0.0.29.post2

[2025-05-22 08:53:43.147] [info]  Set vram state to: NORMAL_VRAM
Device: cuda:0 NVIDIA GeForce RTX 4090 : cudaMallocAsync

[2025-05-22 08:53:43.328] [info]  Using pytorch attention

[2025-05-22 08:53:43.982] [info]  Python version: 3.12.8 (main, Dec  6 2024, 18:10:20) [MSC v.1942 64 bit (AMD64)]

[2025-05-22 08:53:43.983] [info]  ComfyUI version: 0.3.34

[2025-05-22 08:53:44.009] [info]  [Prompt Server] web root: C:\Users\jriker.ICEO\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\web_custom_versions\desktop_app

[2025-05-22 08:53:45.514] [info]  Adding D:\AI_Tools\ComfyUI_Desktop\custom_nodes to sys.path
Adding 
[2025-05-22 08:53:45.516] [info]  C:\Users\jriker.ICEO\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\custom_nodes to sys.path

[2025-05-22 08:53:45.665] [info]  
Efficiency Nodes: Attempting to add Control Net options to the 'HiRes-Fix Script' Node (comfyui_controlnet_aux add-on)...Success!

[2025-05-22 08:53:45.666] [info]  Loaded Efficiency nodes from D:\AI_Tools\ComfyUI_Desktop\custom_nodes\efficiency-nodes-comfyui

[2025-05-22 08:53:45.679] [info]  Loaded ControlNetPreprocessors nodes from D:\AI_Tools\ComfyUI_Desktop\custom_nodes\comfyui_controlnet_aux

[2025-05-22 08:53:45.680] [info]  Could not find AdvancedControlNet nodes

[2025-05-22 08:53:45.681] [info]  Could not find AnimateDiff nodes

[2025-05-22 08:53:45.702] [info]  Loaded IPAdapter nodes from D:\AI_Tools\ComfyUI_Desktop\custom_nodes\ComfyUI_IPAdapter_plus

[2025-05-22 08:53:45.707] [info]  Could not find VideoHelperSuite nodes

[2025-05-22 08:53:45.711] [info]  ### Loading: ComfyUI-Impact-Pack (V8.15.1)

[2025-05-22 08:53:45.736] [info]  ### Loading: ComfyUI-Impact-Pack (V8.15.1)

[2025-05-22 08:53:45.753] [info]  [Impact Pack] Wildcards loading done.Loaded ImpactPack nodes from

[2025-05-22 08:53:45.754] [info]   D:\AI_Tools\ComfyUI_Desktop\custom_nodes\ComfyUI-Impact-Pack
[Impact Pack] Wildcards loading done.

[2025-05-22 08:53:46.098] [info]  [ComfyUI-Easy-Use] server: v1.3.1 Loaded
[ComfyUI-Easy-Use] web root: D:\AI_Tools\ComfyUI_Desktop\custom_nodes\ComfyUI-Easy-Use\web_version/v2 Loaded

[2025-05-22 08:53:46.120] [info]  ComfyUI-GGUF: Partial torch compile only, consider updating pytorch

[2025-05-22 08:53:47.098] [info]  Unable to import guidedFilter, make sure you have only opencv-contrib-python or run the import_error_install.bat script

[2025-05-22 08:53:47.099] [info]  ### Loading: ComfyUI-Impact-Pack (V8.15.1)

[2025-05-22 08:53:47.113] [info]  [Impact Pack] Wildcards loading done.

[2025-05-22 08:53:47.115] [info]  ### Loading: ComfyUI-Impact-Subpack (V1.3.2)

[2025-05-22 08:53:47.117] [info]  [Impact Pack/Subpack] Using folder_paths to determine whitelist path: D:\AI_Tools\ComfyUI_Desktop\user\default\ComfyUI-Impact-Subpack\model-whitelist.txt

[2025-05-22 08:53:47.118] [info]  [Impact Pack/Subpack] Ensured whitelist directory exists: D:\AI_Tools\ComfyUI_Desktop\user\default\ComfyUI-Impact-Subpack
[Impact Pack/Subpack] Loaded 0 model(s) from whitelist: D:\AI_Tools\ComfyUI_Desktop\user\default\ComfyUI-Impact-Subpack\model-whitelist.txt

[2025-05-22 08:53:47.119] [info]  [Impact Subpack] ultralytics_bbox: D:\AI_Tools\ComfyUI_Desktop\models\ultralytics\bbox
[Impact Subpack] ultralytics_segm: D:\AI_Tools\ComfyUI_Desktop\models\ultralytics\segm

[2025-05-22 08:53:47.120] [info]  [Impact Subpack] ultralytics_bbox: D:\AI_Tools\ComfyUI_Desktop\models\ultralytics\bbox
[Impact Subpack] ultralytics_segm: D:\AI_Tools\ComfyUI_Desktop\models\ultralytics\segm

[2025-05-22 08:53:47.121] [info]  ### Loading: ComfyUI-Inspire-Pack (V1.18)

[2025-05-22 08:53:47.448] [error] D:\AI_Tools\ComfyUI_Desktop\.venv\Lib\site-packages\albumentations\__init__.py:13: UserWarning: A new version of Albumentations is available: 2.0.7 (you have 1.4.15). Upgrade using: pip install -U albumentations. To disable automatic update checks, set the environment variable NO_ALBUMENTATIONS_UPDATE to 1.
  check_for_updates()

[2025-05-22 08:53:48.523] [error] D:\AI_Tools\ComfyUI_Desktop\.venv\Lib\site-packages\timm\models\layers\__init__.py:48: FutureWarning: Importing from timm.models.layers is deprecated, please import via timm.layers
  warnings.warn(f"Importing from {__name__} is deprecated, please import via timm.layers", FutureWarning)

[2025-05-22 08:53:48.886] [info]  Total VRAM 24564 MB, total RAM 98030 MB
pytorch version: 2.5.1+cu121

[2025-05-22 08:53:48.887] [info]  xformers version: 0.0.29.post2
Set vram state to: NORMAL_VRAM
Device: cuda:0 NVIDIA GeForce RTX 4090 : cudaMallocAsync

[2025-05-22 08:53:49.138] [info]  ------------------------------------------
Comfyroll Studio v1.76 :  175 Nodes Loaded
------------------------------------------
** For changes, please see patch notes at https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/blob/main/Patch_Notes.md
** For help, please see the wiki at https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/wiki
------------------------------------------

[2025-05-22 08:53:49.142] [error] [D:\AI_Tools\ComfyUI_Desktop\custom_nodes\comfyui_controlnet_aux] | INFO -> Using ckpts path: D:\AI_Tools\ComfyUI_Desktop\custom_nodes\comfyui_controlnet_aux\ckpts

[2025-05-22 08:53:49.143] [error] [D:\AI_Tools\ComfyUI_Desktop\custom_nodes\comfyui_controlnet_aux] | INFO -> Using symlinks: False
[D:\AI_Tools\ComfyUI_Desktop\custom_nodes\comfyui_controlnet_aux] | INFO -> Using ort providers: ['CUDAExecutionProvider', 'DirectMLExecutionProvider', 'OpenVINOExecutionProvider', 'ROCMExecutionProvider', 'CPUExecutionProvider', 'CoreMLExecutionProvider']

[2025-05-22 08:53:49.270] [info]  # 😺dzNodes: LayerStyle -> Cannot import name 'guidedFilter' from 'cv2.ximgproc'
A few nodes cannot works properly, while most nodes are not affected. Please REINSTALL package 'opencv-contrib-python'.
For detail refer to https://github.com/chflame163/ComfyUI_LayerStyle/issues/5

[2025-05-22 08:53:49.969] [info]  [tinyterraNodes] Loaded

[2025-05-22 08:53:50.021] [info]  
Efficiency Nodes: Attempting to add Control Net options to the 'HiRes-Fix Script' Node (comfyui_controlnet_aux add-on)...Success!

[2025-05-22 08:53:50.132] [info]  
[rgthree-comfy] Loaded 47 exciting nodes. 🎉


[2025-05-22 08:53:51.054] [info]  WAS Node Suite: OpenCV Python FFMPEG support is enabled
WAS Node Suite: `ffmpeg_bin_path` is set to: C:fmpeg

[2025-05-22 08:53:51.935] [info]  WAS Node Suite: Finished. Loaded 220 nodes successfully.

	"Your time is now. Start where you are and never stop." - Roy T. Bennett

[2025-05-22 08:53:51.936] [info]  

[2025-05-22 08:53:51.942] [info]  ### Loading: ComfyUI-Manager (V3.30.4)

[2025-05-22 08:53:51.943] [info]  [ComfyUI-Manager] network_mode: public
### ComfyUI Revision: UNKNOWN (The currently installed ComfyUI is not a Git repository)

[2025-05-22 08:53:51.960] [info]  
Import times for custom nodes:

[2025-05-22 08:53:51.961] [info]     0.0 seconds: C:\Users\jriker.ICEO\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\custom_nodes\websocket_image_save.py
   0.0 seconds: D:\AI_Tools\ComfyUI_Desktop\custom_nodes\ComfyUI-Universal-Styler
   0.0 seconds: D:\AI_Tools\ComfyUI_Desktop\custom_nodes\cg-use-everywhere
   0.0 seconds: D:\AI_Tools\ComfyUI_Desktop\custom_nodes\ComfyUI-YCYY-LoraInfo
   0.0 seconds: D:\AI_Tools\ComfyUI_Desktop\custom_nodes\lora-info

[2025-05-22 08:53:51.962] [info]     0.0 seconds: D:\AI_Tools\ComfyUI_Desktop\custom_nodes\ComfyUI-yaResolutionSelector

[2025-05-22 08:53:51.962] [info]     0.0 seconds: D:\AI_Tools\ComfyUI_Desktop\custom_nodes\qq-nodes-comfyui
   0.0 seconds: D:\AI_Tools\ComfyUI_Desktop\custom_nodes\ComfyUI-Inpaint-CropAndStitch
   0.0 seconds: D:\AI_Tools\ComfyUI_Desktop\custom_nodes\ComfyUI_IPAdapter_plus
   0.0 seconds: D:\AI_Tools\ComfyUI_Desktop\custom_nodes\ComfyUI-BRIA_AI-RMBG

[2025-05-22 08:53:51.963] [info]     0.0 seconds: D:\AI_Tools\ComfyUI_Desktop\custom_nodes\comfy-image-saver
   0.0 seconds: D:\AI_Tools\ComfyUI_Desktop\custom_nodes\ComfyUI-Impact-Subpack
   0.0 seconds: D:\AI_Tools\ComfyUI_Desktop\custom_nodes\ComfyUI_Soze
   0.0 seconds: D:\AI_Tools\ComfyUI_Desktop\custom_nodes\ComfyUI_essentials
   0.0 seconds: D:\AI_Tools\ComfyUI_Desktop\custom_nodes\efficiency-nodes-comfyui
   0.0 seconds: D:\AI_Tools\ComfyUI_Desktop\custom_nodes\ComfyUI_UltimateSDUpscale
   0.0 seconds: D:\AI_Tools\ComfyUI_Desktop\custom_nodes\ComfyUI-Florence2
   0.0 seconds: D:\AI_Tools\ComfyUI_Desktop\custom_nodes\ComfyUI-Custom-Scripts
   0.0 seconds: D:\AI_Tools\ComfyUI_Desktop\custom_nodes\gguf
   0.0 seconds: D:\AI_Tools\ComfyUI_Desktop\custom_nodes\ComfyUI-GGUF
   0.0 seconds: D:\AI_Tools\ComfyUI_Desktop\custom_nodes\ComfyUI-Impact-Pack
   0.0 seconds: C:\Users\jriker.ICEO\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\custom_nodes\ComfyUI-Manager
   0.0 seconds: D:\AI_Tools\ComfyUI_Desktop\custom_nodes\ComfyUI_ExtraModels
   0.0 seconds: D:\AI_Tools\ComfyUI_Desktop\custom_nodes\ComfyUI_Comfyroll_CustomNodes
   0.0 seconds: D:\AI_Tools\ComfyUI_Desktop\custom_nodes\comfyui_controlnet_aux
   0.0 seconds: D:\AI_Tools\ComfyUI_Desktop\custom_nodes\ComfyUI-Inspire-Pack
   0.0 seconds: D:\AI_Tools\ComfyUI_Desktop\custom_nodes\ComfyUI_tinyterraNodes
   0.1 seconds: D:\AI_Tools\ComfyUI_Desktop\custom_nodes\ComfyUI_InvSR
   0.1 seconds: D:\AI_Tools\ComfyUI_Desktop\custom_nodes\comfyui-videohelpersuite
   0.1 seconds: D:\AI_Tools\ComfyUI_Desktop\custom_nodes\ComfyUI-KJNodes
   0.1 seconds: D:\AI_Tools\ComfyUI_Desktop\custom_nodes\comfyui-tensorops
   0.1 seconds: D:\AI_Tools\ComfyUI_Desktop\custom_nodes\rgthree-comfy
   0.3 seconds: D:\AI_Tools\ComfyUI_Desktop\custom_nodes\comfyui-art-venture
   0.3 seconds: D:\AI_Tools\ComfyUI_Desktop\custom_nodes\ComfyUI-Easy-Use
   0.6 seconds: D:\AI_Tools\ComfyUI_Desktop\custom_nodes\comfyui-advancedliveportrait
   0.7 seconds: D:\AI_Tools\ComfyUI_Desktop\custom_nodes\comfyui_layerstyle
   1.0 seconds: D:\AI_Tools\ComfyUI_Desktop\custom_nodes\ComfyUI-Image-Filters
   1.7 seconds: D:\AI_Tools\ComfyUI_Desktop\custom_nodes\ComfyUI-Inspyrenet-Rembg
   1.8 seconds: D:\AI_Tools\ComfyUI_Desktop\custom_nodes\was-node-suite-comfyui


[2025-05-22 08:53:51.983] [info]  Starting server


[2025-05-22 08:53:51.984] [info]  To see the GUI go to: http://192.168.0.82:8002

[2025-05-22 08:53:52.050] [info]  [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json

[2025-05-22 08:53:52.085] [info]  [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/github-stats.json

[2025-05-22 08:53:52.153] [info]  [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json

[2025-05-22 08:53:53.326] [info]  YOUR FOLDER: D:\AI_Tools\ComfyUI_Desktop

[2025-05-22 08:53:53.327] [info]  YOUR FOLDER: D:\AI_Tools\ComfyUI_Desktop

[2025-05-22 08:53:54.675] [info]  FETCH ComfyRegistry Data: 5/86

[2025-05-22 08:53:57.727] [info]  FETCH ComfyRegistry Data: 10/86

[2025-05-22 08:54:00.744] [info]  FETCH ComfyRegistry Data: 15/86

[2025-05-22 08:54:03.750] [info]  FETCH ComfyRegistry Data: 20/86

[2025-05-22 08:54:06.732] [info]  FETCH ComfyRegistry Data: 25/86

[2025-05-22 08:54:09.767] [info]  FETCH ComfyRegistry Data: 30/86

[2025-05-22 08:54:12.759] [info]  FETCH ComfyRegistry Data: 35/86

[2025-05-22 08:54:15.744] [info]  FETCH ComfyRegistry Data: 40/86

[2025-05-22 08:54:18.739] [info]  FETCH ComfyRegistry Data: 45/86

[2025-05-22 08:54:21.724] [info]  FETCH ComfyRegistry Data: 50/86

[2025-05-22 08:54:24.756] [info]  FETCH ComfyRegistry Data: 55/86

[2025-05-22 08:54:27.759] [info]  FETCH ComfyRegistry Data: 60/86

[2025-05-22 08:54:30.765] [info]  FETCH ComfyRegistry Data: 65/86

[2025-05-22 08:54:33.852] [info]  FETCH ComfyRegistry Data: 70/86

[2025-05-22 08:54:36.869] [info]  FETCH ComfyRegistry Data: 75/86

[2025-05-22 08:54:39.825] [info]  FETCH ComfyRegistry Data: 80/86

[2025-05-22 08:54:42.834] [info]  FETCH ComfyRegistry Data: 85/86

[2025-05-22 08:54:43.937] [info]  FETCH ComfyRegistry Data [DONE]

[2025-05-22 08:54:44.003] [info]  [ComfyUI-Manager] default cache updated: https://api.comfy.org/nodes

[2025-05-22 08:54:44.031] [info]  nightly_channel: 
https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/remote

[2025-05-22 08:54:44.041] [info]  FETCH DATA from: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json
[2025-05-22 08:54:44.129] [info]   [DONE]

[2025-05-22 08:54:44.164] [info]  [ComfyUI-Manager] All startup tasks have been completed.

Browser Logs

nothing changed

Settings JSON

Don'/t have this path looks linux.

Other

No response

┆Issue is synchronized with this Notion page by Unito

Originally created by @jriker1 on GitHub (May 22, 2025). Original GitHub issue: https://github.com/Comfy-Org/desktop/issues/1174 ### App Version On the latest version of the Windows app as of now. After the last update where it launched a windows installer I can't run workflows anymore. They give me: Failed to execute 'structuredClone' on 'Window': [object Array] could not be cloned. Lot of people with this issue across ComfyUI. Some mention to run requirements.txt again but don't think the desktop version has this specifically, Ran full updates thru the manager. No joy after that and several restarts. ### Expected Behavior Shouldn't error Failed to execute 'structuredClone' on 'Window': [object Array] could not be cloned. And execute ### Actual Behavior Gives me Failed to execute 'structuredClone' on 'Window': [object Array] could not be cloned. Immediately. ### Steps to Reproduce Open a Workflow and run it. ### Debug Logs ```powershell Here are the logs but I do not see anything generated when this happens when I have the console open [2025-05-22 08:53:36.062] [info] Adding extra search path checkpoints D:\AI_Tools\ComfyUI_Desktop\models\checkpoints Adding extra search path classifiers D:\AI_Tools\ComfyUI_Desktop\models\classifiers Adding extra search path clip D:\AI_Tools\ComfyUI_Desktop\models\clip Adding extra search path clip_vision D:\AI_Tools\ComfyUI_Desktop\models\clip_vision [2025-05-22 08:53:36.064] [info] Adding extra search path configs D:\AI_Tools\ComfyUI_Desktop\models\configs Adding extra search path controlnet D:\AI_Tools\ComfyUI_Desktop\models\controlnet Adding extra search path diffusers D:\AI_Tools\ComfyUI_Desktop\models\diffusers Adding extra search path diffusion_models D:\AI_Tools\ComfyUI_Desktop\models\diffusion_models Adding extra search path embeddings D:\AI_Tools\ComfyUI_Desktop\models\embeddings Adding extra search path gligen D:\AI_Tools\ComfyUI_Desktop\models\gligen Adding extra search path hypernetworks D:\AI_Tools\ComfyUI_Desktop\models\hypernetworks Adding extra search path loras D:\AI_Tools\ComfyUI_Desktop\models\loras Adding extra search path photomaker D:\AI_Tools\ComfyUI_Desktop\models\photomaker Adding extra search path style_models D:\AI_Tools\ComfyUI_Desktop\models\style_models Adding extra search path unet D:\AI_Tools\ComfyUI_Desktop\models\unet Adding extra search path upscale_models D:\AI_Tools\ComfyUI_Desktop\models\upscale_models Adding extra search path vae D:\AI_Tools\ComfyUI_Desktop\models\vae Adding extra search path vae_approx D:\AI_Tools\ComfyUI_Desktop\models\vae_approx Adding extra search path animatediff_models D:\AI_Tools\ComfyUI_Desktop\models\animatediff_models Adding extra search path animatediff_motion_lora D:\AI_Tools\ComfyUI_Desktop\models\animatediff_motion_lora Adding extra search path animatediff_video_formats D:\AI_Tools\ComfyUI_Desktop\models\animatediff_video_formats Adding extra search path ipadapter D:\AI_Tools\ComfyUI_Desktop\models\ipadapter Adding extra search path liveportrait D:\AI_Tools\ComfyUI_Desktop\models\liveportrait Adding extra search path insightface D:\AI_Tools\ComfyUI_Desktop\models\insightface Adding extra search path layerstyle D:\AI_Tools\ComfyUI_Desktop\models\layerstyle Adding extra search path LLM D:\AI_Tools\ComfyUI_Desktop\models\LLM Adding extra search path Joy_caption D:\AI_Tools\ComfyUI_Desktop\models\Joy_caption Adding extra search path sams D:\AI_Tools\ComfyUI_Desktop\models\sams Adding extra search path blip D:\AI_Tools\ComfyUI_Desktop\models\blip Adding extra search path CogVideo D:\AI_Tools\ComfyUI_Desktop\models\CogVideo Adding extra search path xlabs D:\AI_Tools\ComfyUI_Desktop\models\xlabs Adding extra search path instantid D:\AI_Tools\ComfyUI_Desktop\models\instantid Adding extra search path custom_nodes D:\AI_Tools\ComfyUI_Desktop\custom_nodes Adding extra search path download_model_base D:\AI_Tools\ComfyUI_Desktop\models Adding extra search path custom_nodes C:\Users\jriker.ICEO\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\custom_nodes Setting output directory to: D:\AI_Tools\ComfyUI_Desktop\output Setting input directory to: D:\AI_Tools\ComfyUI_Desktop\input Setting user directory to: D:\AI_Tools\ComfyUI_Desktop\user [2025-05-22 08:53:38.755] [info] [START] Security scan [DONE] Security scan ## ComfyUI-Manager: installing dependencies done. ** ComfyUI startup time: 2025-05-22 08:53:38.752 [2025-05-22 08:53:38.756] [info] ** Platform: Windows ** Python version: 3.12.8 (main, Dec 6 2024, 18:10:20) [MSC v.1942 64 bit (AMD64)] ** Python executable: D:\AI_Tools\ComfyUI_Desktop\.venv\Scripts\python.exe ** ComfyUI Path: C:\Users\jriker.ICEO\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI ** ComfyUI Base Folder Path: C:\Users\jriker.ICEO\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI ** User directory: D:\AI_Tools\ComfyUI_Desktop\user ** ComfyUI-Manager config path: D:\AI_Tools\ComfyUI_Desktop\user\default\ComfyUI-Manager\config.ini ** Log path: D:\AI_Tools\ComfyUI_Desktop\user\comfyui.log [2025-05-22 08:53:40.646] [error] [ComfyUI-Manager] Failed to restore comfyui-frontend-package expected str, bytes or os.PathLike object, not NoneType [2025-05-22 08:53:40.648] [info] Prestartup times for custom nodes: 4.6 seconds: C:\Users\jriker.ICEO\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\custom_nodes\ComfyUI-Manager [2025-05-22 08:53:41.965] [info] Checkpoint files will always be loaded safely. [2025-05-22 08:53:42.091] [info] Total VRAM 24564 MB, total RAM 98030 MB pytorch version: 2.5.1+cu121 [2025-05-22 08:53:42.094] [info] WARNING[XFORMERS]: xFormers can't load C++/CUDA extensions. xFormers was built for: PyTorch 2.6.0+cu124 with CUDA 1204 (you have 2.5.1+cu121) Python 3.12.8 (you have 3.12.8) Please reinstall xformers (see https://github.com/facebookresearch/xformers#installing-xformers) Memory-efficient attention, SwiGLU, sparse and more won't be available. Set XFORMERS_MORE_DETAILS=1 for more details [2025-05-22 08:53:43.146] [info] xformers version: 0.0.29.post2 [2025-05-22 08:53:43.147] [info] Set vram state to: NORMAL_VRAM Device: cuda:0 NVIDIA GeForce RTX 4090 : cudaMallocAsync [2025-05-22 08:53:43.328] [info] Using pytorch attention [2025-05-22 08:53:43.982] [info] Python version: 3.12.8 (main, Dec 6 2024, 18:10:20) [MSC v.1942 64 bit (AMD64)] [2025-05-22 08:53:43.983] [info] ComfyUI version: 0.3.34 [2025-05-22 08:53:44.009] [info] [Prompt Server] web root: C:\Users\jriker.ICEO\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\web_custom_versions\desktop_app [2025-05-22 08:53:45.514] [info] Adding D:\AI_Tools\ComfyUI_Desktop\custom_nodes to sys.path Adding [2025-05-22 08:53:45.516] [info] C:\Users\jriker.ICEO\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\custom_nodes to sys.path [2025-05-22 08:53:45.665] [info] Efficiency Nodes: Attempting to add Control Net options to the 'HiRes-Fix Script' Node (comfyui_controlnet_aux add-on)...Success! [2025-05-22 08:53:45.666] [info] Loaded Efficiency nodes from D:\AI_Tools\ComfyUI_Desktop\custom_nodes\efficiency-nodes-comfyui [2025-05-22 08:53:45.679] [info] Loaded ControlNetPreprocessors nodes from D:\AI_Tools\ComfyUI_Desktop\custom_nodes\comfyui_controlnet_aux [2025-05-22 08:53:45.680] [info] Could not find AdvancedControlNet nodes [2025-05-22 08:53:45.681] [info] Could not find AnimateDiff nodes [2025-05-22 08:53:45.702] [info] Loaded IPAdapter nodes from D:\AI_Tools\ComfyUI_Desktop\custom_nodes\ComfyUI_IPAdapter_plus [2025-05-22 08:53:45.707] [info] Could not find VideoHelperSuite nodes [2025-05-22 08:53:45.711] [info] ### Loading: ComfyUI-Impact-Pack (V8.15.1) [2025-05-22 08:53:45.736] [info] ### Loading: ComfyUI-Impact-Pack (V8.15.1) [2025-05-22 08:53:45.753] [info] [Impact Pack] Wildcards loading done.Loaded ImpactPack nodes from [2025-05-22 08:53:45.754] [info] D:\AI_Tools\ComfyUI_Desktop\custom_nodes\ComfyUI-Impact-Pack [Impact Pack] Wildcards loading done. [2025-05-22 08:53:46.098] [info] [ComfyUI-Easy-Use] server: v1.3.1 Loaded [ComfyUI-Easy-Use] web root: D:\AI_Tools\ComfyUI_Desktop\custom_nodes\ComfyUI-Easy-Use\web_version/v2 Loaded [2025-05-22 08:53:46.120] [info] ComfyUI-GGUF: Partial torch compile only, consider updating pytorch [2025-05-22 08:53:47.098] [info] Unable to import guidedFilter, make sure you have only opencv-contrib-python or run the import_error_install.bat script [2025-05-22 08:53:47.099] [info] ### Loading: ComfyUI-Impact-Pack (V8.15.1) [2025-05-22 08:53:47.113] [info] [Impact Pack] Wildcards loading done. [2025-05-22 08:53:47.115] [info] ### Loading: ComfyUI-Impact-Subpack (V1.3.2) [2025-05-22 08:53:47.117] [info] [Impact Pack/Subpack] Using folder_paths to determine whitelist path: D:\AI_Tools\ComfyUI_Desktop\user\default\ComfyUI-Impact-Subpack\model-whitelist.txt [2025-05-22 08:53:47.118] [info] [Impact Pack/Subpack] Ensured whitelist directory exists: D:\AI_Tools\ComfyUI_Desktop\user\default\ComfyUI-Impact-Subpack [Impact Pack/Subpack] Loaded 0 model(s) from whitelist: D:\AI_Tools\ComfyUI_Desktop\user\default\ComfyUI-Impact-Subpack\model-whitelist.txt [2025-05-22 08:53:47.119] [info] [Impact Subpack] ultralytics_bbox: D:\AI_Tools\ComfyUI_Desktop\models\ultralytics\bbox [Impact Subpack] ultralytics_segm: D:\AI_Tools\ComfyUI_Desktop\models\ultralytics\segm [2025-05-22 08:53:47.120] [info] [Impact Subpack] ultralytics_bbox: D:\AI_Tools\ComfyUI_Desktop\models\ultralytics\bbox [Impact Subpack] ultralytics_segm: D:\AI_Tools\ComfyUI_Desktop\models\ultralytics\segm [2025-05-22 08:53:47.121] [info] ### Loading: ComfyUI-Inspire-Pack (V1.18) [2025-05-22 08:53:47.448] [error] D:\AI_Tools\ComfyUI_Desktop\.venv\Lib\site-packages\albumentations\__init__.py:13: UserWarning: A new version of Albumentations is available: 2.0.7 (you have 1.4.15). Upgrade using: pip install -U albumentations. To disable automatic update checks, set the environment variable NO_ALBUMENTATIONS_UPDATE to 1. check_for_updates() [2025-05-22 08:53:48.523] [error] D:\AI_Tools\ComfyUI_Desktop\.venv\Lib\site-packages\timm\models\layers\__init__.py:48: FutureWarning: Importing from timm.models.layers is deprecated, please import via timm.layers warnings.warn(f"Importing from {__name__} is deprecated, please import via timm.layers", FutureWarning) [2025-05-22 08:53:48.886] [info] Total VRAM 24564 MB, total RAM 98030 MB pytorch version: 2.5.1+cu121 [2025-05-22 08:53:48.887] [info] xformers version: 0.0.29.post2 Set vram state to: NORMAL_VRAM Device: cuda:0 NVIDIA GeForce RTX 4090 : cudaMallocAsync [2025-05-22 08:53:49.138] [info] ------------------------------------------ Comfyroll Studio v1.76 : 175 Nodes Loaded ------------------------------------------ ** For changes, please see patch notes at https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/blob/main/Patch_Notes.md ** For help, please see the wiki at https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/wiki ------------------------------------------ [2025-05-22 08:53:49.142] [error] [D:\AI_Tools\ComfyUI_Desktop\custom_nodes\comfyui_controlnet_aux] | INFO -> Using ckpts path: D:\AI_Tools\ComfyUI_Desktop\custom_nodes\comfyui_controlnet_aux\ckpts [2025-05-22 08:53:49.143] [error] [D:\AI_Tools\ComfyUI_Desktop\custom_nodes\comfyui_controlnet_aux] | INFO -> Using symlinks: False [D:\AI_Tools\ComfyUI_Desktop\custom_nodes\comfyui_controlnet_aux] | INFO -> Using ort providers: ['CUDAExecutionProvider', 'DirectMLExecutionProvider', 'OpenVINOExecutionProvider', 'ROCMExecutionProvider', 'CPUExecutionProvider', 'CoreMLExecutionProvider'] [2025-05-22 08:53:49.270] [info] # 😺dzNodes: LayerStyle -> Cannot import name 'guidedFilter' from 'cv2.ximgproc' A few nodes cannot works properly, while most nodes are not affected. Please REINSTALL package 'opencv-contrib-python'. For detail refer to https://github.com/chflame163/ComfyUI_LayerStyle/issues/5 [2025-05-22 08:53:49.969] [info] [tinyterraNodes] Loaded [2025-05-22 08:53:50.021] [info] Efficiency Nodes: Attempting to add Control Net options to the 'HiRes-Fix Script' Node (comfyui_controlnet_aux add-on)...Success! [2025-05-22 08:53:50.132] [info] [rgthree-comfy] Loaded 47 exciting nodes. 🎉 [2025-05-22 08:53:51.054] [info] WAS Node Suite: OpenCV Python FFMPEG support is enabled WAS Node Suite: `ffmpeg_bin_path` is set to: C: fmpeg [2025-05-22 08:53:51.935] [info] WAS Node Suite: Finished. Loaded 220 nodes successfully. "Your time is now. Start where you are and never stop." - Roy T. Bennett [2025-05-22 08:53:51.936] [info] [2025-05-22 08:53:51.942] [info] ### Loading: ComfyUI-Manager (V3.30.4) [2025-05-22 08:53:51.943] [info] [ComfyUI-Manager] network_mode: public ### ComfyUI Revision: UNKNOWN (The currently installed ComfyUI is not a Git repository) [2025-05-22 08:53:51.960] [info] Import times for custom nodes: [2025-05-22 08:53:51.961] [info] 0.0 seconds: C:\Users\jriker.ICEO\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\custom_nodes\websocket_image_save.py 0.0 seconds: D:\AI_Tools\ComfyUI_Desktop\custom_nodes\ComfyUI-Universal-Styler 0.0 seconds: D:\AI_Tools\ComfyUI_Desktop\custom_nodes\cg-use-everywhere 0.0 seconds: D:\AI_Tools\ComfyUI_Desktop\custom_nodes\ComfyUI-YCYY-LoraInfo 0.0 seconds: D:\AI_Tools\ComfyUI_Desktop\custom_nodes\lora-info [2025-05-22 08:53:51.962] [info] 0.0 seconds: D:\AI_Tools\ComfyUI_Desktop\custom_nodes\ComfyUI-yaResolutionSelector [2025-05-22 08:53:51.962] [info] 0.0 seconds: D:\AI_Tools\ComfyUI_Desktop\custom_nodes\qq-nodes-comfyui 0.0 seconds: D:\AI_Tools\ComfyUI_Desktop\custom_nodes\ComfyUI-Inpaint-CropAndStitch 0.0 seconds: D:\AI_Tools\ComfyUI_Desktop\custom_nodes\ComfyUI_IPAdapter_plus 0.0 seconds: D:\AI_Tools\ComfyUI_Desktop\custom_nodes\ComfyUI-BRIA_AI-RMBG [2025-05-22 08:53:51.963] [info] 0.0 seconds: D:\AI_Tools\ComfyUI_Desktop\custom_nodes\comfy-image-saver 0.0 seconds: D:\AI_Tools\ComfyUI_Desktop\custom_nodes\ComfyUI-Impact-Subpack 0.0 seconds: D:\AI_Tools\ComfyUI_Desktop\custom_nodes\ComfyUI_Soze 0.0 seconds: D:\AI_Tools\ComfyUI_Desktop\custom_nodes\ComfyUI_essentials 0.0 seconds: D:\AI_Tools\ComfyUI_Desktop\custom_nodes\efficiency-nodes-comfyui 0.0 seconds: D:\AI_Tools\ComfyUI_Desktop\custom_nodes\ComfyUI_UltimateSDUpscale 0.0 seconds: D:\AI_Tools\ComfyUI_Desktop\custom_nodes\ComfyUI-Florence2 0.0 seconds: D:\AI_Tools\ComfyUI_Desktop\custom_nodes\ComfyUI-Custom-Scripts 0.0 seconds: D:\AI_Tools\ComfyUI_Desktop\custom_nodes\gguf 0.0 seconds: D:\AI_Tools\ComfyUI_Desktop\custom_nodes\ComfyUI-GGUF 0.0 seconds: D:\AI_Tools\ComfyUI_Desktop\custom_nodes\ComfyUI-Impact-Pack 0.0 seconds: C:\Users\jriker.ICEO\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\custom_nodes\ComfyUI-Manager 0.0 seconds: D:\AI_Tools\ComfyUI_Desktop\custom_nodes\ComfyUI_ExtraModels 0.0 seconds: D:\AI_Tools\ComfyUI_Desktop\custom_nodes\ComfyUI_Comfyroll_CustomNodes 0.0 seconds: D:\AI_Tools\ComfyUI_Desktop\custom_nodes\comfyui_controlnet_aux 0.0 seconds: D:\AI_Tools\ComfyUI_Desktop\custom_nodes\ComfyUI-Inspire-Pack 0.0 seconds: D:\AI_Tools\ComfyUI_Desktop\custom_nodes\ComfyUI_tinyterraNodes 0.1 seconds: D:\AI_Tools\ComfyUI_Desktop\custom_nodes\ComfyUI_InvSR 0.1 seconds: D:\AI_Tools\ComfyUI_Desktop\custom_nodes\comfyui-videohelpersuite 0.1 seconds: D:\AI_Tools\ComfyUI_Desktop\custom_nodes\ComfyUI-KJNodes 0.1 seconds: D:\AI_Tools\ComfyUI_Desktop\custom_nodes\comfyui-tensorops 0.1 seconds: D:\AI_Tools\ComfyUI_Desktop\custom_nodes\rgthree-comfy 0.3 seconds: D:\AI_Tools\ComfyUI_Desktop\custom_nodes\comfyui-art-venture 0.3 seconds: D:\AI_Tools\ComfyUI_Desktop\custom_nodes\ComfyUI-Easy-Use 0.6 seconds: D:\AI_Tools\ComfyUI_Desktop\custom_nodes\comfyui-advancedliveportrait 0.7 seconds: D:\AI_Tools\ComfyUI_Desktop\custom_nodes\comfyui_layerstyle 1.0 seconds: D:\AI_Tools\ComfyUI_Desktop\custom_nodes\ComfyUI-Image-Filters 1.7 seconds: D:\AI_Tools\ComfyUI_Desktop\custom_nodes\ComfyUI-Inspyrenet-Rembg 1.8 seconds: D:\AI_Tools\ComfyUI_Desktop\custom_nodes\was-node-suite-comfyui [2025-05-22 08:53:51.983] [info] Starting server [2025-05-22 08:53:51.984] [info] To see the GUI go to: http://192.168.0.82:8002 [2025-05-22 08:53:52.050] [info] [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json [2025-05-22 08:53:52.085] [info] [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/github-stats.json [2025-05-22 08:53:52.153] [info] [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json [2025-05-22 08:53:53.326] [info] YOUR FOLDER: D:\AI_Tools\ComfyUI_Desktop [2025-05-22 08:53:53.327] [info] YOUR FOLDER: D:\AI_Tools\ComfyUI_Desktop [2025-05-22 08:53:54.675] [info] FETCH ComfyRegistry Data: 5/86 [2025-05-22 08:53:57.727] [info] FETCH ComfyRegistry Data: 10/86 [2025-05-22 08:54:00.744] [info] FETCH ComfyRegistry Data: 15/86 [2025-05-22 08:54:03.750] [info] FETCH ComfyRegistry Data: 20/86 [2025-05-22 08:54:06.732] [info] FETCH ComfyRegistry Data: 25/86 [2025-05-22 08:54:09.767] [info] FETCH ComfyRegistry Data: 30/86 [2025-05-22 08:54:12.759] [info] FETCH ComfyRegistry Data: 35/86 [2025-05-22 08:54:15.744] [info] FETCH ComfyRegistry Data: 40/86 [2025-05-22 08:54:18.739] [info] FETCH ComfyRegistry Data: 45/86 [2025-05-22 08:54:21.724] [info] FETCH ComfyRegistry Data: 50/86 [2025-05-22 08:54:24.756] [info] FETCH ComfyRegistry Data: 55/86 [2025-05-22 08:54:27.759] [info] FETCH ComfyRegistry Data: 60/86 [2025-05-22 08:54:30.765] [info] FETCH ComfyRegistry Data: 65/86 [2025-05-22 08:54:33.852] [info] FETCH ComfyRegistry Data: 70/86 [2025-05-22 08:54:36.869] [info] FETCH ComfyRegistry Data: 75/86 [2025-05-22 08:54:39.825] [info] FETCH ComfyRegistry Data: 80/86 [2025-05-22 08:54:42.834] [info] FETCH ComfyRegistry Data: 85/86 [2025-05-22 08:54:43.937] [info] FETCH ComfyRegistry Data [DONE] [2025-05-22 08:54:44.003] [info] [ComfyUI-Manager] default cache updated: https://api.comfy.org/nodes [2025-05-22 08:54:44.031] [info] nightly_channel: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/remote [2025-05-22 08:54:44.041] [info] FETCH DATA from: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json [2025-05-22 08:54:44.129] [info] [DONE] [2025-05-22 08:54:44.164] [info] [ComfyUI-Manager] All startup tasks have been completed. ``` ### Browser Logs nothing changed ### Settings JSON Don'/t have this path looks linux. ### Other _No response_ ┆Issue is synchronized with this [Notion page](https://www.notion.so/Issue-1174-Bug-Failed-to-execute-structuredClone-on-Window-object-Array-could-not-be-cl-1fb6d73d3650818a99d4d0620438f7bd) by [Unito](https://www.unito.io)
bsakaguchi 2026-10-31 22:11:35 +00:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@dosubot[bot] commented on GitHub (May 22, 2025):

The error Failed to execute 'structuredClone' on 'Window': [object Array] could not be cloned appears to be related to how the ComfyUI desktop app (built with Electron) is handling settings or workflow data in memory. The codebase uses structuredClone to deep-copy default settings, and this error typically occurs if an object that can't be cloned (such as certain arrays or complex objects) is passed to it (source).

Here’s what I found:

  • There are no official troubleshooting steps or documentation entries specifically for this error in the ComfyUI docs or Notion site.
  • The error is not directly mentioned in existing issues or discussions in the repository.
  • The logs show a warning about a version mismatch between xFormers and PyTorch, but it’s unclear if this is directly related to the structuredClone error.
  • There is also an error about failing to restore the comfyui-frontend-package due to a NoneType issue, which could be a clue to a deeper problem with the app’s environment or dependencies.
  • Running requirements.txt is part of the manual install process for ComfyUI, but the desktop version uses its own isolated Python environment and typically manages dependencies automatically. Running requirements.txt manually is not usually required for the desktop app (source).

What you can try:

  • Since this issue started after a recent update, it’s possible that a new or updated dependency, or a change in how settings/workflows are handled, is causing the problem. If you have custom nodes or workflows, try temporarily removing or disabling them to see if the error persists.
  • The error about the comfyui-frontend-package and the structuredClone failure may be related. If possible, try a clean reinstall of the desktop app to ensure all dependencies and packages are correctly set up.
  • If you are comfortable doing so, you could try resetting or deleting your settings file (usually found in your user directory) in case it contains data that cannot be cloned.

At this time, there are no official fixes or workarounds documented for this specific error. The documentation suggests checking the official forum for similar error reports (source). If the problem continues, monitoring the repository or forum for updates or patches is recommended.

If you have more details about your workflow or any recent changes to your setup, sharing those might help narrow down the cause.

To reply, just mention @dosu.


Docs are dead. Just use Dosu.

Leave Feedback Ask Dosu about desktop Share Dosu with your team

<!-- gh-comment-id:2901363891 --> @dosubot[bot] commented on GitHub (May 22, 2025): <!-- Answer --> The error `Failed to execute 'structuredClone' on 'Window': [object Array] could not be cloned` appears to be related to how the ComfyUI desktop app (built with Electron) is handling settings or workflow data in memory. The codebase uses `structuredClone` to deep-copy default settings, and this error typically occurs if an object that can't be cloned (such as certain arrays or complex objects) is passed to it ([source](https://github.com/Comfy-Org/desktop/blob/main/src/config/comfySettings.ts)). Here’s what I found: - There are no official troubleshooting steps or documentation entries specifically for this error in the ComfyUI docs or Notion site. - The error is not directly mentioned in existing issues or discussions in the repository. - The logs show a warning about a version mismatch between xFormers and PyTorch, but it’s unclear if this is directly related to the structuredClone error. - There is also an error about failing to restore the comfyui-frontend-package due to a NoneType issue, which could be a clue to a deeper problem with the app’s environment or dependencies. - Running `requirements.txt` is part of the manual install process for ComfyUI, but the desktop version uses its own isolated Python environment and typically manages dependencies automatically. Running `requirements.txt` manually is not usually required for the desktop app ([source](https://docs.comfy.org/development/core-concepts/dependencies)). **What you can try:** - Since this issue started after a recent update, it’s possible that a new or updated dependency, or a change in how settings/workflows are handled, is causing the problem. If you have custom nodes or workflows, try temporarily removing or disabling them to see if the error persists. - The error about the comfyui-frontend-package and the structuredClone failure may be related. If possible, try a clean reinstall of the desktop app to ensure all dependencies and packages are correctly set up. - If you are comfortable doing so, you could try resetting or deleting your settings file (usually found in your user directory) in case it contains data that cannot be cloned. At this time, there are no official fixes or workarounds documented for this specific error. The documentation suggests checking the official forum for similar error reports ([source](https://docs.comfy.org/installation/desktop/windows)). If the problem continues, monitoring the repository or forum for updates or patches is recommended. If you have more details about your workflow or any recent changes to your setup, sharing those might help narrow down the cause. <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=reply-with-mention&utm_term=Comfy-Org%2Fdesktop).* --- Docs are dead. Just use [Dosu](https://dosu.dev?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=static-docs-tagline&utm_term=Comfy-Org%2Fdesktop). [![Leave Feedback](https://img.shields.io/badge/Leave%20Feedback-555555?style=flat)](https://app.dosu.dev/response-feedback?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=static-docs-feedback&utm_term=Comfy-Org%2Fdesktop#message_id=6a86abe5-471f-4a30-9b6c-7ad86c60f235) [![Ask Dosu about desktop](https://img.shields.io/badge/Ask%20Dosu%20about%20desktop-2f7b3f?style=flat&logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPHN2ZyB3aWR0aD0iODYiIGhlaWdodD0iODkiIHZpZXdCb3g9IjAgMCA4NiA4OSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNNS4yOTIzNiAxMi43OTI4TDE3Ljc1OTMgNi42ODE4OFY3Mi41NjY3TDUuMjkyMzYgODQuMDYxOFYxMi43OTI4WiIgZmlsbD0iI0I0QkI5MSIvPjxwYXRoIGQ9Ik0xOC4yNTc1IDczLjExOTZMNTkuMTMyOSA3Mi43NDhMNTEuNzAxMSA4Mi40MDk1TDI5LjAzMzggODYuMjkxTDYuMjM5NjIgODUuMTU1NEwxOC4yNTc1IDczLjExOTZaIiBmaWxsPSIjNzc4NTYxIi8%2BPHBhdGggZD0iTTE3LjQ5MTYgMy43MzYzM0wzLjU4NTU3IDEyLjcwOTlWODMuNTc5MkMzLjU4NTU3IDg0Ljc1NDIgNC45ODU2MyA4NS4zNjUyIDUuODQ3MDUgODQuNTY2TDE5LjYyOTYgNzEuNzgwMSIgc3Ryb2tlPSJibGFjayIgc3Ryb2tlLXdpZHRoPSI2LjQyODQ0IiBzdHJva2UtbGluZWNhcD0icm91bmQiLz48bWFzayBpZD0iZG9zdS1kLWN1dG91dCIgZmlsbD0id2hpdGUiPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNNDAuNzA0IDAuNTE4MDY2SDE3LjA0MzlWNzYuMjIyMUg0MC43MDRINDIuNTgwNUg0Ny44MDEzQzY4LjcwNjQgNzYuMjIyMSA4NS42NTMzIDU5LjI3NTIgODUuNjUzMyAzOC4zNzAxQzg1LjY1MzMgMTcuNDY1IDY4LjcwNjMgMC41MTgwNjYgNDcuODAxMyAwLjUxODA2Nkg0Mi41ODA1SDQwLjcwNFoiLz48L21hc2s%2BPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik00MC43MDQgMC41MTgwNjZIMTcuMDQzOVY3Ni4yMjIxSDQwLjcwNEg0Mi41ODA1SDQ3LjgwMTNDNjguNzA2NCA3Ni4yMjIxIDg1LjY1MzMgNTkuMjc1MiA4NS42NTMzIDM4LjM3MDFDODUuNjUzMyAxNy40NjUgNjguNzA2MyAwLjUxODA2NiA0Ny44MDEzIDAuNTE4MDY2SDQyLjU4MDVINDAuNzA0WiIgZmlsbD0iI0YzRjZGMSIvPjxwYXRoIGQ9Ik0xNy4wNDM5IDAuNTE4MDY2Vi02LjU3OTE5SDkuOTQ2NjlWMC41MTgwNjZIMTcuMDQzOVpNMTcuMDQzOSA3Ni4yMjIxSDkuOTQ2NjlWODMuMzE5NEgxNy4wNDM5Vjc2LjIyMjFaTTE3LjA0MzkgNy42MTUzMkg0MC43MDRWLTYuNTc5MTlIMTcuMDQzOVY3LjYxNTMyWk0yNC4xNDEyIDc2LjIyMjFWMC41MTgwNjZIOS45NDY2OVY3Ni4yMjIxSDI0LjE0MTJaTTQwLjcwNCA2OS4xMjQ5SDE3LjA0MzlWODMuMzE5NEg0MC43MDRWNjkuMTI0OVpNNDIuNTgwNSA2OS4xMjQ5SDQwLjcwNFY4My4zMTk0SDQyLjU4MDVWNjkuMTI0OVpNNDcuODAxMyA2OS4xMjQ5SDQyLjU4MDVWODMuMzE5NEg0Ny44MDEzVjY5LjEyNDlaTTc4LjU1NiAzOC4zNzAxQzc4LjU1NiA1NS4zNTU1IDY0Ljc4NjcgNjkuMTI0OSA0Ny44MDEzIDY5LjEyNDlWODMuMzE5NEM3Mi42MjYxIDgzLjMxOTQgOTIuNzUwNSA2My4xOTQ5IDkyLjc1MDUgMzguMzcwMUg3OC41NTZaTTQ3LjgwMTMgNy42MTUzMkM2NC43ODY2IDcuNjE1MzIgNzguNTU2IDIxLjM4NDcgNzguNTU2IDM4LjM3MDFIOTIuNzUwNUM5Mi43NTA1IDEzLjU0NTMgNzIuNjI2IC02LjU3OTE5IDQ3LjgwMTMgLTYuNTc5MTlWNy42MTUzMlpNNDIuNTgwNSA3LjYxNTMySDQ3LjgwMTNWLTYuNTc5MTlINDIuNTgwNVY3LjYxNTMyWk00MC43MDQgNy42MTUzMkg0Mi41ODA1Vi02LjU3OTE5SDQwLjcwNFY3LjYxNTMyWiIgZmlsbD0iYmxhY2siIG1hc2s9InVybCgjZG9zdS1kLWN1dG91dCkiLz48cGF0aCBkPSJNNjguOTIxNSAzNi4wMTM1QzY4LjkyMTUgMzYuMDEzNSA2NS43MzY5IDQ5LjQ3MzggNTEuNDIzMSA0OS40NzM4QzM3LjEwOTMgNDkuNDczOCAzMi41Nzg3IDM3LjM1OTYgMzIuNTc4NyAzNi4wMTM1IiBzdHJva2U9ImJsYWNrIiBzdHJva2Utd2lkdGg9IjcuNjkxNjEiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPjxwYXRoIGQ9Ik0wLjM0ODYzMyA4NS40OTQ2QzAuMzQ4NjMzIDg1LjQ5NDYgMjkuNDg1NiA4NS44MzA5IDM0LjgwOSA4NS42OThDNDQuODMzNyA4NS40NDc3IDUxLjI4NzIgODQuNDAyIDU3LjUyNjkgNzguOTcyNEM2Mi44MTI5IDc0LjM3MjcgNzUuMTM0MiA1OS42ODM2IDc1LjEzNDIgNTkuNjgzNiIgc3Ryb2tlPSJibGFjayIgc3Ryb2tlLXdpZHRoPSI2LjE2NDgyIi8%2BPC9zdmc%2B)](https://github.dosu.com/Comfy-Org/desktop?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=static-docs-ask-repo&utm_term=Comfy-Org%2Fdesktop) [![Share Dosu with your team](https://img.shields.io/badge/Share%20Dosu%20with%20your%20team-1f6feb?style=flat)](https://app.dosu.dev/signup?referrer=openSource&source=github-footer&utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=static-docs-share-team&utm_term=Comfy-Org%2Fdesktop)
Author
Owner

@jriker1 commented on GitHub (May 22, 2025):

When I disable node qq-nodes-comfyui then things run. If I switch from nightly which is basically 1.0.1 to 1.0.0 then things work as well.

<!-- gh-comment-id:2901414644 --> @jriker1 commented on GitHub (May 22, 2025): When I disable node qq-nodes-comfyui then things run. If I switch from nightly which is basically 1.0.1 to 1.0.0 then things work as well.
Author
Owner

@webfiltered commented on GitHub (May 22, 2025):

Glad you found the issue! Please let the author of qq-nodes-comfui know about the issue, if you can.

<!-- gh-comment-id:2901841555 --> @webfiltered commented on GitHub (May 22, 2025): Glad you found the issue! Please let the author of qq-nodes-comfui know about the issue, if you can.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Comfy-Org/desktop#322
No description provided.