Invalid CSS after "...content-width: ": expected expression (e.g. 1px, bold), was ";" on line 4 #675
-
Hi, I was not sure if this is a
Conversion error: Jekyll::Converters::Scss encountered an error while converting 'assets/css/main.scss':
Invalid CSS after "...content-width: ": expected expression (e.g. 1px, bold), was ";" on line 4
/usr/local/bundle/gems/jekyll-sass-converter-1.5.2/lib/jekyll/converters/scss.rb:123:in `rescue in convert': Invalid CSS after "...content-width: ": expected expression (e.g. 1px, bold), was ";" on line 4 (Jekyll::Converters::Scss::SyntaxError)
from /usr/local/bundle/gems/jekyll-sass-converter-1.5.2/lib/jekyll/converters/scss.rb:118:in `convert'
Thanks. BELOW IS THE FULL LOG: 4s
Run actions/jekyll-build-pages@v1
with:
source: .
destination: ./_site
future: false
build_revision: fa530c9d91ebfcd5c9b2506a7049b451c0f3ddc0
verbose: true
token: ***
/usr/bin/docker run --name ghcrioactionsjekyllbuildpagesv103_40a23e --label 08450d --workdir /github/workspace --rm -e INPUT_SOURCE -e INPUT_DESTINATION -e INPUT_FUTURE -e INPUT_BUILD_REVISION -e INPUT_VERBOSE -e INPUT_TOKEN -e HOME -e GITHUB_JOB -e GITHUB_REF -e GITHUB_SHA -e GITHUB_REPOSITORY -e GITHUB_REPOSITORY_OWNER -e GITHUB_RUN_ID -e GITHUB_RUN_NUMBER -e GITHUB_RETENTION_DAYS -e GITHUB_RUN_ATTEMPT -e GITHUB_ACTOR -e GITHUB_WORKFLOW -e GITHUB_HEAD_REF -e GITHUB_BASE_REF -e GITHUB_EVENT_NAME -e GITHUB_SERVER_URL -e GITHUB_API_URL -e GITHUB_GRAPHQL_URL -e GITHUB_REF_NAME -e GITHUB_REF_PROTECTED -e GITHUB_REF_TYPE -e GITHUB_WORKSPACE -e GITHUB_ACTION -e GITHUB_EVENT_PATH -e GITHUB_ACTION_REPOSITORY -e GITHUB_ACTION_REF -e GITHUB_PATH -e GITHUB_ENV -e GITHUB_STEP_SUMMARY -e RUNNER_OS -e RUNNER_ARCH -e RUNNER_NAME -e RUNNER_TOOL_CACHE -e RUNNER_TEMP -e RUNNER_WORKSPACE -e ACTIONS_RUNTIME_URL -e ACTIONS_RUNTIME_TOKEN -e ACTIONS_CACHE_URL -e ACTIONS_ID_TOKEN_REQUEST_URL -e ACTIONS_ID_TOKEN_REQUEST_TOKEN -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/akvsak.github.io/akvsak.github.io":"/github/workspace" ghcr.io/actions/jekyll-build-pages:v1.0.3
Logging at level: debug
Configuration file: /github/workspace/./_config.yml
GitHub Pages: github-pages v226
GitHub Pages: jekyll v3.9.2
Theme: jekyll-theme-primer
Theme source: /usr/local/bundle/gems/jekyll-theme-primer-0.6.0
Requiring: jekyll-github-metadata
Conversion error: Jekyll::Converters::Scss encountered an error while converting 'assets/css/main.scss':
Invalid CSS after "...content-width: ": expected expression (e.g. 1px, bold), was ";" on line 4
/usr/local/bundle/gems/jekyll-sass-converter-1.5.2/lib/jekyll/converters/scss.rb:123:in `rescue in convert': Invalid CSS after "...content-width: ": expected expression (e.g. 1px, bold), was ";" on line 4 (Jekyll::Converters::Scss::SyntaxError)
from /usr/local/bundle/gems/jekyll-sass-converter-1.5.2/lib/jekyll/converters/scss.rb:118:in `convert'
from /usr/local/bundle/gems/jekyll-3.9.2/lib/jekyll/renderer.rb:101:in `block in convert'
from /usr/local/bundle/gems/jekyll-3.9.2/lib/jekyll/renderer.rb:99:in `each'
from /usr/local/bundle/gems/jekyll-3.9.2/lib/jekyll/renderer.rb:99:in `reduce'
from /usr/local/bundle/gems/jekyll-3.9.2/lib/jekyll/renderer.rb:99:in `convert'
from /usr/local/bundle/gems/jekyll-3.9.2/lib/jekyll/renderer.rb:83:in `render_document'
from /usr/local/bundle/gems/jekyll-3.9.2/lib/jekyll/renderer.rb:62:in `run'
from /usr/local/bundle/gems/jekyll-3.9.2/lib/jekyll/site.rb:479:in `render_regenerated'
from /usr/local/bundle/gems/jekyll-3.9.2/lib/jekyll/site.rb:472:in `block in render_pages'
from /usr/local/bundle/gems/jekyll-3.9.2/lib/jekyll/site.rb:471:in `each'
from /usr/local/bundle/gems/jekyll-3.9.2/lib/jekyll/site.rb:471:in `render_pages'
from /usr/local/bundle/gems/jekyll-3.9.2/lib/jekyll/site.rb:192:in `render'
from /usr/local/bundle/gems/jekyll-3.9.2/lib/jekyll/site.rb:71:in `process'
from /usr/local/bundle/gems/jekyll-3.9.2/lib/jekyll/command.rb:28:in `process_site'
from /usr/local/bundle/gems/jekyll-3.9.2/lib/jekyll/commands/build.rb:65:in `build'
from /usr/local/bundle/gems/jekyll-3.9.2/lib/jekyll/commands/build.rb:36:in `process'
from /usr/local/bundle/gems/github-pages-226/bin/github-pages:70:in `block (3 levels) in <top (required)>'
from /usr/local/bundle/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `block in execute'
from /usr/local/bundle/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `each'
from /usr/local/bundle/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `execute'
from /usr/local/bundle/gems/mercenary-0.3.6/lib/mercenary/program.rb:42:in `go'
from /usr/local/bundle/gems/mercenary-0.3.6/lib/mercenary.rb:19:in `program'
from /usr/local/bundle/gems/github-pages-226/bin/github-pages:6:in `<top (required)>'
from /usr/local/bundle/bin/github-pages:23:in `load'
from /usr/local/bundle/bin/github-pages:23:in `<main>'
(sass):4: Invalid CSS after "...content-width: ": expected expression (e.g. 1px, bold), was ";" (Sass::SyntaxError)
from /usr/local/bundle/gems/sass-3.7.4/lib/sass/scss/parser.rb:1308:in `expected'
from /usr/local/bundle/gems/sass-3.7.4/lib/sass/script/lexer.rb:240:in `expected!'
from /usr/local/bundle/gems/sass-3.7.4/lib/sass/script/parser.rb:855:in `assert_expr'
from /usr/local/bundle/gems/sass-3.7.4/lib/sass/script/parser.rb:68:in `parse'
from /usr/local/bundle/gems/sass-3.7.4/lib/sass/scss/parser.rb:1164:in `sass_script'
from /usr/local/bundle/gems/sass-3.7.4/lib/sass/scss/parser.rb:653:in `variable'
from /usr/local/bundle/gems/sass-3.7.4/lib/sass/scss/parser.rb:707:in `block_child'
from /usr/local/bundle/gems/sass-3.7.4/lib/sass/scss/parser.rb:700:in `block_contents'
from /usr/local/bundle/gems/sass-3.7.4/lib/sass/scss/parser.rb:137:in `stylesheet'
from /usr/local/bundle/gems/sass-3.7.4/lib/sass/scss/parser.rb:41:in `parse'
from /usr/local/bundle/gems/sass-3.7.4/lib/sass/engine.rb:414:in `_to_tree'
from /usr/local/bundle/gems/sass-3.7.4/lib/sass/engine.rb:290:in `render'
from /usr/local/bundle/gems/sass-3.7.4/lib/sass.rb:57:in `compile'
from /usr/local/bundle/gems/jekyll-sass-converter-1.5.2/lib/jekyll/converters/scss.rb:119:in `convert'
from /usr/local/bundle/gems/jekyll-3.9.2/lib/jekyll/renderer.rb:101:in `block in convert'
from /usr/local/bundle/gems/jekyll-3.9.2/lib/jekyll/renderer.rb:99:in `each'
from /usr/local/bundle/gems/jekyll-3.9.2/lib/jekyll/renderer.rb:99:in `reduce'
from /usr/local/bundle/gems/jekyll-3.9.2/lib/jekyll/renderer.rb:99:in `convert'
from /usr/local/bundle/gems/jekyll-3.9.2/lib/jekyll/renderer.rb:83:in `render_document'
from /usr/local/bundle/gems/jekyll-3.9.2/lib/jekyll/renderer.rb:62:in `run'
from /usr/local/bundle/gems/jekyll-3.9.2/lib/jekyll/site.rb:479:in `render_regenerated'
from /usr/local/bundle/gems/jekyll-3.9.2/lib/jekyll/site.rb:472:in `block in render_pages'
from /usr/local/bundle/gems/jekyll-3.9.2/lib/jekyll/site.rb:471:in `each'
from /usr/local/bundle/gems/jekyll-3.9.2/lib/jekyll/site.rb:471:in `render_pages'
from /usr/local/bundle/gems/jekyll-3.9.2/lib/jekyll/site.rb:192:in `render'
from /usr/local/bundle/gems/jekyll-3.9.2/lib/jekyll/site.rb:71:in `process'
from /usr/local/bundle/gems/jekyll-3.9.2/lib/jekyll/command.rb:28:in `process_site'
from /usr/local/bundle/gems/jekyll-3.9.2/lib/jekyll/commands/build.rb:65:in `build'
from /usr/local/bundle/gems/jekyll-3.9.2/lib/jekyll/commands/build.rb:36:in `process'
from /usr/local/bundle/gems/github-pages-226/bin/github-pages:70:in `block (3 levels) in <top (required)>'
from /usr/local/bundle/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `block in execute'
from /usr/local/bundle/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `each'
from /usr/local/bundle/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `execute'
from /usr/local/bundle/gems/mercenary-0.3.6/lib/mercenary/program.rb:42:in `go'
from /usr/local/bundle/gems/mercenary-0.3.6/lib/mercenary.rb:19:in `program'
from /usr/local/bundle/gems/github-pages-226/bin/github-pages:6:in `<top (required)>'
from /usr/local/bundle/bin/github-pages:23:in `load'
from /usr/local/bundle/bin/github-pages:23:in `<main>'
Requiring: jekyll-seo-tag
Requiring: jekyll-coffeescript
Requiring: jekyll-commonmark-ghpages
Requiring: jekyll-gist
Requiring: jekyll-github-metadata
Requiring: jekyll-paginate
Requiring: jekyll-relative-links
Requiring: jekyll-optional-front-matter
Requiring: jekyll-readme-index
Requiring: jekyll-default-layout
Requiring: jekyll-titles-from-headings
Requiring: jekyll-remote-theme
GitHub Metadata: Initializing...
Source: /github/workspace/.
Destination: /github/workspace/./_site
Incremental build: disabled. Enable with --incremental
Generating...
Theme: alshedivat/al-folio
Theme source: /tmp/jekyll-remote-theme-20220520-8-1a0tbfb
Remote Theme: Using theme alshedivat/al-folio
Remote Theme: Downloading https://codeload.github.com/alshedivat/al-folio/zip/HEAD to /tmp/jekyll-remote-theme-20220520-8-wfd9b4.zip
Remote Theme: Unzipping /tmp/jekyll-remote-theme-20220520-8-wfd9b4.zip to /tmp/jekyll-remote-theme-20220520-8-1a0tbfb
Generating: JekyllOptionalFrontMatter::Generator finished in 0.000159804 seconds.
Generating: JekyllReadmeIndex::Generator finished in 0.001782243 seconds.
Generating: Jekyll::Paginate::Pagination finished in 6.5e-06 seconds.
Generating: JekyllRelativeLinks::Generator finished in 3.39e-05 seconds.
Generating: JekyllDefaultLayout::Generator finished in 0.000199204 seconds.
Requiring: kramdown-parser-gfm
Generating: JekyllTitlesFromHeadings::Generator finished in 0.009123721 seconds.
Rendering: assets/css/main.scss
Pre-Render Hooks: assets/css/main.scss
Rendering Liquid: assets/css/main.scss
Rendering Markup: assets/css/main.scss
github-pages 226 | Error: Invalid CSS after "...content-width: ": expected expression (e.g. 1px, bold), was ";" on line 4
Remote Theme: Cleaning up /tmp/jekyll-remote-theme-20220520-8-1a0tbfb |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
We would have to check this method thoroughly to understand why the error occurs. In the meantime, try to follow the |
Beta Was this translation helpful? Give feedback.
-
Yup, I am also facing the same issue on GitHub action CI, by following the doc of using |
Beta Was this translation helpful? Give feedback.
-
correct, al-folio does not support |
Beta Was this translation helpful? Give feedback.
correct, al-folio does not support
remote_theme
yet. we'll consider supporting it in the future.