title: Uncaught ReferenceError: process is not defined
body: <p>I am using node.js to create a web application. When I run the application (either by opening index.html on the browser or using the command "npm start" on the terminal) I get two errors:    </p>
  
  <p>Uncaught ReferenceError: process is not defined    </p>
  
  <p>Uncaught ReferenceError: require is not defined</p>
  
  <p>I solved the "require is not defined" error by specifically including in my index.html head tag the link to <a href="http://requirejs.org/docs/release/2.1.17/r.js" rel="noreferrer">this</a> script, where the require function is defined.
  However, I cannot find something similar for the process function.</p>
  
  <p>My question is doublefold:</p>
  
  <ol>
  <li><p>Why do built-in node.js modules need to be re-defined? Why are they not recognized as they are, that is "built-in modules"? Doesn't the term "built-in module" mean that a module need not be redefined externaly/second-handedly?</p></li>
  <li><p>Is there a way to solve this problem? My script is very simple, I am just trying to use a basic function of node.js, so I cannot figure out what errors I might have done.</p></li>
  </ol>
  
  <p>If anyone has come about this problem and has found a way around it or a reason this happens, you would be of great help.</p>