Jekyll建立不编译资产

问题描述

我试图在将其移至Web服务器之前运行构建项目。但是,当我运行jekyll build并尝试打开index.html时,该页面上的所有资产都有错误

获取file:///css/pixyll.css?202008122310 net :: ERR_FILE_NOT_FOUND

代码一个博客网站,来自this repo

╰─$ jekyll build                                                                                                      130 ↵
Warning: the running version of Bundler (2.1.2) is older than the version that created the lockfile (2.1.4). We suggest you to upgrade to the version that created the lockfile by running `gem install bundler:2.1.4`.
Configuration file: /home/k/repo/pixyll/_config.yml
            Source: /home/k/repo/pixyll
       Destination: /home/k/repo/pixyll/_site
 Incremental build: disabled. Enable with --incremental
      Generating... 
                    done in 0.491 seconds.
 Auto-regeneration: disabled. Use --watch to enable.

也尝试解决我尝试过的警告消息

  • gem install bundler:2.1.4
  • bundle clean --force
  • rm Gemfile.lock && bundle update

似乎都无法修复。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)