throw new Error(`Failed to create the worker pool with workerId: ${workerId} and ${''}configuration: ${JSON.stringify(options)}. Please verify if you hit the OS open files limit.`);
^
Error: Failed to create the worker pool with workerId: 4 and configuration: {"parallelJobs":20}. Please verify if you hit the OS open files limit.
服务器内存不足,导致前端项目在构建过程中,不能通过thread-loader
这个包,进行多进程打包。抛出异常。
释放一些内存资源,再次打包
因为服务器处于内网环境,所以直接移植了整套前端环境的node_moudles。虽然服务器使用的是arm64的node10.16.0环境,但是移植的无论是x64/x86/arm64的node 8/10均可正常运行