Https://relaxed-fermat-d6ddca.netlify.app

https://relaxed-fermat-d6ddca.netlify.app
I have deployed my site and Netlify has built and published the site. When I click on the netlify domain I am getting an error page not found?

Can someone advise me please.

Writing a detailed post will help us solve your issue faster, generally speaking we need this:

  • Netlify Domain (.netlify.app)
  • Git Repo if you have one
  • Latest deploy logs (either copy and pasted or linked to)

Kyle.

Hi Kyle
I was getting a dist directory doesn’t exist to start with and it wasn’t building do I created a dist folder although I am not sure if I have put the correct files. Thanks

factor9.netlify.app

DEPLOY LOG

3:04:00 PM: Build ready to start
3:04:03 PM: build-image version: be42e453d6c8f171cc2f654acc29c0a8b60e6d93
3:04:03 PM: build-image tag: v3.7.1
3:04:03 PM: buildbot version: 94f1b7736437a080e02c046e77c9a098022fec84
3:04:03 PM: Fetching cached dependencies
3:04:03 PM: Failed to fetch cache, continuing with build
3:04:03 PM: Starting to prepare the repo for build
3:04:03 PM: No cached dependencies found. Cloning fresh repo
3:04:03 PM: git clone GitHub - factor9net/factor9
3:04:04 PM: Preparing Git Reference refs/heads/main
3:04:07 PM: Starting build script
3:04:07 PM: Installing dependencies
3:04:07 PM: Python version set to 2.7
3:04:09 PM: v12.18.0 is already installed.
3:04:10 PM: Now using node v12.18.0 (npm v6.14.4)
3:04:10 PM: Started restoring cached build plugins
3:04:10 PM: Finished restoring cached build plugins
3:04:10 PM: Attempting ruby version 2.7.1, read from environment
3:04:12 PM: Using ruby version 2.7.1
3:04:13 PM: Using PHP version 5.6
3:04:13 PM: Started restoring cached yarn cache
3:04:13 PM: Finished restoring cached yarn cache
3:04:13 PM: Installing yarn at version 1.22.4
3:04:13 PM: Installing Yarn!
3:04:13 PM: > Downloading tarball…
3:04:13 PM: [1/2]: https://yarnpkg.com/downloads/1.22.4/yarn-v1.22.4.tar.gz → /tmp/yarn.tar.gz.mllOJMTrY5
3:04:13 PM: % Total % Received % Xferd Average Speed Time Time Time Current
3:04:13 PM: Dload Upload Total Spent Left Speed
3:04:13 PM: 0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0
3:04:13 PM: 0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0
3:04:13 PM: 100 79 100 79 0 0 309 0 --:–:-- --:–:-- --:–:-- 309
3:04:13 PM: 100 93 100 93 0 0 178 0 --:–:-- --:–:-- --:–:-- 178
3:04:13 PM: 100 625 100 625 0 0 756 0 --:–:-- --:–:-- --:–:-- 756
3:04:14 PM: 79 1215k 79 969k 0 0 824k 0 0:00:01 0:00:01 --:–:-- 824k
3:04:14 PM: 100 1215k 100 1215k 0 0 1019k 0 0:00:01 0:00:01 --:–:-- 15.0M
3:04:14 PM: [2/2]: https://yarnpkg.com/downloads/1.22.4/yarn-v1.22.4.tar.gz.asc → /tmp/yarn.tar.gz.mllOJMTrY5.asc
3:04:14 PM: 100 83 100 83 0 0 1936 0 --:–:-- --:–:-- --:–:-- 1936
3:04:14 PM: 100 97 100 97 0 0 1363 0 --:–:-- --:–:-- --:–:-- 1363
3:04:14 PM: 100 629 100 629 0 0 6443 0 --:–:-- --:–:-- --:–:-- 6443
3:04:14 PM: 100 1028 100 1028 0 0 9438 0 --:–:-- --:–:-- --:–:-- 9438
3:04:14 PM: > Verifying integrity…
3:04:14 PM: gpg: Signature made Mon 09 Mar 2020 03:52:13 PM UTC using RSA key ID 69475BAA
3:04:14 PM: gpg: Good signature from “Yarn Packaging yarn@dan.cx
3:04:14 PM: gpg: WARNING: This key is not certified with a trusted signature!
3:04:14 PM: gpg: There is no indication that the signature belongs to the owner.
3:04:14 PM: Primary key fingerprint: 72EC F46A 56B4 AD39 C907 BBB7 1646 B01B 86E5 0310
3:04:14 PM: Subkey fingerprint: 6D98 490C 6F1A CDDD 448E 4595 4F77 6793 6947 5BAA
3:04:14 PM: > GPG signature looks good
3:04:14 PM: > Extracting to ~/.yarn…
3:04:14 PM: > Adding to PATH... 3:04:15 PM: > Successfully installed Yarn 1.22.4! Please open another terminal where the `yarn` command will now be available. 3:04:15 PM: Started restoring cached node modules 3:04:15 PM: Finished restoring cached node modules 3:04:15 PM: Installing NPM modules using Yarn version 1.22.4 3:04:16 PM: yarn install v1.22.4 3:04:16 PM: warning package.json: No license field 3:04:16 PM: warning valkyrie@1.5.0: No license field 3:04:16 PM: [1/5] Validating package.json... 3:04:16 PM: warning valkyrie@1.5.0: No license field 3:04:16 PM: warning valkyrie@1.5.0: The engine "ghost" appears to be invalid. 3:04:16 PM: warning valkyrie@1.5.0: The engine "ghost-api" appears to be invalid. 3:04:16 PM: [2/5] Resolving packages... 3:04:17 PM: [3/5] Fetching packages... 3:04:34 PM: info fsevents@1.2.13: The platform "linux" is incompatible with this module. 3:04:34 PM: info "fsevents@1.2.13" is an optional dependency and failed compatibility check. Excluding it from installation. 3:04:34 PM: [4/5] Linking dependencies... 3:04:41 PM: [5/5] Building fresh packages... 3:04:43 PM: Done in 27.29s. 3:04:43 PM: NPM modules installed using Yarn 3:04:44 PM: warning package.json: No license field 3:04:44 PM: Started restoring cached go cache 3:04:44 PM: Finished restoring cached go cache 3:04:44 PM: go version go1.14.4 linux/amd64 3:04:44 PM: go version go1.14.4 linux/amd64 3:04:44 PM: Installing missing commands 3:04:44 PM: Verify run directory 3:04:46 PM: ​ 3:04:46 PM: ──────────────────────────────────────────────────────────────── 3:04:46 PM: Netlify Build 3:04:46 PM: ──────────────────────────────────────────────────────────────── 3:04:46 PM: ​ 3:04:46 PM: ❯ Version 3:04:46 PM: @netlify/build 10.2.7 3:04:46 PM: ​ 3:04:46 PM: ❯ Flags 3:04:46 PM: deployId: 6072f3c0d12c05000747ddf9 3:04:46 PM: ​ 3:04:46 PM: ❯ Current directory 3:04:46 PM: /opt/build/repo 3:04:46 PM: ​ 3:04:46 PM: ❯ Config file 3:04:46 PM: No config file was defined: using default values. 3:04:46 PM: ​ 3:04:46 PM: ❯ Context 3:04:46 PM: production 3:04:46 PM: ​ 3:04:46 PM: ──────────────────────────────────────────────────────────────── 3:04:46 PM: 1. Build command from Netlify app 3:04:46 PM: ──────────────────────────────────────────────────────────────── 3:04:46 PM: ​ 3:04:46 PM: gulp build
3:04:48 PM: [13:04:48] Using gulpfile /opt/build/repo/gulpfile.js
3:04:48 PM: [13:04:48] Starting ‘build’…
3:04:48 PM: [13:04:48] Starting ‘css’…
3:04:48 PM: [13:04:48] Finished ‘css’ after 20 ms
3:04:48 PM: [13:04:48] Starting ‘js’…
3:04:48 PM: [13:04:48] Finished ‘js’ after 5.99 ms
3:04:48 PM: [13:04:48] Finished ‘build’ after 29 ms
3:04:48 PM: ​
3:04:48 PM: (build.command completed in 1.6s)
3:04:48 PM: ​
3:04:48 PM: ────────────────────────────────────────────────────────────────
3:04:48 PM: 2. Deploy site
3:04:48 PM: ────────────────────────────────────────────────────────────────
3:04:48 PM: ​
3:04:48 PM: Starting to deploy site from ‘dist’
3:04:48 PM: Creating deploy tree
3:04:48 PM: Creating deploy upload records
3:04:48 PM: 16 new files to upload
3:04:48 PM: 0 new functions to upload
3:04:48 PM: Site deploy was successfully initiated
3:04:48 PM: ​
3:04:48 PM: (Deploy site completed in 747ms)
3:04:48 PM: ​
3:04:48 PM: ────────────────────────────────────────────────────────────────
3:04:48 PM: Netlify Build Complete
3:04:48 PM: ────────────────────────────────────────────────────────────────
3:04:48 PM: ​
3:04:49 PM: Starting post processing
3:04:48 PM: (Netlify Build completed in 2.5s)
3:04:49 PM: Post processing - HTML
3:04:49 PM: Post processing - header rules
3:04:49 PM: Post processing - redirect rules
3:04:49 PM: Post processing done
3:04:49 PM: Site is live :sparkles:
3:04:49 PM: Caching artifacts
3:04:49 PM: Started saving node modules
3:04:49 PM: Finished saving node modules
3:04:49 PM: Started saving build plugins
3:04:49 PM: Finished saving build plugins
3:04:49 PM: Started saving yarn cache
3:04:49 PM: Finished saving yarn cache
3:04:49 PM: Started saving pip cache
3:04:49 PM: Finished saving pip cache
3:04:49 PM: Started saving emacs cask dependencies
3:04:49 PM: Finished saving emacs cask dependencies
3:04:49 PM: Started saving maven dependencies
3:04:49 PM: Finished saving maven dependencies
3:04:49 PM: Started saving boot dependencies
3:04:49 PM: Finished saving boot dependencies
3:04:49 PM: Started saving rust rustup cache
3:04:49 PM: Finished saving rust rustup cache
3:04:49 PM: Started saving go dependencies
3:04:49 PM: Finished saving go dependencies
3:04:52 PM: Build script success
3:05:09 PM: Finished processing build request in 1m6.07236174s

1 Like

Great! Could you let me know what SSG/framework you are using and the expected output directory.

Hi
Its Ghost , Im not sure what you mean by output directory?

A typical SSG will process template files e.g the .hbs files in your repo and create static content in another directory (this is the one deployed by Netlify). I’m not familiar with Ghost, could you link to a docs page so I would read up on what your issue might be.

I have looked through here but I couldn’t see anything

I had a look through Ghost.io’s site and it seems it is purely a CMS not a SSG. Are you aware of what SSG your repo is running on?

Ghost is built with handlebars

Are you using a Ghost theme?

It might be that I’m not understanding how you are trying to deploy Ghost with Netlify but after some research, I believe that Ghost is a headless CMS/Blog maker. I’m not too sure about how you might go about deploying a Ghost site other than their own tutorial below:

Hi, @atomic-orange. Did you read this support guide and download your deploy?

If you do so, you will see these are the only files in the deploy:

/assets/js/ityped.js
/assets/js/index.js
/assets/js/global.js
/assets/js/post.js
/assets/css/screen.css

The page not found is happening because there is no index.html file. Have you tried adding one? If so, what was the result?

Hey there, have you found a solution to this issue yet?