Not to say it is the quip but I have had buggy builds with bun that requires sticking to esbuild, I think it was bundling prettier with many plugins into a single JS file.
I always do that sort of thing in Docker so never considered it could be a Linux-specific thing, maybe so.