为了能快速了解并处理您的问题,请提供以下基础信息: 面板、插件版本:宝塔8.2.2 node.js版本管理器 2.6
问题描述:出错了,[Node.js版本管理器]运行时发生错误!
出错了,[Node.js版本管理器]运行时发生错误!
public.PanelError: 面板运行时发生错误: 'Traceback (most recent call last):\n File "E:\\BtSoft\\panel/class\\flask_sockets.py", line 30, in __call__\n handler, values = adapter.match()\n File "C:\\Program Files\\python\\lib\\site-packages\\werkzeug\\routing.py", line 1945, in match\n raise NotFound()\nwerkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File "E:\\BtSoft\\panel/plugin/nodejs/nodejs_main.py", line 725, in install_module\n {} install {} -g > {}\'\'\'.format(self.get_shell_env(version),npm_bin, module, self._exec_log)\n File "E:\\BtSoft\\panel/plugin/nodejs/nodejs_main.py", line 300, in get_shell_env\n old_path = winreg.QueryValueEx(key,\'PATH\')[0]\nFileNotFoundError: [WinError 2] 系统找不到指定的文件。\n'
REQUEST_DATE: 2025-01-08 23:39:19
PAN_VERSION: 8.2.2
OS_VERSION: Windows Server 2012 R2 Standard (build 9600) x64 (Py3.8.6)
REMOTE_ADDR: 192.168.0.107
REQUEST_URI: POST /plugin?action=a&s=install_module&name=nodejs
REQUEST_FORM: {'version': 'v18.18.2', 'module': 'pm2'}
USER_AGENT: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0
Traceback (most recent call last):
File "class\panelPlugin.py", line 2148, in panelPlugin.panelPlugin.a
public.PanelError: 面板运行时发生错误: 'Traceback (most recent call last):\n File "E:\\BtSoft\\panel/class\\flask_sockets.py", line 30, in __call__\n handler, values = adapter.match()\n File "C:\\Program Files\\python\\lib\\site-packages\\werkzeug\\routing.py", line 1945, in match\n raise NotFound()\nwerkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File "E:\\BtSoft\\panel/plugin/nodejs/nodejs_main.py", line 725, in install_module\n {} install {} -g > {}\'\'\'.format(self.get_shell_env(version),npm_bin, module, self._exec_log)\n File "E:\\BtSoft\\panel/plugin/nodejs/nodejs_main.py", line 300, in get_shell_env\n old_path = winreg.QueryValueEx(key,\'PATH\')[0]\nFileNotFoundError: [WinError 2] 系统找不到指定的文件。\n'
|
|