V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
ivmm
V2EX  ›  问与答

NODE_ENV=production forever 无法启动啊

  •  
  •   ivmm · 2015-04-30 21:03:12 +08:00 · 1722 次点击
    这是一个创建于 3304 天前的主题,其中的信息可能已经有所发展或是发生改变。

    sudo NODE_ENV=production forever start index.js

    warn: --minUptime not set. Defaulting to: 1000ms
    warn: --spinSleepTime not set. Your script will exit if it does not stay up for at least 1000ms
    info: Forever processing file: index.js

    4 条回复    2015-05-01 02:27:41 +08:00
    zgoing
        1
    zgoing  
       2015-04-30 21:06:07 +08:00
    forever 感觉不好用,vps重启就失效了,要不换supervisor试试?
    finian
        2
    finian  
       2015-04-30 21:11:13 +08:00
    报什么错了吗?forever list 中没有?
    ivmm
        3
    ivmm  
    OP
       2015-04-30 21:24:57 +08:00 via Android
    @finian 只有warn. 反带打不开
    finian
        4
    finian  
       2015-05-01 02:27:41 +08:00
    @ivmm 这个和反代有什么关系?sudo forever list 显示什么结果?
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5997 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 94ms · UTC 06:09 · PVG 14:09 · LAX 23:09 · JFK 02:09
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.