卸载的时候提示如下错误
- 出错了,[Node.js版本管理器]运行时发生错误!
- TypeError: argument of type 'NoneType' is not iterable
- REQUEST_DATE: 2022-11-13 15:18:11
- PAN_VERSION: 7.9.5
- OS_VERSION: CentOS 7.9.2009 x86_64(Py3.7.9)
- REMOTE_ADDR: 192.168.88.97
- REQUEST_URI: POST /plugin%3Faction%3Da%26amp%3Bs%3Duninstall_nodejs%26amp%3Bname%3Dnodejs
- REQUEST_FORM: {'version': 'v16.9.0'}
- USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36
- Traceback (most recent call last):
- File "class/panelPlugin.py", line 2808, in a
- return p.exec_fun(get)
- File "class/pluginAuth.py", line 67, in exec_fun
- raise public.PanelError(res['msg'])
- public.PanelError: 面板运行时发生错误: Traceback (most recent call last):
- File "/www/server/panel/plugin/nodejs/nodejs_main.py", line 510, in uninstall_nodejs
- self.set_default_env(None)
- File "/www/server/panel/plugin/nodejs/nodejs_main.py", line 735, in set_default_env
- if 'version' in get:
- TypeError: argument of type 'NoneType' is not iterable
复制代码
|
|