GithubHelp home page GithubHelp logo

Comments (4)

lacarmen avatar lacarmen commented on June 12, 2024

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.

dl1ely avatar dl1ely commented on June 12, 2024

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 sure
  • lein 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 to templates
  • or omit img from :resources key in config.edn
  • or make resource copying code more robust by ignoring non-existing directories and emitting a warning instead.

Select one, please πŸ˜„

from cryogen.

lacarmen avatar lacarmen commented on June 12, 2024

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.

dl1ely avatar dl1ely commented on June 12, 2024

Fixed by 7ad2070

from cryogen.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.