I recently installed npm-windows-upgrade to upgrade to the latest version of npm. This was to get rid of an issue I was having where node modules would get installed but would often exceed the windows maximum path length due to all the nesting of dependencies.
After this procedure was performed, livereload.js was no longer being loaded into the browser and my gulp task was crashing I accessed the page URL. Node would end up spitting this to the console:
events.js:72 throw er; // Unhandled 'error' event ^ Error: ENOENT, open 'C:[project path]\node_modules\tiny-lr\node_modules\livereload-js\dist\livereload.js' Process terminated with code 8
What is the problem and how to resolve it?