Cannot create a string longer than 0x3fffffe7 characters

Trying to commit a package larger than 1GB. Got the error mesage saying:
npm ERR! code ERR_STRING_TOO_LONG
npm ERR! Cannot create a string longer than 0x3fffffe7 characters

Searched a bit and understood it is due to process.binding('buffer').kStringMaxLength being hardcoded around 1GB. Does anyone know how to change that limit? Or another approach to do what we intend?

Thanks!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.