title: Uncaught SyntaxError: Unexpected token < in chunk.js
body: <p>I need your help please!</p>
  <p>I have made deploy and build of aplication. but when i redirect for any page i have this error:</p>
  <p>Uncaught SyntaxError: Unexpected token &lt;</p>
  <p>I think it was because the browser await .html archive and chunk.js is open like this img</p>
  <p><a href="https://i.stack.imgur.com/XCgqw.png" rel="nofollow noreferrer">print from error</a></p>
  <p>the route is fine, he finds the route, but don't open file.</p>
  <p>before some search i found things like a .htaccess and i have tryied but doesn't works.</p>
  <p>i have tryied these two models of .htacess on public/.htaccess</p>
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
  
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.html$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-l
    RewriteRule . /index.html [L]
  
  &lt;/IfModule&gt;
  </code></pre>
  <pre><code>Options -MultiViews
      RewriteEngine On
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteRule ^ index.html [QSA,L]
  </code></pre>
  <p>but it doesn't works too.</p>
  <p>Server</p>
  <pre><code>const root = require('path').join(__dirname, 'client', 'build')
  app.use(express.static(root));
  app.get(&quot;*&quot;, (req, res) =&gt; {
      res.sendFile('index.html', { root });
  })
  
  </code></pre>
  <p>i don't have any webserver, sorry, but im a student, and im still learning...</p>
  <p>please help guys!</p>