• 请不要在回答技术问题时复制粘贴 AI 生成的内容
v2ek
V2EX  ›  程序员

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

  •  
  •   v2ek · Jun 2, 2023 · 1754 views
    This topic created in 1093 days ago, the information mentioned may be changed or developed.

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

    我的命令是:

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

    ```sh
    # 修改 root
    User=root

    Group=root
    ```
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2929 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 66ms · UTC 08:14 · PVG 16:14 · LAX 01:14 · JFK 04:14
    ♥ Do have faith in what you're doing.