Skip to content

Running "bundle exec jekyll serve" throws "Conversion error" #9

Description

@matthiasguentert

Hi Nicolas

First I'd like to thank you for the time and work you have put into this repository, very helpful. I have forked it and try to follow the instructions found here https://nicolas-van.github.io/bootstrap-4-github-pages/

Unfortunately when trying to host/run the website locally by issuing bundle exec jekyll serve the following error occurs:

Conversion error: Jekyll::Converters::Scss encountered an error while converting 'assets/main.scss': File to import not found or unreadable: variables. Load path: C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/jekyll-theme-primer-0.5.3/_sass on line 1

I haven't changed anything so far within the configuration and bundle install completes without any issues. The jekyll version I am using is jekyll 3.8.5.

Adding the full path to e.g. _sass\_variables.scss like so @import "C:/temp/myblog/_sass/variables"; fixes the issue. It seems as if jekyll cant find the files. Using relative path doesnt work.

Also adding the following to _config.yml doesn't help.

sass:
    sass_dir: _sass

How can I solve this?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions