title: Next.js Error Getting 404 When Fetching JS Resources After Refresh
body: <p>I'm running a Next.js dev server. When I go to page #1, then click a link to page #2, it works great.  (Just to clarify, I'm not using the <code>as</code> prop of Next's <code>&lt;Link&gt;</code> tag, just the regular old <code>href</code>.)</p>
  <p>However, if I then refresh page #2, the page itself loads, as do all the images ... but all of the Javascript files fail with a 404:</p>
  <blockquote>
  <p>http://localhost:3000/page2/_next/static/chunks/main.js?ts=1612664646023
  net::ERR_ABORTED 404 (Not Found) 2localhost/:196 GET</p>
  </blockquote>
  <blockquote>
  <p>http://localhost:3000/page2/_next/static/development/_buildManifest.js?ts=1612664646023
  net::ERR_ABORTED 404 (Not Found) 2localhost/:1 GET</p>
  </blockquote>
  <blockquote>
  <p>http://localhost:3000/page2/_next/static/chunks/webpack.js?ts=1612664646023
  net::ERR_ABORTED 404 (Not Found) 7localhost/:196 GET</p>
  </blockquote>
  <blockquote>
  <p>http://localhost:3000/page2/_next/static/chunks/main.js?ts=1612664646023
  net::ERR_ABORTED 404 (Not Found)</p>
  </blockquote>
  <p>Does anyone know what I can do to fix this?</p>