title: I can't run 'npm run dev' since Laravel updated with Vite
body: <p>Taylor Otwell announced that new Laravel projects now will run with Vite and that Vite is installed by default. I can't seem to be able to run dev environment 'npm run dev'</p>
  <p>I installed new laravel project, installed Laravel JetStream with SSR and teams support hit the 'npm install command'.</p>
  <p>Every time I run npm run dev it shows this:
  <a href="https://i.stack.imgur.com/42Ge0.png" rel="noreferrer"><img src="https://i.stack.imgur.com/42Ge0.png" alt="error" /></a></p>
  <p>And if I open the local link, it shows this:
  <a href="https://i.stack.imgur.com/u7t4V.png" rel="noreferrer"><img src="https://i.stack.imgur.com/u7t4V.png" alt="localhost" /></a></p>
  <p>Why can't I user npm run dev and compile my files?</p>
  <p>This is package.json for my brand new laravel app</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>{
      "private": true,
      "scripts": {
          "dev": "vite",
          "build": "vite build &amp;&amp; vite build --ssr"
      },
      "devDependencies": {
          "@inertiajs/inertia": "^0.11.0",
          "@inertiajs/inertia-vue3": "^0.6.0",
          "@inertiajs/progress": "^0.2.7",
          "@inertiajs/server": "^0.1.0",
          "@tailwindcss/forms": "^0.5.2",
          "@tailwindcss/typography": "^0.5.2",
          "@vitejs/plugin-vue": "^2.3.3",
          "@vue/server-renderer": "^3.2.31",
          "autoprefixer": "^10.4.7",
          "axios": "^0.25",
          "laravel-vite-plugin": "^0.2.1",
          "lodash": "^4.17.19",
          "postcss": "^8.4.14",
          "tailwindcss": "^3.1.0",
          "vite": "^2.9.11",
          "vue": "^3.2.31"
      }
  }</code></pre>
  </div>
  </div>
  </p>
  <p>and if I try hitting 'vite' in the terminal I get this:</p>
  <p><a href="https://i.stack.imgur.com/beOvo.png" rel="noreferrer"><img src="https://i.stack.imgur.com/beOvo.png" alt="vite error" /></a></p>