如何解决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 举报,一经查实,本站将立刻删除。