Skip to content

PermissionError: [WinError 5] Access is denied: 'C:\\Program Files\\ComfyUI\\resources\\ComfyUI\\web' #494

@Appolonius001

Description

@Appolonius001

Update: running ComfyUI as administer seems to have fixed the issue :)

after a windows 11 update, and today's comfyui update customs scripts is having the issue above:

Traceback (most recent call last):
  File "C:\Program Files\ComfyUI\resources\ComfyUI\nodes.py", line 2129, in load_custom_node
    module_spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "C:\V\comfyui\custom_nodes\comfyui-custom-scripts\__init__.py", line 10, in <module>
    if init():
       ^^^^^^
  File "C:\V\comfyui\custom_nodes\comfyui-custom-scripts\pysssss.py", line 172, in init
    install_js()
  File "C:\V\comfyui\custom_nodes\comfyui-custom-scripts\pysssss.py", line 130, in install_js
    dst_dir = get_web_ext_dir()
              ^^^^^^^^^^^^^^^^^
  File "C:\V\comfyui\custom_nodes\comfyui-custom-scripts\pysssss.py", line 62, in get_web_ext_dir
    os.makedirs(dir)
  File "<frozen os>", line 215, in makedirs
  File "<frozen os>", line 215, in makedirs
  File "<frozen os>", line 225, in makedirs
PermissionError: [WinError 5] Access is denied: 'C:\\Program Files\\ComfyUI\\resources\\ComfyUI\\web'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions