背景 FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory 解决 修改node环境变量就行。 参考资料 node环境变量解决内存溢出的问题