title: “Unexpected Token <” error in HTML while using socket.io via npm
body: <p>I know this issue has been discussed in an old post. But in that scenario the developer was importing socket.io via a script tag. I am getting the same error on my local build and I have installed socket.io using npm.</p>
  
  <p>Has anyone had a similar issue? How can this be corrected?</p>