【待反馈】pm2服务启动不了
为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:Windows面板,pm2管理器系统版本:
7.9.0
问题描述:
pm2服务一直运行不了,我这是新租的服务器,挺干净了我感觉,该装的依赖也都装了,但就是运行不了
相关截图(日志、错误):data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAABvCAYAAABrcctMAAAHtklEQVR4Ae2dvU4cPRiFyZWkyD0k95BLSB0hpaKDDqqIEqWiiuiClIKWNh1F6gSlgBKKCClNUCr8fYflsK+Nvczsz2vPzllp4/H/+MzjY+8EzWzc3t4GfaVBLQY2anWsfgU9GBCAWgGqroACUAAKQC3H412O5YByQDmgHFAOWHUWCEAB6Arg4eFhODk5yfZ5c3MT9vf3w9nZWTYf9TY3Nzt9t7a2wvn5ebadIUOf0w/jPDg4CJeXl/f6XV9fPztu1Nnb2wtdyq5Kryp7wBQyK0SaB+AgOAVAHICiHNNyIdrc3t4eJYAAscvkwyTvomVO32WlVQEQJ28HLwCfX4IxCTkRcw5o9YS+tkyfVYOrSxeAlwGhK4B0Nw4SIQZ6enp6H9p0e0zhMeCxOqB1dAsXIUgBZHopxLKL5RduibqlcqtOdwVwGYMZK4DQDuDxe3R0FHZ2dmbuhUsuRiOAljgGhAB8GdenbxvuAGLQdDQcY/DYh1jHyx3bOl32LdYx+orSank4FaDD+KGdPU/EkffcDwrkE1w6nwXStulx7A6gXSoAVSokl4bSjET5sQJIIHK6IQ0Tl1CxLEOCR0ihLxzSloe2s9pgW8sM3QHEwLH34O0CCMCB55wPaRQNAx87gAQNOhAEOhjy8GU6QuZZDZnPa5G6JvuwcLLOskN3AOlwGBxAhAgQE4NmHtIQR3oq0lgBpINRK4SEAVoCMGqFkHmth+4AckYeHx8/3gSlqAIwfzuGmtGRODkBF/MIJLVMwUO63bqk9Vi+VJ/5yw7dAcQAIODu7u6jIBy0AMwDmF50C2AXsOieAJguiTS0S+0tkGjfwpr2v8x4FQA5cO7vcEsBg+4KYGmvmKaXbkMs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IjbjmKwoBCaCocMiY3AhIALkR13xFISABFBUOGZMbAQkgN+KarygEJICiwiFjciMgAeRGXPMVhYAEUFQ4ZExuBCSA3IhrvqIQkACKCoeMyY2ABJAbcc1XFAILRVkjY4RAZgT+B7e3h/C1/EXSAAAAAElFTkSuQmCC
Torres圣君 发表于 2024-3-30 19:34
对了这是错误提示( File ecosystem.config.js not found),但这个配置文件我创建了,各个位置都试了 ...
您好,根据您的问题,是这个ecosystem.config.js 文件找不到
解决方法是在你您的项目根目录 创建一个
2、确保您对文件和目录具有适当的权限,以便 PM2 能够读取 ecosystem.config.js 文件。
3、 有时重新初始化 PM2 可能会解决问题。您可以尝试使用以下命令重新初始化 PM2
pm2 kill
pm2 resurrect
4、如果以上方法都无效,可能是因为 PM2 的安装或配置出现了问题。您可以尝试升级到最新版本或者重装 PM2。
对了这是错误提示( File ecosystem.config.js not found),但这个配置文件我创建了,各个位置都试了,项目目录、pm2目录、node目录等等,但还是这个结果 Torres圣君 发表于 2024-3-30 19:34
对了这是错误提示( File ecosystem.config.js not found),但这个配置文件我创建了,各个位置都试了 ...
您好,建议您使用node.js,pm2已经不维护了 运维技术阿闯 发表于 2024-4-1 10:22
您好,根据您的问题,是这个ecosystem.config.js 文件找不到
解决方法是在你您的项目根目录 创建一个
2、 ...
为什么我使用startPM2命令启动了项目,并且项目正常运行可是项目显示启动失败,启动后我这里截图是我重启命令的
页:
[1]