title: I ran npm run dev on cmd but it loaded SyntaxError:
body: <p>I wanted to create laravel login and registration system.
  I run</p>
  <ol>
  <li><code>composer require laravel/jetstream</code></li>
  <li><code>php artisan jetstream:install livewire</code></li>
  <li><code>npm install</code></li>
  <li><code>npm run dev</code></li>
  </ol>
  <p>After running npm run dev I got the below SyntaxError</p>
  <p><code>SyntaxError: Unexpected token </code>   {<br />
  <code>at new Script (vm.js:80:7)</code>
  <code>at createScript (vm.js:274:10)</code>
  <code>at Object.runInThisContext (vm.js:326:10)</code>
  <code>at Module._compile (internal/modules/cjs/loader.js:664:28)</code>
  <code>at Object.Module._extensions..js</code> <code>(internal/modules/cjs/loader.js:712:10)</code>
  at Module.load (internal/modules/cjs/loader.js:600:32)
  at tryModuleLoad (internal/modules/cjs/loader.js:539:12)
  at Function.Module._load (internal/modules/cjs/loader.js:531:3)
  at Function.Module.runMain (internal/modules/cjs/loader.js:754:12)
  at startup (internal/bootstrap/node.js:283:19)`</p>
  <p>[1]: <a href="https://i.stack.imgur.com/4KmAN.jpg" rel="nofollow noreferrer">https://i.stack.imgur.com/4KmAN.jpg</a> `</p>