V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
liuchengfeng1
V2EX  ›  程序员

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

  •  
  •   liuchengfeng1 · Jun 2, 2023 · 1692 views
    This topic created in 1068 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 不对!
    liuchengfeng1
        3
    liuchengfeng1  
    OP
       Jun 3, 2023
    @securityCoding workdir 不对????什么意思呀
    liuchengfeng1
        4
    liuchengfeng1  
    OP
       Jun 3, 2023
    @sshnuke 怎么知道 Jenkins 用的 pm2 是启动服务时用的 pm2 一样呢。按理说他们俩应该启用的是同一个呀
    julyclyde
        5
    julyclyde  
       Jun 4, 2023
    pm2_home
    @liuchengfeng1
    liuchengfeng1
        6
    liuchengfeng1  
    OP
       Jun 5, 2023
    @julyclyde 什么意思😂
    liuchengfeng1
        7
    liuchengfeng1  
    OP
       Jul 14, 2023
    已解决。

    ```sh
    # 修改 root
    User=root

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