Skip to content

启动报错,The util.isFunction API is deprecated. #1000

@bitedge-tech

Description

@bitedge-tech

启动报这个错;最后显示一些debug的信息; 全文搜索找不到util.isFunction的地方

[2025-05-28T10:31:08.154] [ERROR] logger - [chat-server-1 console] (node:6588) [DEP0049] DeprecationWarning: The util.isFunction API is deprecated. Please use typeof arg === "function" instead.
(Use node --trace-deprecation ... to show where the warning was created)Error:
at Logger.pLogger. [as error] (E:\01work\wks\pg_game_tools\tools\pj_aviator_server_pinus\game-server\dist\node_modules\pinus-logger\lib\logger.ts:76:34)
at writeOut (node:internal/process/warning:56:3)
at process.onWarning (node:internal/process/warning:132:3)
at process.emit (node:events:518:28)
at doEmitWarning (node:internal/process/warning:85:11)
at processTicksAndRejections (node:internal/process/task_queues:89:21)

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