React Error: Uncaught SyntaxError: Unexpected token ‘<' in ...hot-update.js

I fixed this by adding <base href="/" /> in the <head> of file /public/index.html:

<!DOCTYPE html>

<html lang="en">
<head>
    <base href="/" /
    ....

Click Here to Leave a Comment Below

Leave a Reply: