vercel/ncc

TypeError with BigInt data types

Open

#1.307 aberto em 20 de fev. de 2026

Ver no GitHub
 (1 comment) (0 reactions) (0 assignees)JavaScript (273 forks)batch import
help wanted

Métricas do repositório

Stars
 (8.841 stars)
Métricas de merge de PR
 (Mesclagem média 31d 15h) (7 fundiu PRs em 30d)

Description

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

Guia do colaborador