title: Problem Installing Serial Port Package in Node JS
body: <p>I have problem installing Serial Port Node JS package.</p>
  <p>I ran below in command prompt</p>
  <pre><code>npm install serialport 
  </code></pre>
  <p>The cmd threw back below error, please help me, can't find any solution.</p>
  <blockquote>
  <p>npm WARN config global <code>--global</code>, <code>--local</code> are deprecated. Use <code>--location=global</code> instead.
  npm WARN deprecated formidable@1.2.6: Please upgrade to latest, formidable@v2 or formidable@v3! Check these notes: LINK
  npm WARN deprecated superagent@5.3.1: Please upgrade to v7.0.2+ of superagent.  We have fixed numerous issues with streams, form-data, attach(), filesystem errors not bubbling up (ENOENT on attach()), and all tests are now passing.  See the releases tab for more information at <a href="https://github.com/visionmedia/superagent/releases" rel="nofollow noreferrer">https://github.com/visionmedia/superagent/releases</a>.
  npm ERR! code 1
  npm ERR! path C:\Users\TMR&amp;D\node_modules@serialport\bindings-cpp
  npm ERR! command failed
  npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node-gyp-build
  npm ERR! 'D\node_modules.bin' is not recognized as an internal or external command,
  npm ERR! operable program or batch file.
  npm ERR! node:internal/modules/cjs/loader:936
  npm ERR!   throw err;
  npm ERR!   ^
  npm ERR!
  npm ERR! Error: Cannot find module 'C:\Users\node-gyp-build\bin.js'
  npm ERR!     at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
  npm ERR!     at Function.Module._load (node:internal/modules/cjs/loader:778:27)
  npm ERR!     at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
  npm ERR!     at node:internal/main/run_main_module:17:47 {
  npm ERR!   code: 'MODULE_NOT_FOUND',
  npm ERR!   requireStack: []
  npm ERR! }</p>
  </blockquote>
  <p>npm ERR! A complete log of this run can be found in:
  npm ERR!     C:\Users\TMR&amp;D\AppData\Local\npm-cache_logs\2022-08-12T03_50_05_256Z-debug-0.log</p>