Set Node old spice

If you are on Unix then type

export NODE_OPTIONS=--max-old-space-size=6000

in the terminal.

If you are on windows then run

set NODE_OPTIONS=--max-old-space-size=6000

if upper command does not work use this on powershell

$env:NODE_OPTIONS="--max-old-space-size=6000"