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="/" /
....
I fixed this by adding <base href="/" />
in the <head>
of file /public/index.html
:
<!DOCTYPE html>
<html lang="en">
<head>
<base href="/" /
....