V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
liuchengfeng1
V2EX  ›  程序员

通过 jenkins 部署 nuxt,通过 pm2 启动失败?

  •  
  •   liuchengfeng1 · 326 天前 · 931 次点击
    这是一个创建于 326 天前的主题,其中的信息可能已经有所发展或是发生改变。

    提示:找不到进程或命名空间日志

    我的命令是:

    7 条回复    2023-07-14 21:57:39 +08:00
    sshnuke
        1
    sshnuke  
       326 天前
    你之前启动服务时用的 pm2 和你在 jenkins 里调用的 pm2 他是在同一个 node 版本下的吗
    securityCoding
        2
    securityCoding  
       325 天前 via Android
    workdir 不对!
    liuchengfeng1
        3
    liuchengfeng1  
    OP
       325 天前
    @securityCoding workdir 不对????什么意思呀
    liuchengfeng1
        4
    liuchengfeng1  
    OP
       325 天前
    @sshnuke 怎么知道 Jenkins 用的 pm2 是启动服务时用的 pm2 一样呢。按理说他们俩应该启用的是同一个呀
    julyclyde
        5
    julyclyde  
       323 天前
    pm2_home
    @liuchengfeng1
    liuchengfeng1
        6
    liuchengfeng1  
    OP
       323 天前
    @julyclyde 什么意思😂
    liuchengfeng1
        7
    liuchengfeng1  
    OP
       283 天前
    已解决。

    ```sh
    # 修改 root
    User=root

    Group=root
    ```
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   4355 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 10:12 · PVG 18:12 · LAX 03:12 · JFK 06:12
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.