plex icon indicating copy to clipboard operation
plex copied to clipboard

Assets are too large to publish to npm

Open tay1orjones opened this issue 1 year ago • 0 comments

Plex TC is ready to be released. We attempted to release it, but found that running the npm ClI's npm-publish fails. Apparently after packing, the CLI base64 encodes the pack into a string for sending over the wire. Node has a 512mb string buffer and when you get to a large enough package size, it fails to serialize the pack into the string.

TL;DR - With the addition of Plex TC the release assets are too large to publish to npm inside a single package.

The solution here is to publish per-family packages, https://github.com/IBM/plex/discussions/452

Doing this will also solve https://github.com/IBM/plex/issues/453

tay1orjones avatar Jan 26 '24 17:01 tay1orjones