GithubHelp home page GithubHelp logo

Comments (9)

softprops avatar softprops commented on July 18, 2024

Hrm interesting. Something this simple shouldn't be an issue. The scripted tests are more complicated than this an are passing. I'll look into this weekend. Hopefully it's not a windows specific issue. This are difficult for me to debug.

from less-sbt.

teekirol avatar teekirol commented on July 18, 2024

Thank you!

from less-sbt.

teekirol avatar teekirol commented on July 18, 2024

I tried this on Ubuntu and am getting the same error

compile:less: Error occured while compiling /.../src/main/less/main.less:
[error] Method "doctest" not found in "org.mozilla.javascript.tools.shell.Global". (compiler.scala#51)

from less-sbt.

teekirol avatar teekirol commented on July 18, 2024

I'm not sure if this is related but I cloned this project to see if I could compile it and I had to change line 22 of project/plugins.sbt from addSbtPlugin("me.lessis" % "ls-sbt" % "0.1.2") to addSbtPlugin("me.lessis" % "ls-sbt" % "0.1.1")

otherwise I would get this error

[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  ::          UNRESOLVED DEPENDENCIES         ::
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  :: me.lessis#ls-sbt;0.1.2: not found
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn] 
[warn]  Note: Some unresolved dependencies have extra attributes.  Check that these dependencies exist with the requested attributes.
[warn]      me.lessis:ls-sbt:0.1.2 (sbtVersion=0.11.2, scalaVersion=2.9.1)
[warn] 
[error] {file:/.../}default-0c354d/*:update: sbt.ResolveException: unresolved dependency: me.lessis#ls-sbt;0.1.2: not found

I also had to comment out line 32 in build.sbt

publishTo := Some(Classpaths.sbtPluginReleases)

or I would get this error:

/.../less-sbt/build.sbt:32: error: value sbtPluginReleases is not a member of object sbt.Classpaths
publishTo := Some(Classpaths.sbtPluginReleases) 
                             ^
[error] Type error in expression

from less-sbt.

softprops avatar softprops commented on July 18, 2024

The error you see would appear if you are not using the 0.12.0-RC1 sbt launcher.

from less-sbt.

yunyang avatar yunyang commented on July 18, 2024

I am using 0.12.1 and scala2.10.1,and still getting this error.

from less-sbt.

yunyang avatar yunyang commented on July 18, 2024

solved, seems that sass-java lib have some conflict with this.

from less-sbt.

softprops avatar softprops commented on July 18, 2024

Is there any problem with the less-sbt plugin in particular if you isolate it as the sole plugin? Your example is about as simple as you can get with a less example. This and may other examples are covered in the plugin's tests. Let me know if I can close this issue if not.

from less-sbt.

softprops avatar softprops commented on July 18, 2024

Have you upgraded to sbt 0.13 yet? I'm not seeing the issue in recent releases.

from less-sbt.

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.