I hope this is solved now if any future developers are facing this issue. Please check the URLs (like https:// mistakes) in your code (index.html) so that you can build your website on a local server.

I made spelling mistakes in URLs, and then that was corrected. The build was successful.
