title: Why do I get "node: bad option" error when I pass a custom flag to nodejs command line, in a Angular 9 project
body: <p>I am trying to add a custom flag in the npm start command, in an Angular 9 project, so that inside the local proxy server, I can intercept the proxy request and manipulate data.  But I keep getting the &quot;node: bad option&quot; error. Cannot figure out why. Please help me. Below is my npm start command</p>
  <pre><code>&quot;start&quot; : &quot;node -max_old_space_size=8192 --enable-mock ng serve --proxy-config proxy.config.js --host=0.0.0.0 --live-reload false&quot;;
  </code></pre>
  <p>then I just run npm start, then the <code>&quot;node: bad option: --enable-mock&quot;</code> error shows up in the console, I cannot even start the development server.</p>