title: Error message : Create-react-app- index.pack.js:1 Uncaught SyntaxError: Unexpected token '<'
body: <p>I get the error <em>index.pack.js:1 Uncaught SyntaxError: Unexpected token '&lt;'</em> I thought this was an error I made but no, i cant seem to find any errors, Here's the code for what i have got</p>
  <p>Index.html</p>
  <pre><code>&lt;html&gt;
      &lt;head&gt;
          &lt;link href=&quot;https://fonts.googleapis.com/css?family=Oswald&amp;display=swap&quot; rel=&quot;stylesheet&quot;&gt;
          &lt;link href=&quot;https://cdn.jsdelivr.net/npm/remixicon@2.3.0/fonts/remixicon.css&quot; rel=&quot;stylesheet&quot;&gt;
          &lt;link rel=&quot;stylesheet&quot; href=&quot;styles.css&quot;&gt;
      &lt;/head&gt;
      &lt;body&gt;
          &lt;div id=&quot;root&quot;&gt;&lt;/div&gt;
          &lt;script src=&quot;index.pack.js&quot;&gt;&lt;/script&gt;
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  <p>Then index.js</p>
  <pre><code>import React from 'react';
  import ReactDOM from 'react-dom';
  import './index.css';
  import App from './App';
  
  ReactDOM.render(
    &lt;React.StrictMode&gt;
      &lt;App /&gt;
    &lt;/React.StrictMode&gt;,
    document.getElementById('root')
  );
  </code></pre>
  <p>Also then in the app</p>
  <pre><code>import React from &quot;react&quot;
  
  function App() {    
      return (
          &lt;div&gt;
            
              &lt;h1&gt;Home Page&lt;/h1&gt;
          &lt;/div&gt;
      )
  }
  
  export default App
  </code></pre>
  <p>FYI&lt; I have installed create-react-app and deleted some of those files &gt;
  Any help would be appreciated!
  Here's the error when inspected</p>
  <p><a href="https://i.stack.imgur.com/iv9Jt.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/iv9Jt.png" alt="enter image description here" /></a></p>