Comments (9)
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.
Thank you!
from less-sbt.
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.
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.
The error you see would appear if you are not using the 0.12.0-RC1 sbt launcher.
from less-sbt.
I am using 0.12.1 and scala2.10.1,and still getting this error.
from less-sbt.
solved, seems that sass-java lib have some conflict with this.
from less-sbt.
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.
Have you upgraded to sbt 0.13 yet? I'm not seeing the issue in recent releases.
from less-sbt.
Related Issues (20)
- Compiled JS artifacts not available anymore in 0.1.6 HOT 4
- Make clear what repository holds the artifact HOT 12
- Error messages are less than ideal HOT 4
- Version number of less in less-sbt less than official less version HOT 7
- Can't force less recompilation HOT 7
- try/catch is a poor design idiom. prefer either HOT 1
- factor out compiler wrapper HOT 1
- Problems using with xsbt-web-plugin…
- Unicode symbols HOT 7
- lesscss 1.3.3 support HOT 2
- Compile error when updating to Bootstrap 2.3.2 HOT 11
- Multiple root sources HOT 2
- Not working for Bootstrap 3.0 ? HOT 9
- lesst dependency not available HOT 2
- CSS output file contains just 'null' HOT 11
- Minifier doesn't work HOT 2
- Version in instruction on landing page is not deployed? HOT 2
- Regular and minified output HOT 1
- Multiple css files
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 less-sbt.