envvars

process.env 中定义的环境变量允许您配置 Yarn 的附加功能。

CHILD_CONCURRENCY

process.env.CHILD_CONCURRENCY=#number#

Controls the number of child processes run parallely to build node modules.

Setting this number to 1 will cause the node modules to be built sequentially which can avoid linker errors on windows with node-gyp.