Giter Site home page Giter Site logo

Cannot build styles. about mondrian HOT 4 CLOSED

artursapek avatar artursapek commented on July 17, 2024
Cannot build styles.

from mondrian.

Comments (4)

artursapek avatar artursapek commented on July 17, 2024

Yeah it's a global dep. I need to not make it global so package.json can install it.

In any case, npm install -g less.

from mondrian.

Fishrock123 avatar Fishrock123 commented on July 17, 2024

Seems like it can be installed per-project? https://github.com/less/less.js#getting-started
That might not work with cake's way of executing commands, however.

Is it possible to inform the user if the command does not exist during the build?

Sorry, I'm not terribly familiar with either less or cake. :/

from mondrian.

artursapek avatar artursapek commented on July 17, 2024

Yes, it's possible. I use the command-line lessc utility to compile it, so less.js wouldn't help much. I should just change the cake styles command to use a locally-install npm package and add it to package.json.

from mondrian.

mkly avatar mkly commented on July 17, 2024

I'm new to coffeescript so feel free to tell me if its ugly. Also, no worries if you don't feel like doing it this way. Just saw the issue and thought this project was pretty cool. Wanted to say thanks for sharing it.

from mondrian.

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.