title: Laravel 5.4 - npm run watch
body: <p>I've recently created a fresh Laravel 5.4 project.</p>
  
  <p>In order to run Laravel mix, I did <code>npm install</code> and then <code>npm run watch</code>, but I ended up getting a bunch of errors and a generated npm-debug file.</p>
  
  <p>How can I fix this?</p>
  
  <p><strong>Solution:</strong></p>
  
  <p>Node was outdated, so I did:</p>
  
  <ol>
  <li><code>nvm install stable</code></li>
  <li><code>nvm use stable</code></li>
  <li>Delete the node_modules folder (if you have it)</li>
  <li><code>npm install</code></li>
  <li>Now run <code>npm run watch</code> again and everything should work accordingly.</li>
  </ol>