title: Cannot find module "laravel-echo"
body: <p>I am learning to configure Laravel Echo Socket.js and <strong><a href="https://laravel.com/docs/5.5/broadcasting#installing-laravel-echo" rel="noreferrer">following an article here</a></strong></p>
  
  <p>Code in bootstrap.js is below</p>
  
  <pre><code>import Echo from "laravel-echo"
  
  window.Echo = new Echo({
      broadcaster: 'socket.io',
      host: window.location.hostname + ':6001'
  });
  </code></pre>
  
  <p>When I run the above code, it says, Cannot find module "laravel-echo"</p>
  
  <p>I am not using pusher and redis. In the above reference page, I think, there is no installation guidelines given for only socket.io</p>
  
  <p>Can somebody explain if I am missing anything?</p>