bundle exec jekyll serve --open-url --livereload
Configuration file: /home/steveng/ghp.github.io/_config.yml
Source: /home/steveng/ghp.github.io
Destination: /home/steveng/ghp.github.io/_site
Incremental build: disabled. Enable with --incremental
Generating...
Jekyll Feed: Generating feed for posts
Conversion error: Jekyll::Converters::Scss encountered an error while converting 'assets/css/main.scss':
Error: File to import not found or unreadable: minimal-mistakes/vendor/breakpoint/breakpoint. on line 11:1 of _sass/minimal-mistakes.scss from line 4:1 of main.scss >> @import "minimal-mistakes/vendor/breakpoint/breakpoint"; ^
------------------------------------------------
Jekyll 4.2.2 Please append `--trace` to the `serve` command
for any additional information or backtrace.
------------------------------------------------
Traceback (most recent call last):
45: from /home/steveng/gems/bin/bundle:23:in `<main>'
44: from /home/steveng/gems/bin/bundle:23:in `load'
43: from /home/steveng/gems/gems/bundler-2.3.10/exe/bundle:36:in `<top (required)>'
42: from /home/steveng/gems/gems/bundler-2.3.10/lib/bundler/friendly_errors.rb:103:in `with_friendly_errors'
41: from /home/steveng/gems/gems/bundler-2.3.10/exe/bundle:48:in `block in <top (required)>'
40: from /home/steveng/gems/gems/bundler-2.3.10/lib/bundler/cli.rb:25:in `start'
39: from /home/steveng/gems/gems/bundler-2.3.10/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
38: from /home/steveng/gems/gems/bundler-2.3.10/lib/bundler/cli.rb:31:in `dispatch'
37: from /home/steveng/gems/gems/bundler-2.3.10/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
36: from /home/steveng/gems/gems/bundler-2.3.10/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
35: from /home/steveng/gems/gems/bundler-2.3.10/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
34: from /home/steveng/gems/gems/bundler-2.3.10/lib/bundler/cli.rb:483:in `exec'
33: from /home/steveng/gems/gems/bundler-2.3.10/lib/bundler/cli/exec.rb:23:in `run'
32: from /home/steveng/gems/gems/bundler-2.3.10/lib/bundler/cli/exec.rb:58:in `kernel_load'
31: from /home/steveng/gems/gems/bundler-2.3.10/lib/bundler/cli/exec.rb:58:in `load'
30: from /home/steveng/gems/bin/jekyll:23:in `<top (required)>'
29: from /home/steveng/gems/bin/jekyll:23:in `load'
28: from /var/lib/gems/2.7.0/gems/jekyll-4.2.2/exe/jekyll:15:in `<top (required)>'
27: from /var/lib/gems/2.7.0/gems/mercenary-0.4.0/lib/mercenary.rb:21:in `program'
26: from /var/lib/gems/2.7.0/gems/mercenary-0.4.0/lib/mercenary/program.rb:44:in `go'
25: from /var/lib/gems/2.7.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `execute'
24: from /var/lib/gems/2.7.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `each'
23: from /var/lib/gems/2.7.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `block in execute'
22: from /var/lib/gems/2.7.0/gems/jekyll-4.2.2/lib/jekyll/commands/serve.rb:86:in `block (2 levels) in init_with_program'
21: from /var/lib/gems/2.7.0/gems/jekyll-4.2.2/lib/jekyll/command.rb:91:in `process_with_graceful_fail'
20: from /var/lib/gems/2.7.0/gems/jekyll-4.2.2/lib/jekyll/command.rb:91:in `each'
19: from /var/lib/gems/2.7.0/gems/jekyll-4.2.2/lib/jekyll/command.rb:91:in `block in process_with_graceful_fail'
18: from /var/lib/gems/2.7.0/gems/jekyll-4.2.2/lib/jekyll/commands/build.rb:36:in `process'
17: from /var/lib/gems/2.7.0/gems/jekyll-4.2.2/lib/jekyll/commands/build.rb:65:in `build'
16: from /var/lib/gems/2.7.0/gems/jekyll-4.2.2/lib/jekyll/command.rb:28:in `process_site'
15: from /var/lib/gems/2.7.0/gems/jekyll-4.2.2/lib/jekyll/site.rb:80:in `process'
14: from /var/lib/gems/2.7.0/gems/jekyll-4.2.2/lib/jekyll/site.rb:211:in `render'
13: from /var/lib/gems/2.7.0/gems/jekyll-4.2.2/lib/jekyll/site.rb:538:in `render_pages'
12: from /var/lib/gems/2.7.0/gems/jekyll-4.2.2/lib/jekyll/site.rb:538:in `each'
11: from /var/lib/gems/2.7.0/gems/jekyll-4.2.2/lib/jekyll/site.rb:539:in `block in render_pages'
10: from /var/lib/gems/2.7.0/gems/jekyll-4.2.2/lib/jekyll/site.rb:547:in `render_regenerated'
9: from /var/lib/gems/2.7.0/gems/jekyll-4.2.2/lib/jekyll/renderer.rb:63:in `run'
8: from /var/lib/gems/2.7.0/gems/jekyll-4.2.2/lib/jekyll/renderer.rb:84:in `render_document'
7: from /var/lib/gems/2.7.0/gems/jekyll-4.2.2/lib/jekyll/renderer.rb:104:in `convert'
6: from /var/lib/gems/2.7.0/gems/jekyll-4.2.2/lib/jekyll/renderer.rb:104:in `reduce'
5: from /var/lib/gems/2.7.0/gems/jekyll-4.2.2/lib/jekyll/renderer.rb:104:in `each'
4: from /var/lib/gems/2.7.0/gems/jekyll-4.2.2/lib/jekyll/renderer.rb:106:in `block in convert'
3: from /var/lib/gems/2.7.0/gems/jekyll-sass-converter-2.2.0/lib/jekyll/converters/scss.rb:186:in `convert'
2: from /var/lib/gems/2.7.0/gems/jekyll-sass-converter-2.2.0/lib/jekyll/converters/scss.rb:195:in `sass_convert'
1: from /var/lib/gems/2.7.0/gems/sassc-2.4.0/lib/sassc/engine.rb:50:in `render'
/home/steveng/ghp.github.io/_sass/minimal-mistakes.scss:11: Error: File to import not found or unreadable: minimal-mistakes/vendor/breakpoint/breakpoint. (SassC::SyntaxError)
on line 11:1 of _sass/minimal-mistakes.scss
from line 4:1 of main.scss
>> @import "minimal-mistakes/vendor/breakpoint/breakpoint";
^
44: from /home/steveng/gems/bin/bundle:23:in `<main>'
43: from /home/steveng/gems/bin/bundle:23:in `load'
42: from /home/steveng/gems/gems/bundler-2.3.10/exe/bundle:36:in `<top (required)>'
41: from /home/steveng/gems/gems/bundler-2.3.10/lib/bundler/friendly_errors.rb:103:in `with_friendly_errors'
40: from /home/steveng/gems/gems/bundler-2.3.10/exe/bundle:48:in `block in <top (required)>'
39: from /home/steveng/gems/gems/bundler-2.3.10/lib/bundler/cli.rb:25:in `start'
38: from /home/steveng/gems/gems/bundler-2.3.10/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
37: from /home/steveng/gems/gems/bundler-2.3.10/lib/bundler/cli.rb:31:in `dispatch'
36: from /home/steveng/gems/gems/bundler-2.3.10/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
35: from /home/steveng/gems/gems/bundler-2.3.10/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
34: from /home/steveng/gems/gems/bundler-2.3.10/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
33: from /home/steveng/gems/gems/bundler-2.3.10/lib/bundler/cli.rb:483:in `exec'
32: from /home/steveng/gems/gems/bundler-2.3.10/lib/bundler/cli/exec.rb:23:in `run'
31: from /home/steveng/gems/gems/bundler-2.3.10/lib/bundler/cli/exec.rb:58:in `kernel_load'
30: from /home/steveng/gems/gems/bundler-2.3.10/lib/bundler/cli/exec.rb:58:in `load'
29: from /home/steveng/gems/bin/jekyll:23:in `<top (required)>'
28: from /home/steveng/gems/bin/jekyll:23:in `load'
27: from /var/lib/gems/2.7.0/gems/jekyll-4.2.2/exe/jekyll:15:in `<top (required)>'
26: from /var/lib/gems/2.7.0/gems/mercenary-0.4.0/lib/mercenary.rb:21:in `program'
25: from /var/lib/gems/2.7.0/gems/mercenary-0.4.0/lib/mercenary/program.rb:44:in `go'
24: from /var/lib/gems/2.7.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `execute'
23: from /var/lib/gems/2.7.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `each'
22: from /var/lib/gems/2.7.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `block in execute'
21: from /var/lib/gems/2.7.0/gems/jekyll-4.2.2/lib/jekyll/commands/serve.rb:86:in `block (2 levels) in init_with_program'
20: from /var/lib/gems/2.7.0/gems/jekyll-4.2.2/lib/jekyll/command.rb:91:in `process_with_graceful_fail'
19: from /var/lib/gems/2.7.0/gems/jekyll-4.2.2/lib/jekyll/command.rb:91:in `each'
18: from /var/lib/gems/2.7.0/gems/jekyll-4.2.2/lib/jekyll/command.rb:91:in `block in process_with_graceful_fail'
17: from /var/lib/gems/2.7.0/gems/jekyll-4.2.2/lib/jekyll/commands/build.rb:36:in `process'
16: from /var/lib/gems/2.7.0/gems/jekyll-4.2.2/lib/jekyll/commands/build.rb:65:in `build'
15: from /var/lib/gems/2.7.0/gems/jekyll-4.2.2/lib/jekyll/command.rb:28:in `process_site'
14: from /var/lib/gems/2.7.0/gems/jekyll-4.2.2/lib/jekyll/site.rb:80:in `process'
13: from /var/lib/gems/2.7.0/gems/jekyll-4.2.2/lib/jekyll/site.rb:211:in `render'
12: from /var/lib/gems/2.7.0/gems/jekyll-4.2.2/lib/jekyll/site.rb:538:in `render_pages'
11: from /var/lib/gems/2.7.0/gems/jekyll-4.2.2/lib/jekyll/site.rb:538:in `each'
10: from /var/lib/gems/2.7.0/gems/jekyll-4.2.2/lib/jekyll/site.rb:539:in `block in render_pages'
9: from /var/lib/gems/2.7.0/gems/jekyll-4.2.2/lib/jekyll/site.rb:547:in `render_regenerated'
8: from /var/lib/gems/2.7.0/gems/jekyll-4.2.2/lib/jekyll/renderer.rb:63:in `run'
7: from /var/lib/gems/2.7.0/gems/jekyll-4.2.2/lib/jekyll/renderer.rb:84:in `render_document'
6: from /var/lib/gems/2.7.0/gems/jekyll-4.2.2/lib/jekyll/renderer.rb:104:in `convert'
5: from /var/lib/gems/2.7.0/gems/jekyll-4.2.2/lib/jekyll/renderer.rb:104:in `reduce'
4: from /var/lib/gems/2.7.0/gems/jekyll-4.2.2/lib/jekyll/renderer.rb:104:in `each'
3: from /var/lib/gems/2.7.0/gems/jekyll-4.2.2/lib/jekyll/renderer.rb:106:in `block in convert'
2: from /var/lib/gems/2.7.0/gems/jekyll-sass-converter-2.2.0/lib/jekyll/converters/scss.rb:186:in `convert'
1: from /var/lib/gems/2.7.0/gems/jekyll-sass-converter-2.2.0/lib/jekyll/converters/scss.rb:192:in `sass_convert'
/var/lib/gems/2.7.0/gems/jekyll-sass-converter-2.2.0/lib/jekyll/converters/scss.rb:200:in `rescue in sass_convert': Error: File to import not found or unreadable: minimal-mistakes/vendor/breakpoint/breakpoint. (Jekyll::Converters::Scss::SyntaxError)
on line 11:1 of _sass/minimal-mistakes.scss
from line 4:1 of main.scss
>> @import "minimal-mistakes/vendor/breakpoint/breakpoint";
git clone https://github.com/mmistakes/mm-github-pages-starter.git
cd mm-github-pages-starter
bundle exec jekyll serve --open-url --livereload
Could not find gem 'github-pages' in locally installed gems.
Run `bundle install` to install missing gems.
bundle install
mm-github-pages-starter$ bundle exec jekyll serve --open-url --livereload
Configuration file: /home/zxz/mm-github-pages-starter/_config.yml
Source: /home/zxz/mm-github-pages-starter
Destination: /home/zxz/mm-github-pages-starter/_site
Incremental build: disabled. Enable with --incremental
Generating...
Remote Theme: Using theme mmistakes/minimal-mistakes
Jekyll Feed: Generating feed for posts
GitHub Metadata: No GitHub API authentication could be found. Some fields may be missing or have incorrect data.
done in 23.174 seconds.
/home/zxz/gems/gems/pathutil-0.16.2/lib/pathutil.rb:502: warning: Using the last argument as keyword parameters is deprecated
Auto-regeneration: enabled for '/home/steveng/mm-github-pages-starter'
LiveReload address: http://127.0.0.1:35729
Server address: http://127.0.0.1:4000
Server running... press ctrl-c to stop.
LiveReload: Browser connected
[2022-03-29 16:38:10] ERROR `/favicon.ico' not found.
Yes I meant, not fork the main minimal-mistakes repo. There is a lot of extra configs and such in there that could be problematic if you don’t clean them up.
This is why I advise forking the starter repo instead.
This is the error you are getting:
GitHub Metadata: No GitHub API authentication could be found. Some fields may be missing or have incorrect data.
done in 23.174 seconds.
Which is related to not properly configuring your _config.yml to work with the GitHub Pages gem locally. This is noted in the README.
Configuring GitHub Metadata to work properly when developing locally and avoid No GitHub API authentication could be found. Some fields may be missing or have incorrect data. warnings.
TL/DR add repository: stevengghp/minimal-mistakes to your _config.yml file and it will work locally. This isn’t needed when GH builds your site as it autopopulates the repository key.
Which is related to not properly configuring your _config.yml to work with the GitHub Pages gem locally. This is noted in the README.
_config.yml
# Welcome to Jekyll!
#
# This config file is meant for settings that affect your whole blog, values
# which you are expected to set up once and rarely edit after that. If you find
# yourself editing this file very often, consider using Jekyll's data files
# feature for the data you need to update frequently.
#
# For technical reasons, this file is *NOT* reloaded automatically when you use
# 'bundle exec jekyll serve'. If you change this file, please restart the server process.
# Site settings
# These are used to personalize your new site. If you look in the HTML files,
# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on.
# You can create any custom variable you would like, and they will be accessible
# in the templates via {{ site.myvariable }}.
title: MM
email:
description: >- # this means to ignore newlines until "baseurl:"
Write an awesome description for your new site here. You can edit this
line in _config.yml. It will appear in your document head meta (for
Google search results) and in your feed.xml site description.
twitter_username: username
github_username: username
minimal_mistakes_skin: default
search: true
# Build settings
markdown: kramdown
remote_theme: mmistakes/minimal-mistakes
# Outputting
permalink: /:categories/:title/
paginate: 5 # amount of posts to show
paginate_path: /page:num/
timezone: # https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
include:
- _pages
# Exclude from processing.
# The following items will not be processed, by default. Create a custom list
# to override the default setting.
# exclude:
# - Gemfile
# - Gemfile.lock
# - node_modules
# - vendor/bundle/
# - vendor/cache/
# - vendor/gems/
# - vendor/ruby/
# Plugins (previously gems:)
plugins:
- jekyll-paginate
- jekyll-sitemap
- jekyll-gist
- jekyll-feed
- jemoji
- jekyll-include-cache
author:
name : "First Lastname"
avatar : "/assets/images/bio-photo.jpg"
bio : "My awesome biography constrained to a sentence or two goes here."
links:
- label: "Website"
icon: "fas fa-fw fa-link"
url: "https://"
- label: "Twitter"
icon: "fab fa-fw fa-twitter-square"
url: "https://twitter.com/"
- label: "GitHub"
icon: "fab fa-fw fa-github"
url: "https://github.com/"
- label: "Instagram"
icon: "fab fa-fw fa-instagram"
url: "https://instagram.com/"
footer:
links:
- label: "Twitter"
icon: "fab fa-fw fa-twitter-square"
url: "https://twitter.com/"
- label: "GitHub"
icon: "fab fa-fw fa-github"
url: "https://github.com/"
- label: "Instagram"
icon: "fab fa-fw fa-instagram"
url: "https://instagram.com/"
defaults:
# _posts
- scope:
path: ""
type: posts
values:
layout: single
author_profile: true
read_time: true
comments: true
share: true
related: true
# _pages
- scope:
path: "_pages"
type: pages
values:
layout: single
author_profile: true
category_archive:
type: liquid
path: /categories/
tag_archive:
type: liquid
path: /tags/