behind Zscaler each package fetch takes 40-50s; npm's default parallel sockets pile up and the proxy resets them mid-stream, aborting npm with 'Exit handler never called' and a truncated node_modules. maxsockets=1 serializes fetches so each completes; a whole-command retry loop rides out any residual transient reset. verified with a --no-cache build: npm ci completes in ~55s and vite build succeeds.
6.5 KiB
6.5 KiB