vercel/ncc

TypeError with BigInt data types

Open

#1,307 创建于 2026年2月20日

在 GitHub 查看
 (1 评论) (0 反应) (0 负责人)JavaScript (273 fork)batch import
help wanted

仓库指标

Star
 (8,841 star)
PR 合并指标
 (平均合并 31天 15小时) (30 天内合并 7 个 PR)

描述

For packages that use BigInt, ncc build returns a type error:

TypeError: Cannot mix BigInt and other types, use explicit conversions
    at Object.BinaryExpression (/node_modules/@vercel/ncc/dist/ncc/loaders/relocate-loader.js.cache.js:12:106322)

Error was encountered when building a project that references dd-trace@5.87.0

贡献者指南