Skip to content

[Bug]Bug in lib\logger.ts #20

@refer5h

Description

@refer5h

错误描述
清晰而简洁的描述一下遇到的 Bug 。
when build the project, console reported "ERROR in E:\Code\tsCode\hamibot-starter\src\lib\logger.ts(384,11)
TS2339: Property 'captureStackTrace' does not exist on type 'ErrorConstructor'."

错误复现
产生 Bug 的代码或要复现 Bug 需要进行的操作(这有助于尽快定位问题)。
just build the project.

git clone xxx
pnpm run build

行为预期
清晰而简明的描述一下你期望这段代码或进行的操作产生的结果。
it should build successfully.

截图
1

机器人型号(请填写以下信息):

  • 设备型号:[例如:Redmi Note 11T Pro+]
  • 操作系统:[例如:Xiaomi Hyper OS 1.0.3.0.ULOCNXM]
  • Hamibot 版本:[例如:1.6.1]

其他说明
The problem is related with the API of higher version Hamibot, has nothing to do with the telephone.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions