title: Error: getStaticPaths is required for dynamic SSG pages and is missing for "xxx". NextJS
body: <p>I am getting this error <code>&quot;Error: getStaticPaths is required for dynamic SSG pages and is missing for 'xxx'&quot;</code> when I try to create my page in NextJS.</p>
  <p>I don't want to generate any static page on build time. So why do I need to create a <code>'getStaticPaths'</code> function?</p>