Comments (4)
Did you run lein install
in the root of the project after implementing your feature? Stashing your changes and running lein new cryogen test-blog
will still create a cryogen project with your features since you installed it locally.
from cryogen.
No, i did not. I never did lein install
manually, also not with my new feature. Under what circumstances lein install
is called implicitly? I fear i have to dive deeper into the leiningen documentation.
What i did now:
- Clone
lacarmen/cryogen
repo into a fresh directiory - cd there
lein install
just to be surelein new cryogen testΜ-blog
cd test-blog
lein run
Compilation stops with error resource resources/templates/img not found
.
Adding an empty img
directory fixes the error.
We have to either:
- Add an (empty)
img
directory totemplates
- or omit
img
from:resources
key inconfig.edn
- or make resource copying code more robust by ignoring non-existing directories and emitting a warning instead.
Select one, please
from cryogen.
Ah right, I had img
in my dev repo and I just copy files from there to here when I push out a new version so I forgot about that. The compiler didn't complain about missing resources before but it's been updated to do that now.
I removed img
from the resources list so if you do a git pull
it should be okay.
from cryogen.
Fixed by 7ad2070
from cryogen.
Related Issues (20)
- `lein ring server` fails with java 11 HOT 1
- Broken on Linux with Leiningen 2.9.4 on Java 11.0.9, Clojure 1.10.1 HOT 2
- Serve headless with containerized development environment HOT 4
- Add support for author avatar and bio for multiple authors HOT 1
- How to change the port for `lein serve` HOT 4
- [feature] pagination for posts summary HOT 1
- [feature] unique files names HOT 1
- `clojure -M:build` exite code HOT 1
- Sass-location theme error, with fresh project, using lotus/nucleus HOT 1
- deploy in nginx, but" hljs is not defined" HOT 1
- Doc: "full build" is only mentioned in the end. HOT 3
- MathJax integration HOT 2
- RSS feed: only publishes article's "summary" HOT 2
- deps-new error when creating a new site HOT 2
- Auto-refresh feature doesn't work with Nucleus template. HOT 1
- How to upgrade old blog to newest version of Cryogen HOT 1
- How to set one post to the home page HOT 1
- Router serving static-file only works locally HOT 6
- Lotus Theme error, "resource content/themes/lotus/img not found" HOT 2
- The `/blog/blog/` problem HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cryogen.