Hey all,
Trying to make a site go live and I get this:
5:09:24 PM: Build ready to start
5:09:31 PM: build-image version: d7b3dbfb0846505993c9a131894d1858074c90b4 (focal)
5:09:31 PM: build-image tag: v4.10.1
5:09:31 PM: buildbot version: 67e75f1ba713a8213d4b5a8ccf9708af751e2390
5:09:31 PM: Fetching cached dependencies
5:09:31 PM: Failed to fetch cache, continuing with build
5:09:31 PM: Starting to prepare the repo for build
5:09:31 PM: No cached dependencies found. Cloning fresh repo
5:09:31 PM: git clone GitHub - lyletilley/finaldating
5:09:31 PM: Preparing Git Reference refs/heads/main
5:09:31 PM: Parsing package.json dependencies
5:09:32 PM: No build steps found, continuing to publishing
5:09:32 PM: Starting to deploy site from ‘/’
5:09:32 PM: Creating deploy tree
5:09:32 PM: Creating deploy upload records
5:09:32 PM: 0 new files to upload
5:09:32 PM: 0 new functions to upload
5:09:32 PM: Starting post processing
5:09:32 PM: Uploading Cache of size 542.7KB
5:09:32 PM: Post processing - HTML
5:09:32 PM: Finished processing build request in 1.569587904s
5:09:32 PM: Post processing - header rules
5:09:32 PM: Post processing - redirect rules
5:09:33 PM: Post processing done
5:09:35 PM: Site is live
then a Page Not Found.
Whats the issue? thanks
clarnx
September 3, 2022, 8:39pm
2
@lyletilley thanks for posting your problem.
For basic HTML sites Netlify attempts to serve only /index.html
in case you try to load your site without a path, for example:
https://your_sub_domain.netlify.app
Or
https://your_domain.com
Therefore instead of your project root to be
mainpack
the folder structure of your project root should be
css
img
js
modal
svg
index.html
Once you make the changes, redeploy again to see if the site displays. Let me know if it works.
Hope this helps
Thanks.
How exactly do I do this? I tried creating it like this but then I got it without images, and CSS etc… thanks
clarnx
September 3, 2022, 11:06pm
4
@lyletilley , thanks for the feedback.
I took a look at your html in your repo and it seems some of the images are supposed to be in a svg folder.
Also the js and modal folders is also missing.
Just to show you one example in the copyright section
<li><a href="#"><img src="svg/social/twitter.svg" alt="" class="fn__svg" /></a></li>
As you can see the folder path of the twitter image is svg/social/twitter.svg
Meaning there is supposed to be an svg folder in your project root.
Copy all the files and folders that were originally in mainpack/html
folder to the project root folder.
As I stated before the root folder structure should look like the image below
Let me know the outcome after the suggested changes.
Thanks.