‘node — Max old space size = 10240’ is not an internal or external command, nor is it a runnable program

Geeks, please accept the hero post of 2021 Microsoft x Intel hacking contest>>>

Recently, I downloaded an ionic project and reported an error when compiling

The investigation found that because of the use of the [increase memory limit] plug-in. In the GitHub of the source code, it has been declared that above node.js v8.0, it can be set in the following way

You don’t need to use this plug-in

export NODE_OPTIONS=--max_old_space_size=4096

Similar Posts: