Skip to content

daemon 包中的 @slack/web-api 使用了动态 require,与新版 Node.js 的 ESM 加载不兼容 #18

Description

@1989tianlong

根本问题:hire-an-agent.online 提供的 agent-space-daemon 包有严重的 CJS/ESM 兼容性问题。

问题定位: @slack/web-api 的 instrument.js 在 ESM 环境下尝试 require('node:os'),Node.js 22 的 ESM loader 直接拒绝。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions