cryogen-project / cryogen

A simple static site generator written in Clojure
http://cryogenweb.org/
Eclipse Public License 1.0
1.09k stars 96 forks source link

Sass-location theme error, with fresh project, using lotus/nucleus #237

Closed BuddhiLW closed 3 years ago

BuddhiLW commented 3 years ago

Process to reproduce the error:

lein new cryogen lotus-blog
cd lotus-blog
lein build

Then, edit content/config.edn to :theme "lotus"

lein build
compiling sass
(...)
java.io.IOException: error=2, No such file or directory
java.io.IOException: Cannot run program "sass": error=2, No such file or directory

The content/config.edn is the standard,

{:site-title                   "My Awesome Blog"
 :author                       "Bob Bobbert"
 :description                  "This blog is awesome"
 :site-url                     "http://blogawesome.com/"
 :post-root                    "posts"
 :page-root                    "pages"
 :post-root-uri                "posts-output"
 :page-root-uri                "pages-output"
 :tag-root-uri                 "tags-output"
 :author-root-uri              "authors-output"
 :public-dest                  "public"
 :blog-prefix                  "/blog"
 :rss-name                     "feed.xml"
 :rss-filters                  ["cryogen"]
 :recent-posts                 3
 :post-date-format             "yyyy-MM-dd"
 :archive-group-format         "yyyy MMMM"
 :sass-src                     []
 :sass-path                    "sass"
 :theme                        "lotus"
 :resources                    ["img"]
 :keep-files                   [".git"]
 :disqus?                      false
 :disqus-shortname             ""
 :ignored-files                [#"\.#.*" #".*\.swp$"]
 :previews?                    false
 :posts-per-page               5
 :blocks-per-preview           2
 :clean-urls                   :trailing-slash
 :collapse-subdirs?            false
 :hide-future-posts?           true
 :klipse                       {}
 :description-include-elements #{:p :h1 :h2 :h3 :h4 :h5 :h6}
 :debug?                       false}

Also, nucleus work on serve and builds with no error. But, exporting it through both netifly and github pages renders without the proper css.

BuddhiLW commented 3 years ago

I just saw issue 168. I didn't have sass installed.