Home
Support Forums

Deploys a black screen

https://amazing-volhard-7fcc1c.netlify.app

Here’s the deployment log:

10:20:40 AM: Build ready to start
10:20:42 AM: build-image version: fa439ad1ab9393b2c0d449d8d7c033927683f4b0
10:20:42 AM: build-image tag: v4.3.0
10:20:42 AM: buildbot version: 1bf6512c6ec83c8090b943015740497dd510e9b2
10:20:42 AM: Building without cache
10:20:42 AM: Starting to prepare the repo for build
10:20:42 AM: No cached dependencies found. Cloning fresh repo
10:20:42 AM: git clone https://github.com/BobWalsh/47hatsSite2022
10:20:43 AM: Preparing Git Reference refs/heads/main
10:20:44 AM: Parsing package.json dependencies
10:20:45 AM: Starting build script
10:20:45 AM: Installing dependencies
10:20:45 AM: Python version set to 2.7
10:20:46 AM: Downloading and installing node v16.7.0...
10:20:46 AM: Downloading https://nodejs.org/dist/v16.7.0/node-v16.7.0-linux-x64.tar.xz...
10:20:46 AM: Computing checksum with sha256sum
10:20:47 AM: Checksums matched!
10:20:50 AM: Now using node v16.7.0 (npm v7.20.3)
10:20:50 AM: Started restoring cached build plugins
10:20:50 AM: Finished restoring cached build plugins
10:20:50 AM: Attempting ruby version 2.7.2, read from environment
10:20:52 AM: Using ruby version 2.7.2
10:20:52 AM: Using bundler version 2.2.4 from Gemfile.lock
10:20:53 AM: Successfully installed bundler-2.2.4
10:20:53 AM: 1 gem installed
10:20:53 AM: Using PHP version 8.0
10:20:53 AM: Started restoring cached ruby gems
10:20:53 AM: Finished restoring cached ruby gems
10:20:53 AM: Installing gem bundle
10:20:53 AM: [DEPRECATED] The `--path` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use `bundle config set --local path '/opt/build/cache/bundle'`, and stop using this flag
10:20:53 AM: [DEPRECATED] The --binstubs option will be removed in favor of `bundle binstubs --all`
10:20:56 AM: Fetching gem metadata from https://rubygems.org/..........
10:20:56 AM: Fetching gem metadata from https://rubygems.org/.
10:20:56 AM: Resolving dependencies...
10:20:56 AM: Using bundler 2.2.4
10:20:56 AM: Fetching colorator 1.1.0
10:20:56 AM: Fetching concurrent-ruby 1.1.8
10:20:56 AM: Fetching public_suffix 4.0.6
10:20:56 AM: Fetching http_parser.rb 0.6.0
10:20:56 AM: Fetching ffi 1.14.2
10:20:56 AM: Fetching eventmachine 1.2.7
10:20:56 AM: Fetching forwardable-extended 2.6.0
10:20:56 AM: Fetching rb-fsevent 0.10.4
10:20:56 AM: Installing colorator 1.1.0
10:20:56 AM: Installing forwardable-extended 2.6.0
10:20:56 AM: Installing public_suffix 4.0.6
10:20:56 AM: Installing rb-fsevent 0.10.4
10:20:56 AM: Installing eventmachine 1.2.7 with native extensions
10:20:56 AM: Installing concurrent-ruby 1.1.8
10:20:57 AM: Fetching rexml 3.2.4
10:20:57 AM: Installing http_parser.rb 0.6.0 with native extensions
10:20:57 AM: Fetching liquid 4.0.3
10:20:57 AM: Fetching mercenary 0.4.0
10:20:57 AM: Installing ffi 1.14.2 with native extensions
10:20:57 AM: Installing rexml 3.2.4
10:20:57 AM: Installing liquid 4.0.3
10:20:57 AM: Fetching rouge 3.26.0
10:20:57 AM: Installing mercenary 0.4.0
10:20:57 AM: Fetching safe_yaml 1.0.5
10:20:57 AM: Fetching unicode-display_width 1.7.0
10:20:57 AM: Installing safe_yaml 1.0.5
10:20:57 AM: Installing rouge 3.26.0
10:20:58 AM: Installing unicode-display_width 1.7.0
10:21:20 AM: Fetching jekyll-paginate 1.1.0
10:21:21 AM: Installing jekyll-paginate 1.1.0
10:21:32 AM: Fetching nuggets 1.6.0
10:21:32 AM: Fetching webrick 1.7.0
10:21:32 AM: Fetching pathutil 0.16.2
10:21:32 AM: Fetching addressable 2.7.0
10:21:32 AM: Fetching kramdown 2.3.0
10:21:32 AM: Fetching terminal-table 2.0.0
10:21:32 AM: Fetching i18n 1.8.9
10:21:32 AM: Installing pathutil 0.16.2
10:21:32 AM: Installing i18n 1.8.9
10:21:32 AM: Fetching sassc 2.4.0
10:21:32 AM: Installing webrick 1.7.0
10:21:32 AM: Installing terminal-table 2.0.0
10:21:32 AM: Installing nuggets 1.6.0
10:21:32 AM: Installing kramdown 2.3.0
10:21:32 AM: Installing addressable 2.7.0
10:21:32 AM: Fetching rb-inotify 0.10.1
10:21:32 AM: Installing sassc 2.4.0 with native extensions
10:21:32 AM: Fetching em-websocket 0.5.2
10:21:32 AM: Installing rb-inotify 0.10.1
10:21:32 AM: Installing em-websocket 0.5.2
10:21:32 AM: Fetching listen 3.4.1
10:21:33 AM: Installing listen 3.4.1
10:21:33 AM: Fetching jekyll-watch 2.2.1
10:21:33 AM: Installing jekyll-watch 2.2.1
10:25:29 AM: Fetching jekyll-tagging 1.1.0
10:25:29 AM: Fetching kramdown-parser-gfm 1.1.0
10:25:29 AM: Fetching jekyll-sass-converter 2.1.0
10:25:29 AM: Installing jekyll-sass-converter 2.1.0
10:25:29 AM: Installing kramdown-parser-gfm 1.1.0
10:25:29 AM: Installing jekyll-tagging 1.1.0
10:25:29 AM: Fetching jekyll 4.2.0
10:25:29 AM: Installing jekyll 4.2.0
10:25:29 AM: Fetching jekyll-feed 0.15.1
10:25:29 AM: Fetching jekyll-sitemap 1.4.0
10:25:29 AM: Installing jekyll-feed 0.15.1
10:25:29 AM: Installing jekyll-sitemap 1.4.0
10:25:30 AM: Bundle complete! 7 Gemfile dependencies, 34 gems now installed.
10:25:30 AM: Bundled gems are installed into `/opt/build/cache/bundle`
10:25:30 AM: Post-install message from nuggets:
10:25:30 AM: nuggets-1.6.0 [2018-07-12]:
10:25:30 AM: * Added <tt>JSON.*_{multi,canonical}</tt>.
10:25:30 AM: Post-install message from jekyll-tagging:
10:25:30 AM: jekyll-tagging-1.1.0 [2017-03-07]:
10:25:30 AM: * Added ability to append extra data to all tag pages. (tfe)
10:25:30 AM: * Provides compatibility to the current jekyll (3.4.1).
10:25:30 AM: * A few fixes. (felipe)
10:25:30 AM: * Some documentation improvements. (wsmoak, jonathanpberger)
10:25:30 AM: * Prooves who is the worst open source maintainer. (pattex ^__^)
10:25:30 AM: Gem bundle installed
10:25:30 AM: Started restoring cached go cache
10:25:30 AM: Finished restoring cached go cache
10:25:30 AM: go version go1.16.5 linux/amd64
10:25:30 AM: go version go1.16.5 linux/amd64
10:25:30 AM: Installing missing commands
10:25:30 AM: Verify run directory
10:25:31 AM: ​
10:25:31 AM: ────────────────────────────────────────────────────────────────
10:25:31 AM:   Netlify Build                                                 
10:25:31 AM: ────────────────────────────────────────────────────────────────
10:25:31 AM: ​
10:25:31 AM: ❯ Version
10:25:31 AM:   @netlify/build 18.4.3
10:25:31 AM: ​
10:25:31 AM: ❯ Flags
10:25:31 AM:   baseRelDir: true
10:25:31 AM:   buildId: 61252a68391ed900a5d69bf0
10:25:31 AM:   deployId: 61252a68391ed900a5d69bf2
10:25:31 AM: ​
10:25:31 AM: ❯ Current directory
10:25:31 AM:   /opt/build/repo
10:25:31 AM: ​
10:25:31 AM: ❯ Config file
10:25:31 AM:   No config file was defined: using default values.
10:25:31 AM: ​
10:25:31 AM: ❯ Context
10:25:31 AM:   production
10:25:31 AM: ​
10:25:31 AM: ────────────────────────────────────────────────────────────────
10:25:31 AM:   1. Build command from Netlify app                             
10:25:31 AM: ────────────────────────────────────────────────────────────────
10:25:31 AM: ​
10:25:31 AM: $ jekyll build
10:25:32 AM: Configuration file: /opt/build/repo/_config.yml
10:25:32 AM:             Source: /opt/build/repo
10:25:32 AM:        Destination: /opt/build/repo/_site
10:25:32 AM:  Incremental build: disabled. Enable with --incremental
10:25:32 AM:       Generating...
10:25:32 AM:        Jekyll Feed: Generating feed for posts
10:25:34 AM:                     done in 2.063 seconds.
10:25:34 AM:  Auto-regeneration: disabled. Use --watch to enable.
10:25:34 AM: ​
10:25:34 AM: (build.command completed in 2.7s)
10:25:34 AM: ​
10:25:34 AM: ────────────────────────────────────────────────────────────────
10:25:34 AM:   2. Deploy site                                                
10:25:34 AM: ────────────────────────────────────────────────────────────────
10:25:34 AM: ​
10:25:34 AM: Starting to deploy site from '_site'
10:25:34 AM: Creating deploy tree 
10:25:34 AM: Creating deploy upload records
10:25:34 AM: 1 new files to upload
10:25:34 AM: 0 new functions to upload
10:25:34 AM: Site deploy was successfully initiated
10:25:34 AM: ​
10:25:34 AM: (Deploy site completed in 360ms)
10:25:34 AM: ​
10:25:34 AM: ────────────────────────────────────────────────────────────────
10:25:34 AM:   Netlify Build Complete                                        
10:25:34 AM: ────────────────────────────────────────────────────────────────
10:25:34 AM: ​
10:25:34 AM: (Netlify Build completed in 3.1s)
10:25:34 AM: Starting post processing
10:25:34 AM: Post processing - HTML
10:25:34 AM: Caching artifacts
10:25:34 AM: Started saving ruby gems
10:25:34 AM: Finished saving ruby gems
10:25:34 AM: Started saving node modules
10:25:34 AM: Finished saving node modules
10:25:34 AM: Started saving build plugins
10:25:34 AM: Finished saving build plugins
10:25:34 AM: Started saving pip cache
10:25:35 AM: Post processing - header rules
10:25:35 AM: Finished saving pip cache
10:25:35 AM: Started saving emacs cask dependencies
10:25:35 AM: Finished saving emacs cask dependencies
10:25:35 AM: Post processing - redirect rules
10:25:35 AM: Started saving maven dependencies
10:25:35 AM: Finished saving maven dependencies
10:25:35 AM: Started saving boot dependencies
10:25:35 AM: Post processing done
10:25:35 AM: Finished saving boot dependencies
10:25:35 AM: Started saving rust rustup cache
10:25:35 AM: Finished saving rust rustup cache
10:25:35 AM: Started saving go dependencies
10:25:35 AM: Finished saving go dependencies
10:25:35 AM: Site is live ✨
10:25:37 AM: Build script success

It deploys, but the build has 30 errors that look like these:

Failed to load resource: the server responded with a status of 404 ()
jquery-3.3.1.min.js:1 Failed to load resource: the server responded with a status of 404 ()
47hats-blackred-logo-2021.png:1 Failed to load resource: the server responded with a status of 404 ()
310.jpg:1 Failed to load resource: the server responded with a status of 404 ()
325.jpg:1 Failed to load resource: the server responded with a status of 404 () … and so on

deployment settings:

Anyone have any idea what is going wrong?

Cheers,
Bob

Hi @BobWalsh

This is the URL in the page

https://amazing-volhard-7fcc1c.netlify.app/blog/images/310.jpg

This is the correct URL

https://amazing-volhard-7fcc1c.netlify.app/images/310.jpg

which has something to do with the canonical URL

<link rel="canonical" href="47hats.com/blog/">