3

我已按照Windows 的安装说明使用“rouge”语法高亮显示。

我用“jekyll new”创建了新站点并更改为该文件夹。但是,当我尝试运行“bundle exec jekyll serve”时,我得到了以下错误,我已经用谷歌搜索了但没有结果。

    Generating...
     Jekyll Feed: Generating feed for posts
     Conversion error: Jekyll::Converters::Scss encountered an error while converting 'assets/main.scss':
     No such file or directory @ rb_sysopen - ./.sass-cache/361b8f43efc4363cbd9a8a5cc41b098a7f33ed80/_syntax-highlighting.scssc20190809-21944-io0jgo

尝试在 _config.yml 中添加/删除以下设置,更改它们的大小写等...

highlighter: rouge
encoding: utf-8
4

1 回答 1

0

我做了一些测试,但在 Windows 10 上看不到这个问题。

按照Minima Theme Github 页面上显示的自述文件来运行它。如果问题仍然存在,我建议在 Github 上的 Minima 主题存储库的问题页面中提出问题。

于 2019-08-27T21:14:50.083 回答