title: Laravel 5.4 ‘cross-env’ Is Not Recognized as an Internal or External Command
body: <p>I'm trying to run <code>npm run dev</code> for Laravel Mix and I get this error:</p>
  
  <pre><code>&gt; @ dev D:\projects\ptcs
  &gt; cross-env NODE_ENV=development webpack --progress --hide-modules --
  config=node_modules/laravel-mix/setup/webpack.config.js
  
  'cross-env' is not recognized as an internal or external command,
  operable program or batch file.
  npm ERR! code ELIFECYCLE
  npm ERR! errno 1
  npm ERR! @ dev: `cross-env NODE_ENV=development webpack --progress --hide-
  modules --config=node_modules/laravel-mix/setup/webpack.config.js`
  npm ERR! Exit status 1
  npm ERR!
  npm ERR! Failed at the @ dev script.
  </code></pre>
  
  <p>I updated node.js to 6.11.0 and npm to 5.2.0, but it didn't help. I'm running Homestead on Windows 7. </p>