The command to set NODE_OPTIONS variable is vary due to the OS, e.g. linux uses export but windows uses set. So the current script "serve:angular13": "export NODE_OPTIONS=--max_old_space_size=4096&& ng serve --host 0.0.0.0", would not work on windows.