当前位置:论坛首页 > Windows面板 > 求助

Node.js版本管理器安装 nodejs 报错

发表在 Windows面板2025-1-17 16:20 [复制链接] 3 221

为了能快速了解并处理您的问题,请提供以下基础信息:
面板、插件版本:面板 8.2.2、nodejs 版本管理器 2.6

系统版本:Windows Server 2012 R2 Datacenter (build 9600) x64 (Py3.8.6)

问题描述:安装完“nodejs 版本管理器”后,安装 nodejs 报错

相关截图(日志、错误):
ublic.PanelError: 面板运行时发生错误: 'Traceback (most recent call last):\n File "C:\\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 "C:\\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 "C:\\BtSoft\\panel/plugin/nodejs/nodejs_main.py", line 300, in get_shell_env\n old_path = winreg.QueryValueEx(key,\'PATH\')[0]\nFileNotFoundError: [WinError 2] The system cannot find the file specified\n'

iShot_2025-01-17_16.19.38.png
使用道具 举报 只看该作者 回复
发表于 2025-1-20 11:04:29 | 显示全部楼层
能帮忙看看吗?
使用道具 举报 回复 支持 反对
发表于 2025-1-21 22:28:31 | 显示全部楼层
我也是这个问题,好久了都没人回答
使用道具 举报 回复 支持 反对
发表于 2025-1-25 12:30:21 | 显示全部楼层
宝塔用户_zpptzy 发表于 2025-1-21 22:28
我也是这个问题,好久了都没人回答

Windows 版本还是少人用
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急运维服务

响应时间:3分钟

问题处理方式:宝塔专家1对1服务

工作时间:工作日:9:00 - 18:30

宝塔专业团队为您解决服务器疑难问题

立即付费处理

工作时间:09:00至24:00

快速回复 返回顶部 返回列表