Module not found: Error: Can't resolve 'laravel-echo' in 'D:\Open Server\domains\laraveluzh.loc\resources\js' code example
Example: Module not found: Error: Can't resolve 'laravel-echo' in 'D:\Open Server\domains\laraveluzh.loc\resources\js'
I needed to install below packages.
npm install -g laravel-echo-server
then following the step by step instruction as give here
Finally put below code before any js file.
<script src="http://{{ Request::getHost() }}:6001/socket.io/socket.io.js"></script>