title: PM2 Start Appname Returning Error Cannot Find Modules in Ubuntu 16
body: <p>this is my first time using node js, and i found a complicated problem, i was thinking this issue because of yarn, so i've removed yarn package but still got the error in my log when i run <code>sudo pm2 start myAppName</code></p>
  
  <p>this is message i've got :</p>
  
  <pre><code>0|myAppName |     at tryModuleLoad (module.js:505:12)
  0|myAppName |     at Function.Module._load (module.js:497:3)
  0|myAppName |     at Function.Module.runMain (module.js:693:10)
  0|myAppName |     at startup (bootstrap_node.js:191:16)
  0|myAppName | Error: Cannot find module '/var/www/html/myAppName'
  0|myAppName |     at Function.Module._resolveFilename 
  (module.js:547:15)
  0|myAppName |     at Function.Module._load (module.js:474:25)
  0|myAppName |     at Object.&lt;anonymous&gt; 
  (/usr/lib/node_modules/pm2/lib/ProcessContainerFork.js:75:21)
  0|myAppName |     at Module._compile (module.js:652:30)
  0|myAppName |     at Object.Module._extensions..js (module.js:663:10)
  0|myAppName |     at Module.load (module.js:565:32)
  0|myAppName |     at tryModuleLoad (module.js:505:12)
  0|myAppName |     at Function.Module._load (module.js:497:3)
  0|myAppName |     at Function.Module.runMain (module.js:693:10)
  0|myAppName |     at startup (bootstrap_node.js:191:16)
  </code></pre>
  
  <p>the libraries and etc i believe is already installed in node_modules,</p>
  
  <p>maybe you guys have a solution for my problem, should i use another <code>command</code> like <code>pm2</code> ? or another else ?</p>
  
  <p>please help, i will be appreciated</p>
  
  <p>thanks anyway :)</p>