解决方案: export NODE_OPTIONS="--max-old-space-size=8192" #increase to 8gb 参考: https://stackoverflow.com/questions/53230823/fatal-error-ineffective-mark-compacts-near-heap-limit-allocation-failed-javas