-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ERR_INVALID_ARG_TYPE when running less task #105
Comments
might be related to newer version of node |
I've also got the similar sbt-less/src/main/resources/lessc.js Lines 87 to 90 in 60a7e53
Checking the
In L69, about the |
Fixed by
|
Hi!
I ran into an issue with
sbt-less
resulting in the following build errorThe build error popped up yesterday all of a sudden (most likely due to a refresh of a node dependency).
After creating a standalone project I noticed that that issue seems to be related to files that are starting with the definition of a
less
variable.I could not track down the cause of the problem but found a workaround by adding some additional lines at the top of the file.
E.g.
This file causes a build error
By enabling the multiline comment at the start the
less
task runs fine again.I've created a sample project to demonstrate the issue here: https://github.com/landlockedsurfer/sbt-less-test
Posting this workaround here in case someone else stumbles across this issue since I could not find anything in the internets.
The text was updated successfully, but these errors were encountered: