PS C:\ComfyUI\litegraph\litegraph.js-daniel> npm run build
> @mr_pebble/[email protected] build
> python3 build.py
Processing ./src/litegraph.js Traceback (most recent call last):
File "C:\ComfyUI\litegraph\litegraph.js-daniel\build.py", line 170, in <module>
pack_js_files(js_files_list["js_files"], js_files_list["output_filename"])
File "C:\ComfyUI\litegraph\litegraph.js-daniel\build.py", line 102, in pack_js_files
minified_js = subprocess.run(["uglifyjs", js_file, "-c"], stdout=subprocess.PIPE, text=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\learn\AppData\Local\Programs\Python\Python312\Lib\subprocess.py", line 548, in run
with Popen(*popenargs, **kwargs) as process:
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\learn\AppData\Local\Programs\Python\Python312\Lib\subprocess.py", line 1026, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\learn\AppData\Local\Programs\Python\Python312\Lib\subprocess.py", line 1538, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [WinError 2] The system cannot find the file specified
I'll do a quick PR to fix this. I am familiar with Python. :)