vercel/ncc

TypeError with BigInt data types

Open

#1 307 ouverte le 20 févr. 2026

Voir sur GitHub
 (0 commentaires) (0 réactions) (0 assignés)JavaScript (8 841 stars) (273 forks)batch import
help wanted

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

Guide contributeur