为了能快速了解并处理您的问题,请提供以下基础信息:
REQUEST_DATE: 2025-04-05 22:45:32
PAN_VERSION: 8.2.2
OS_VERSION: Windows Server 2012 R2 Datacenter (build 9600) x64 (Py3.8.6)
REMOTE_ADDR: 127.0.0.1
REQUEST_URI: POST /project/nodejs/create_project?
REQUEST_FORM: {'data': '{"project_cwd":"D:/wwwroot/127.0.0.1","project_name":"web","project_script":"start","port":"3801","run_user":"www","pkg_manager":"npm","nodejs_version":"v22.12.0","project_ps":"","domains":"","release_firewall":false,"not_install_pkg":0,"bind_extranet":0,"is_power_on":1,"max_memory_limit":4096,"project_env":""}'}
USER_AGENT: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36
Traceback (most recent call last):
File "D:\BtSoft\panel\BTPanel\__init__.py", line 1584, in publicObject
return run_exec().run(toObject, defs, get)
File "D:\BtSoft\panel\BTPanel\__init__.py", line 1825, in run
result = resobj(get)
File "D:\BtSoft\panel/class\panelProjectController.py", line 93, in model
result = PluginLoader.module_run(module_name, def_name, pdata)
File "D:\BtSoft\panel/class/projectModel/nodejsModel.py", line 718, in create_project
res = self.install_packages(get)
File "D:\BtSoft\panel/class/projectModel/nodejsModel.py", line 388, in install_packages
self.get_last_env(nodejs_version)
File "D:\BtSoft\panel/class/projectModel/nodejsModel.py", line 311, in get_last_env
path_value = winreg.QueryValueEx(key, "PATH")[0]
FileNotFoundError: [WinError 2] 系统找不到指定的文件。
|
|