FYI, those error messages are just about the sizes of the javascript bundle, not about the memory use in the build process (i.e., those errors aren’t relevant for building JupyterLab).
Hopefully between jlab 3 having no-build extensions and the fixes we discussed over in Is this dirty build hack acceptable to use extensions on raspberry?, using jlab on a raspberry pi will be a much better experience!