Skip to content

[bug] 后端build后的job无法运行 #172

@MiffyLiye

Description

@MiffyLiye

bug 描述

在bus-core中,build前的bus-core-daemon可以运行,
build后运行,daemon直接crash

环境

https://github.com/zzswang/bus-core/tree/79d73546776ed52918135d78d70b9696081b0c02

如何重现

  1. build
  2. 运行bus core daemon
  3. 进程退出
> @36node/bus-core@0.9.0 daemon /app
> node dist/daemon.js

{"level":50,"time":1582426736552,"pid":19,"hostname":"bus-core-daemon-0","msg":"TypeError: e is not a function","v":1}

期望行为

build出正确的daemon,运行时行为和build前一致。

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions