title: How can I solve this pm2 log errors?
body: <p><a href="https://i.stack.imgur.com/HV5gN.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HV5gN.png" alt="enter image description here"></a><a href="https://i.stack.imgur.com/1cgSf.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1cgSf.png" alt="enter image description here"></a>I installed pm2 but it occurs some errors.
  (I installed pm2 with "npm install pm2 -g")</p>
  
  <p>But I don't know how to deal with these errors.</p>
  
  <p>How should I solve this error?</p>
  
  <p>node.js version: <strong>10.15.1</strong>,
  pm2 version: <strong>3.3.0</strong>,
  os: <strong>windows 7</strong></p>
  
  <p><strong>pm2.log</strong></p>
  
  <pre><code>Error caught while calling pidusage
  Error: Error: spawn wmic ENOENT
  at ChildProcess.&lt;anonymous&gt; (C:\Users\user\AppData\Roaming\npm\node_modules\pm2\node_modules\pidusage\lib
  \bin.js:33:10)
  at emitOne (events.js:116:13)
  at ChildProcess.emit (events.js:211:7)
  at Process.ChildProcess._handle.onexit (internal/child_process.js:196:12)
  at onErrorNT (internal/child_process.js:362:16)
  at _combinedTickCallback (internal/process/next_tick.js:139:11)
  at process._tickDomainCallback (internal/process/next_tick.js:219:9)
  |Error caught while calling pidusage
  Error: Error: spawn wmic ENOENT
  at ChildProcess.&lt;anonymous&gt; (C:\Users\user\AppData\Roaming\npm\node_modules\pm2\node_modules\pidusage\lib
  \bin.js:33:10)
  </code></pre>