Giter Site home page Giter Site logo

404 Issue about less.js-windows HOT 5 CLOSED

duncansmart avatar duncansmart commented on June 27, 2024
404 Issue

from less.js-windows.

Comments (5)

duncansmart avatar duncansmart commented on June 27, 2024

It can't find test-import.less - is that in the same directory as test.less?

from less.js-windows.

kieransenior avatar kieransenior commented on June 27, 2024

What does test-import.less have to do with it? That's my confusion.

Simply put, I have a file, "test.less" which I want to compile out to "rar.css". In this instance, "test.less" exists in the same directory as "lessc.cmd". I'm not sure where "test-import.less" comes into this as I've not indicated it anywhere myself.

from less.js-windows.

duncansmart avatar duncansmart commented on June 27, 2024

The test.less that it's using has an @import(test-import.less) in it. It looks like it's picking up the test.less that I supply in the /test directory.

from less.js-windows.

kieransenior avatar kieransenior commented on June 27, 2024

Looks to me like it relies on test-import.less for some reason. It doesn't matter what I call the filename, if I run something from the root directory it will always throw that above error up.

from less.js-windows.

duncansmart avatar duncansmart commented on June 27, 2024

OK, I've just done this. I have a file called foo.less:

@mycolor: red;
.foo {
    color: @mycolor;
}

In the foo.less directory I run:

lessc foo.less

and it outputs:

.foo {
  color: red;
}

So, sorry - I can't reproduce your issue.

from less.js-windows.

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.