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

【待反馈】node项目无法启动

发表在 Linux面板2023-4-19 17:50 [复制链接] 7 1819

为了能快速了解并处理您的问题,请提供以下基础信息:
面板、插件版本:7.99
系统版本:CentOS 7.9
问题描述:node版本v18.16.0 启动项目报错,无法启动

相关截图(日志、错误):
下载.png
微信截图_20230419174941.png
使用道具 举报 只看该作者 回复
发表于 2023-4-19 18:12:12 | 显示全部楼层
您好,您那边不依赖于node服务,直接启动看下是否可正常启动呢?同时所返回的信息内都是INFO以及SUCCESS信息
无ERROR级别日志,如您服务器命令行下启动该项目也是提示这个内容,可能这里日志返回有问题。
使用道具 举报 回复 支持 反对
发表于 2023-4-19 18:26:28 | 显示全部楼层
本帖最后由 宝塔用户_zbndjc 于 2023-4-19 18:27 编辑
谢花郎 发表于 2023-4-19 18:12
您好,您那边不依赖于node服务,直接启动看下是否可正常启动呢?同时所返回的信息内都是INFO以及SUCCESS信 ...

启动项选择docussaurus后可以启动,但进入网站后报502 Bad Gateway错误,刷新后又启动报错
启动失败
Options: -V, --version output the version number -h, --help display help for command Commands: build [options] [siteDir] Build website. swizzle [options] [themeName] [componentName] [siteDir] Wraps or ejects the original theme files into website folder for customization. deploy [options] [siteDir] Deploy website to GitHub pages. start [options] [siteDir] Start the development server. serve [options] [siteDir] Serve website locally. clear [siteDir] Remove build artifacts. write-translations [options] [siteDir] Extract required translations of your site. write-heading-ids [options] [siteDir] [files...] Generate heading ids in Markdown content. docs:version Tag a new docs version > chatgpt-shortcut@1.2.0 docusaurus > docusaurus
使用道具 举报 回复 支持 反对
发表于 2023-4-19 18:28:27 | 显示全部楼层
宝塔用户_zbndjc 发表于 2023-4-19 18:26
启动项选择docussaurus后可以启动,但进入网站后报502 Bad Gateway错误,刷新后又启动报错
启动失败
Optio ...

提示502错误,根据项目日志进行自检。502问题一般都是无法直接请求到后端无法返回数据的
使用道具 举报 回复 支持 反对
发表于 2023-4-19 18:33:34 | 显示全部楼层
谢花郎 发表于 2023-4-19 18:28
提示502错误,根据项目日志进行自检。502问题一般都是无法直接请求到后端无法返回数据的 ...

刷新项目页后就自动停止启动且再次启动报错
启动失败
Options: -V, --version output the version number -h, --help display help for command Commands: build [options] [siteDir] Build website. swizzle [options] [themeName] [componentName] [siteDir] Wraps or ejects the original theme files into website folder for customization. deploy [options] [siteDir] Deploy website to GitHub pages. start [options] [siteDir] Start the development server. serve [options] [siteDir] Serve website locally. clear [siteDir] Remove build artifacts. write-translations [options] [siteDir] Extract required translations of your site. write-heading-ids [options] [siteDir] [files...] Generate heading ids in Markdown content. docs:version Tag a new docs version > chatgpt-shortcut@1.2.0 docusaurus > docusaurus
使用道具 举报 回复 支持 反对
发表于 2023-4-19 18:34:48 | 显示全部楼层
宝塔用户_zbndjc 发表于 2023-4-19 18:33
刷新项目页后就自动停止启动且再次启动报错
启动失败
Options: -V, --version output the version number ...

直接手动部署,然后项目是开源的还是闭源的了?如是开源的麻烦提供下开源地址,这边具体测试下
使用道具 举报 回复 支持 反对
发表于 2023-4-19 18:40:09 | 显示全部楼层
谢花郎 发表于 2023-4-19 18:34
直接手动部署,然后项目是开源的还是闭源的了?如是开源的麻烦提供下开源地址,这边具体测试下
...

就是手动部署不会采用启动器的。。。
开源的项目
地址给你:https://github.com/rockbenben/ChatGPT-Shortcut
使用道具 举报 回复 支持 反对
发表于 2023-10-25 17:23:15 | 显示全部楼层
宝塔用户_zbndjc 发表于 2023-4-19 18:40
就是手动部署不会采用启动器的。。。
开源的项目
地址给你:https://github.com/rockbenben/ChatGPT-Shor ...

端口是3000,运行账号需要选择root权限才行启动命令自定义,选择 yarn  start root运行.png
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

企业版年付运维跟进群

普通问题处理

论坛响应时间:72小时

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

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

紧急问题处理

论坛响应时间:10分钟

问题处理方式:1对1处理(优先)

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

工作时间:晚班:18:00 - 24:00

立即付费处理
快速回复 返回顶部 返回列表