杰基尔服务不起作用 - 找不到_fluidbox.scss?

时间:2016-12-18 02:29:56

标签: ruby-on-rails ruby ruby-on-rails-4 jekyll bower

Configuration file: C:/Users/Simon/Documents/other/Jekyll-project/_config.yml
Configuration file: C:/Users/Simon/Documents/other/Jekyll-project/_config.yml
            Source: C:/Users/Simon/Documents/other/Jekyll-project
       Destination: C:/Users/Simon/Documents/other/Jekyll-project/_site
 Incremental build: disabled. Enable with --incremental
      Generating...
Error in _assets/stylesheets/light.scss:50 File to import not found or unreadab
e: ../bower/fluidbox/src/css/_fluidbox.scss.
Load paths:
  C:/Users/Simon/Documents/other/Jekyll-project/_assets/css
  C:/Users/Simon/Documents/other/Jekyll-project/_assets/stylesheets
  C:/Users/Simon/Documents/other/Jekyll-project/_assets/images
  C:/Users/Simon/Documents/other/Jekyll-project/_assets/img
  C:/Users/Simon/Documents/other/Jekyll-project/_assets/fonts
  C:/Users/Simon/Documents/other/Jekyll-project/_assets/javascripts
  C:/Users/Simon/Documents/other/Jekyll-project/_assets/js
  C:/Users/Simon/Documents/other/Jekyll-project/_assets/bower
  C:/Users/Simon/Documents/other/Jekyll-project/_vendor
  Liquid Exception: File to import not found or unreadable: ../bower/fluidbox/s
c/css/_fluidbox.scss. Load paths: C:/Users/Simon/Documents/other/Jekyll-project
_assets/css C:/Users/Simon/Documents/other/Jekyll-project/_assets/stylesheets C
/Users/Simon/Documents/other/Jekyll-project/_assets/images C:/Users/Simon/Docum
nts/other/Jekyll-project/_assets/img C:/Users/Simon/Documents/other/Jekyll-proj
ct/_assets/fonts C:/Users/Simon/Documents/other/Jekyll-project/_assets/javascri
ts C:/Users/Simon/Documents/other/Jekyll-project/_assets/js C:/Users/Simon/Docu
ents/other/Jekyll-project/_assets/bower C:/Users/Simon/Documents/other/Jekyll-p
oject/_vendor in /_layouts/post.html
jekyll 3.3.1 | Error:  File to import not found or unreadable: ../bower/fluidbo
/src/css/_fluidbox.scss.
Load paths:
  C:/Users/Simon/Documents/other/Jekyll-project/_assets/css
  C:/Users/Simon/Documents/other/Jekyll-project/_assets/stylesheets
  C:/Users/Simon/Documents/other/Jekyll-project/_assets/images
  C:/Users/Simon/Documents/other/Jekyll-project/_assets/img
  C:/Users/Simon/Documents/other/Jekyll-project/_assets/fonts
  C:/Users/Simon/Documents/other/Jekyll-project/_assets/javascripts
  C:/Users/Simon/Documents/other/Jekyll-project/_assets/js
  C:/Users/Simon/Documents/other/Jekyll-project/_assets/bower
  C:/Users/Simon/Documents/other/Jekyll-project/_vendor

我不知道这意味着什么。我所做的只是在这里下载一个jekyll主题:http://chalk.nielsenramon.com

更改_config.yml中的一些内容(只是twitter / github和profile用户名)并在我的cmd中运行jekyll serve命令。这是显示的错误消息。我没有做过jekyll很长时间,所以我道歉

2 个答案:

答案 0 :(得分:0)

From chalk documentation,您必须在bin/setup之前运行bundle exec jekyll serve

答案 1 :(得分:0)

我遇到了上面列出的相同问题。我意识到你不能将它附加到现有的Jekyll构建中,而是需要从头开始一个新的Jekyll项目。这是由于更改箱/设置对环境的影响。如果你开始一个新项目,你应该没有问题。