vercel/ncc

TypeError with BigInt data types

Open

#1307 aperta il 20 feb 2026

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)JavaScript (273 fork)batch import
help wanted

Metriche repository

Star
 (8841 star)
Metriche merge PR
 (Merge medio 31g 15h) (7 PR mergiate in 30 g)

Descrizione

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

Guida contributor