plex
plex copied to clipboard
Assets are too large to publish to npm
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