[GH-ISSUE #2372] Depricated API Warnings #944

Open
opened 2026-10-27 21:24:12 +00:00 by bsakaguchi · 2 comments
Owner

Originally created by @Shard2301 on GitHub (Dec 9, 2025).
Original GitHub issue: https://github.com/Comfy-Org/ComfyUI-Manager/issues/2372

When launching ComfyUI via python3 ./main.py ComfyUI manager (installed into .../ComfyUI/custom_nodes/comfyui-manager') will cause several deprivation warnings output into the log during server activation/runtime.

This is a fresh install of only ComfyUI (manual installation) and ComfyUI Manager.

System: Mac Mini M2

stdout:

[START] Security scan
[ComfyUI-Manager] Using `uv` as Python module for pip operations.
Using Python 3.13.11 environment at: /Users/me/.pyenv/versions/3.13.11
[DONE] Security scan
## ComfyUI-Manager: installing dependencies done.
** ComfyUI startup time: 2025-12-10 07:23:40.726
** Platform: Darwin
** Python version: 3.13.11 (main, Dec 10 2025, 06:29:48) [Clang 17.0.0 (clang-1700.4.4.1)]
** Python executable: /Users/me/.pyenv/versions/3.13.11/bin/python3
** ComfyUI Path: /Volumes/AI_Stuff/ComfyUI
** ComfyUI Base Folder Path: /Volumes/AI_Stuff/ComfyUI
** User directory: /Volumes/AI_Stuff/ComfyUI/user
** ComfyUI-Manager config path: /Volumes/AI_Stuff/ComfyUI/user/__manager/config.ini
** Log path: /Volumes/AI_Stuff/ComfyUI/user/comfyui.log
Using Python 3.13.11 environment at: /Users/me/.pyenv/versions/3.13.11
Using Python 3.13.11 environment at: /Users/me/.pyenv/versions/3.13.11

Prestartup times for custom nodes:
   0.4 seconds: /Volumes/AI_Stuff/ComfyUI/custom_nodes/comfyui-manager

Checkpoint files will always be loaded safely.
Total VRAM 8192 MB, total RAM 8192 MB
pytorch version: 2.10.0.dev20251209
Mac Version (26, 1)
Set vram state to: SHARED
Device: mps
Using sub quadratic optimization for attention, if you have memory or speed issues try using: --use-split-cross-attention
Python version: 3.13.11 (main, Dec 10 2025, 06:29:48) [Clang 17.0.0 (clang-1700.4.4.1)]
ComfyUI version: 0.3.76
ComfyUI frontend version: 1.33.13
[Prompt Server] web root: /Users/me/.pyenv/versions/3.13.11/lib/python3.13/site-packages/comfyui_frontend_package/static
Total VRAM 8192 MB, total RAM 8192 MB
pytorch version: 2.10.0.dev20251209
Mac Version (26, 1)
Set vram state to: SHARED
Device: mps
### Loading: ComfyUI-Manager (V3.38.1)
[ComfyUI-Manager] network_mode: public
### ComfyUI Version: v0.3.76-56-g9d252f3b | Released on '2025-12-09'

Import times for custom nodes:
   0.0 seconds: /Volumes/AI_Stuff/ComfyUI/custom_nodes/websocket_image_save.py
   0.1 seconds: /Volumes/AI_Stuff/ComfyUI/custom_nodes/comfyui-manager

[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json
[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/github-stats.json
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json
Context impl SQLiteImpl.
Will assume non-transactional DDL.
No target revision found.
Starting server

To see the GUI go to: http://127.0.0.1:8188
FETCH ComfyRegistry Data: 5/111
[DEPRECATION WARNING] Detected import of deprecated legacy API: /scripts/ui.js. This is likely caused by a custom node extension using outdated APIs. Please update your extensions or contact the extension author for an updated version.
[DEPRECATION WARNING] Detected import of deprecated legacy API: /extensions/core/groupNode.js. This is likely caused by a custom node extension using outdated APIs. Please update your extensions or contact the extension author for an updated version.
[DEPRECATION WARNING] Detected import of deprecated legacy API: /scripts/ui/components/buttonGroup.js. This is likely caused by a custom node extension using outdated APIs. Please update your extensions or contact the extension author for an updated version.
[DEPRECATION WARNING] Detected import of deprecated legacy API: /scripts/ui/components/button.js. This is likely caused by a custom node extension using outdated APIs. Please update your extensions or contact the extension author for an updated version.
FETCH ComfyRegistry Data: 10/111
FETCH ComfyRegistry Data: 15/111
FETCH ComfyRegistry Data: 20/111
FETCH ComfyRegistry Data: 25/111
FETCH ComfyRegistry Data: 30/111
FETCH ComfyRegistry Data: 35/111
FETCH ComfyRegistry Data: 40/111
FETCH ComfyRegistry Data: 45/111
FETCH ComfyRegistry Data: 50/111
FETCH ComfyRegistry Data: 55/111
FETCH ComfyRegistry Data: 60/111
FETCH ComfyRegistry Data: 65/111
FETCH ComfyRegistry Data: 70/111
FETCH ComfyRegistry Data: 75/111
FETCH ComfyRegistry Data: 80/111
FETCH ComfyRegistry Data: 85/111
FETCH ComfyRegistry Data: 90/111
FETCH ComfyRegistry Data: 95/111
FETCH ComfyRegistry Data: 100/111
FETCH ComfyRegistry Data: 105/111
FETCH ComfyRegistry Data: 110/111
FETCH ComfyRegistry Data [DONE]
[ComfyUI-Manager] default cache updated: https://api.comfy.org/nodes
FETCH DATA from: https://raw.githubusercontent.com/Comfy-Org/ComfyUI-Manager/main/custom-node-list.json [DONE]
[ComfyUI-Manager] broken item:{'author': 'rjgoif', 'title': 'Img Label Tools', 'id': 'Img-Label-Tools', 'reference': 'https://github.com/rjgoif/ComfyUI-Img-Label-Tools', 'install_type': 'git-clone', 'description': 'Tools to help annotate images for sharing on Reddit, Discord, etc.'}
[ComfyUI-Manager] All startup tasks have been completed.
Originally created by @Shard2301 on GitHub (Dec 9, 2025). Original GitHub issue: https://github.com/Comfy-Org/ComfyUI-Manager/issues/2372 When launching ComfyUI via `python3 ./main.py` ComfyUI manager (installed into .../ComfyUI/custom_nodes/comfyui-manager') will cause several deprivation warnings output into the log during server activation/runtime. This is a fresh install of only ComfyUI (manual installation) and ComfyUI Manager. System: Mac Mini M2 stdout: ``` [START] Security scan [ComfyUI-Manager] Using `uv` as Python module for pip operations. Using Python 3.13.11 environment at: /Users/me/.pyenv/versions/3.13.11 [DONE] Security scan ## ComfyUI-Manager: installing dependencies done. ** ComfyUI startup time: 2025-12-10 07:23:40.726 ** Platform: Darwin ** Python version: 3.13.11 (main, Dec 10 2025, 06:29:48) [Clang 17.0.0 (clang-1700.4.4.1)] ** Python executable: /Users/me/.pyenv/versions/3.13.11/bin/python3 ** ComfyUI Path: /Volumes/AI_Stuff/ComfyUI ** ComfyUI Base Folder Path: /Volumes/AI_Stuff/ComfyUI ** User directory: /Volumes/AI_Stuff/ComfyUI/user ** ComfyUI-Manager config path: /Volumes/AI_Stuff/ComfyUI/user/__manager/config.ini ** Log path: /Volumes/AI_Stuff/ComfyUI/user/comfyui.log Using Python 3.13.11 environment at: /Users/me/.pyenv/versions/3.13.11 Using Python 3.13.11 environment at: /Users/me/.pyenv/versions/3.13.11 Prestartup times for custom nodes: 0.4 seconds: /Volumes/AI_Stuff/ComfyUI/custom_nodes/comfyui-manager Checkpoint files will always be loaded safely. Total VRAM 8192 MB, total RAM 8192 MB pytorch version: 2.10.0.dev20251209 Mac Version (26, 1) Set vram state to: SHARED Device: mps Using sub quadratic optimization for attention, if you have memory or speed issues try using: --use-split-cross-attention Python version: 3.13.11 (main, Dec 10 2025, 06:29:48) [Clang 17.0.0 (clang-1700.4.4.1)] ComfyUI version: 0.3.76 ComfyUI frontend version: 1.33.13 [Prompt Server] web root: /Users/me/.pyenv/versions/3.13.11/lib/python3.13/site-packages/comfyui_frontend_package/static Total VRAM 8192 MB, total RAM 8192 MB pytorch version: 2.10.0.dev20251209 Mac Version (26, 1) Set vram state to: SHARED Device: mps ### Loading: ComfyUI-Manager (V3.38.1) [ComfyUI-Manager] network_mode: public ### ComfyUI Version: v0.3.76-56-g9d252f3b | Released on '2025-12-09' Import times for custom nodes: 0.0 seconds: /Volumes/AI_Stuff/ComfyUI/custom_nodes/websocket_image_save.py 0.1 seconds: /Volumes/AI_Stuff/ComfyUI/custom_nodes/comfyui-manager [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json [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/github-stats.json [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json Context impl SQLiteImpl. Will assume non-transactional DDL. No target revision found. Starting server To see the GUI go to: http://127.0.0.1:8188 FETCH ComfyRegistry Data: 5/111 [DEPRECATION WARNING] Detected import of deprecated legacy API: /scripts/ui.js. This is likely caused by a custom node extension using outdated APIs. Please update your extensions or contact the extension author for an updated version. [DEPRECATION WARNING] Detected import of deprecated legacy API: /extensions/core/groupNode.js. This is likely caused by a custom node extension using outdated APIs. Please update your extensions or contact the extension author for an updated version. [DEPRECATION WARNING] Detected import of deprecated legacy API: /scripts/ui/components/buttonGroup.js. This is likely caused by a custom node extension using outdated APIs. Please update your extensions or contact the extension author for an updated version. [DEPRECATION WARNING] Detected import of deprecated legacy API: /scripts/ui/components/button.js. This is likely caused by a custom node extension using outdated APIs. Please update your extensions or contact the extension author for an updated version. FETCH ComfyRegistry Data: 10/111 FETCH ComfyRegistry Data: 15/111 FETCH ComfyRegistry Data: 20/111 FETCH ComfyRegistry Data: 25/111 FETCH ComfyRegistry Data: 30/111 FETCH ComfyRegistry Data: 35/111 FETCH ComfyRegistry Data: 40/111 FETCH ComfyRegistry Data: 45/111 FETCH ComfyRegistry Data: 50/111 FETCH ComfyRegistry Data: 55/111 FETCH ComfyRegistry Data: 60/111 FETCH ComfyRegistry Data: 65/111 FETCH ComfyRegistry Data: 70/111 FETCH ComfyRegistry Data: 75/111 FETCH ComfyRegistry Data: 80/111 FETCH ComfyRegistry Data: 85/111 FETCH ComfyRegistry Data: 90/111 FETCH ComfyRegistry Data: 95/111 FETCH ComfyRegistry Data: 100/111 FETCH ComfyRegistry Data: 105/111 FETCH ComfyRegistry Data: 110/111 FETCH ComfyRegistry Data [DONE] [ComfyUI-Manager] default cache updated: https://api.comfy.org/nodes FETCH DATA from: https://raw.githubusercontent.com/Comfy-Org/ComfyUI-Manager/main/custom-node-list.json [DONE] [ComfyUI-Manager] broken item:{'author': 'rjgoif', 'title': 'Img Label Tools', 'id': 'Img-Label-Tools', 'reference': 'https://github.com/rjgoif/ComfyUI-Img-Label-Tools', 'install_type': 'git-clone', 'description': 'Tools to help annotate images for sharing on Reddit, Discord, etc.'} [ComfyUI-Manager] All startup tasks have been completed. ```
Author
Owner

@BobRandomNumber commented on GitHub (Dec 10, 2025):

I get the same depreciated warnings and the broken item warning on a pip installed version of manager as well, verified with disabling all other nodes.

<!-- gh-comment-id:3638067271 --> @BobRandomNumber commented on GitHub (Dec 10, 2025): I get the same depreciated warnings and the broken item warning on a pip installed version of manager as well, verified with disabling all other nodes.
Author
Owner

@Coffelix2023 commented on GitHub (Dec 12, 2025):

I've been struggling with this issue for a long time and nobody has solved it.
There have been similar issues, but they appear to have not been resolved:
https://github.com/Comfy-Org/ComfyUI-Manager/issues/2228

After investigation, the root cause is that many scripts under comfyui-manager/js/ import like this:

import { app } from "../../scripts/app.js";
import { api } from "../../scripts/api.js";

This import style has been deprecated; the deprecation warning originates from:
ComfyUI/web_custom_versions/Comfy-Org_ComfyUI_frontend/{any_version}

For example:
scripts/ui/components/button.js contains:

console.warn('[ComfyUI Deprecated] Importing from "scripts/ui/components/button.js" is deprecated and will be removed in v1.34.');
export const ComfyButton = window.comfyAPI.button.ComfyButton;

In other words, the API should be accessed as window.comfyAPI.button.ComfyButton.
However, we cannot directly modify the source files; it appears the frontend and comfyui-manager have not yet reached agreement, so we can only wait for the author to fix it. I hope the author sees this.

<!-- gh-comment-id:3648534774 --> @Coffelix2023 commented on GitHub (Dec 12, 2025): I've been struggling with this issue for a long time and nobody has solved it. There have been similar issues, but they appear to have not been resolved: https://github.com/Comfy-Org/ComfyUI-Manager/issues/2228 After investigation, the root cause is that many scripts under comfyui-manager/js/ import like this: ``` import { app } from "../../scripts/app.js"; import { api } from "../../scripts/api.js"; ``` This import style has been deprecated; the deprecation warning originates from: ComfyUI/web_custom_versions/Comfy-Org_ComfyUI_frontend/{any_version} For example: scripts/ui/components/button.js contains: ``` console.warn('[ComfyUI Deprecated] Importing from "scripts/ui/components/button.js" is deprecated and will be removed in v1.34.'); export const ComfyButton = window.comfyAPI.button.ComfyButton; ``` In other words, the API should be accessed as ```window.comfyAPI.button.ComfyButton```. However, we cannot directly modify the source files; it appears the frontend and comfyui-manager have not yet reached agreement, so we can only wait for the author to fix it. I hope the author sees this.
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/ComfyUI-Manager#944
No description provided.