添加Node项目报错 FileNotFoundError: [WinError 2] 系统找不到指定
为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:免费版 8.2.2 Node版本v20.11.1系统版本:Windows Server 2012 R2 Datacenter (build 9600) x64 (Py3.8.6)
问题描述:FileNotFoundError: 系统找不到指定的文件。项目 :GitHub - aidenconst/N_m3u8DL-RE_UI: N_m3u8DL-RE 前端UI
相关截图(日志、错误): m3u8DL_web 这个目录是远程桌面建的 我看了下 www只有只读的权限 是不是和这个有关Traceback (most recent call last):File "C:\BtSoft\panel\BTPanel\__init__.py", line 1584, in publicObject return run_exec().run(toObject, defs, get)File "C:\BtSoft\panel\BTPanel\__init__.py", line 1825, in run result = resobj(get)File "C:\BtSoft\panel/class\panelProjectController.py", line 93, in model result = PluginLoader.module_run(module_name, def_name, pdata)File "C:\BtSoft\panel/class/projectModel/nodejsModel.py", line 718, in create_project res = self.install_packages(get)File "C:\BtSoft\panel/class/projectModel/nodejsModel.py", line 388, in install_packages self.get_last_env(nodejs_version)File "C:\BtSoft\panel/class/projectModel/nodejsModel.py", line 311, in get_last_env path_value = winreg.QueryValueEx(key, "PATH")FileNotFoundError: 系统找不到指定的文件。REQUEST_DATE: 2025-01-09 17:06:10 PAN_VERSION: 8.2.2OS_VERSION: Windows Server 2012 R2 Datacenter (build 9600) x64 (Py3.8.6) REMOTE_ADDR:REQUEST_URI: POST /project/nodejs/create_project?REQUEST_FORM: {'data': '{"project_cwd":"C:/wwwroot/m3u8DL_web","project_name":"m3u8DL_web","project_script":"start","port":"9527","run_user":"www","pkg_manager":"npm","nodejs_version":"v20.11.1","project_ps":"","domains":["www.123.com:80"],"release_firewall":false,"not_install_pkg":0,"bind_extranet":1,"is_power_on":1,"max_memory_limit":4096,"project_env":""}'}USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36 Edg/110.0.1587.63
页:
[1]