title: how to run nodemon in windows from package.json
body: <p>I'm following a <a href="https://www.youtube.com/watch?v=Fa4cRMaTDUI&amp;t=21m43s" rel="noreferrer">VUE tutorial</a> on a mac (shown in youtube). </p>
  
  <p>In my <code>src/app.js</code> I have only <code>console.log('hi');</code></p>
  
  <p>The start command for the Mac in <code>package.json</code> as shown on the youtube video is: </p>
  
  <pre><code>"scripts": {
      "start": "./node_modules/nodemon/bin/nodemon.js src/app.js --exec 'npm run lint &amp;&amp; node'",
  "lint": "./node_modules/.bin/eslint **/*.js"
  </code></pre>
  
  <p>},</p>
  
  <p>In which case the nodemon was not found. </p>
  
  <p>So I changed the forward slashes to backslashes thus: </p>
  
  <pre><code>"scripts": {
      "start": ".\\node_modules\\nodemon\\bin\\nodemon.js src\\app.js --exec 'npm run lint &amp;&amp; node'",
      "lint": ".\\node_modules\\.bin\\eslint **\\*.js"
  </code></pre>
  
  <p>},</p>
  
  <p>but now when I run <code>npm start</code> I get an alert with error in nodemon.js </p>
  
  <pre><code> line 1 
   charachter 1
   invalid character
   800A03F6
  </code></pre>
  
  <p>I tried with a forward slash in the src/app.js  and got the same error. Is it something to do with the single quotemark? </p>
  
  <p>The tutorial is here: (start command seen at 21:43) here: <a href="https://www.youtube.com/watch?v=Fa4cRMaTDUI&amp;t=21m43s" rel="noreferrer">https://www.youtube.com/watch?v=Fa4cRMaTDUI&amp;t=21m43s</a></p>