title: json-server is not recognized as an internal or external command
body: <p>I am setting up a json-server and I install it and assign it to be my npm start command like so </p>
  
  <pre><code>"scripts": {
      "start": "json-server -p 3001 -w db.json"
  </code></pre>
  
  <p>but every time I type npm start on the terminal I got this error </p>
  
  <pre><code>&gt; api-server@1.0.0 start C:\Work\React-projects\streams\api-server
  &gt; json-server -p 3001 -w db.json
  
  'json-server' is not recognized as an internal or external command,
  operable program or batch file.
  npm ERR! code ELIFECYCLE
  npm ERR! errno 1
  npm ERR! api-server@1.0.0 start: `json-server -p 3001 -w db.json`
  npm ERR! Exit status 1
  npm ERR!
  npm ERR! Failed at the api-server@1.0.0 start script.
  npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
  
  npm ERR! A complete log of this run can be found in:
  npm ERR!     C:\Users\Abdelaziz\AppData\Roaming\npm-cache\_logs\2019-04-06T09_07_30_796Z-debug.log
  
  </code></pre>