title: Why I can not run Npm run dev?
body: <p>Guys can you please help me on this I have trouble run <strong>npm run dev</strong> for my Laravel Mix. I followed links below but still error exist. Do i have a problem on my OS? I tried to remove node_modules, run npm install --global cross-env. and run NPM install again.</p>
  
  <p><a href="https://stackoverflow.com/questions/48840341/cross-env-is-not-recognized-as-an-internal-or-external-command">&#39;cross-env&#39; is not recognized as an internal or external command,</a></p>
  
  <p><a href="https://github.com/JeffreyWay/laravel-mix/issues/478" rel="noreferrer">https://github.com/JeffreyWay/laravel-mix/issues/478</a></p>
  
  <p>The error I always get when I ran <code>npm run dev</code> :</p>
  
  <pre><code>npm ERR! code ELIFECYCLE
  npm ERR! errno 1
  npm ERR! @ development: `cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js`
  npm ERR! Exit status 1
  npm ERR! 
  npm ERR! Failed at the @ development 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!     /Users/baloghdominik/.npm/_logs/2020-02-26T17_05_54_290Z-debug.log
  npm ERR! code ELIFECYCLE
  npm ERR! errno 1
  npm ERR! @ dev: `npm run development`
  npm ERR! Exit status 1
  npm ERR! 
  npm ERR! Failed at the @ dev 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!     /Users/baloghdominik/.npm/_logs/2020-02-26T17_05_54_315Z-debug.log
  </code></pre>