-
-
Notifications
You must be signed in to change notification settings - Fork 54
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
Upgrade to less version 2 #77
Comments
I just tried this actually myself. The reason is that less now uses the Instead of using the parser or renderer it seems we need to somehow directly call an API to load LESS files dynamically. Happy to update if anyone can work out what this is! |
I also hit this problem... I had followed the instructions found here on the README file, which indicate to run |
Why does nothing work? I'm having the same issue. I don't want to have to install any node modules at all if I can help it. Why can't I just use the less.js file to compile? Why is the documentation on optimizing with r.js so incomplete? |
|
I need less > 2.2.0 for svg-gradient support. Would love for someone to update this project to properly support the newest version. |
In https://github.com/gamtiq/require-less I updated less up to 2.5.x. |
This seems to be critical for working in nodejs v6. Less 1.x depends on some old version of graceful-fs that is totally broken in node 6, and causes my r.js build to fail. @guybedford Do you still maintain this? Do you plan to upgrade to less v2? @gamtiq I tried your fork and got different errors... Have you tried yours with r.js builder on node 6? |
@murrayju yes this project is no longer maintained. If anyone would like to work on the update let me know. |
FYI: I tried @GerHobbelt fork and although it worked in the browser, it generated errors when used with r.js (build under node - 0.12 I think) |
@murrayju I did not try my fork with r.js nor with node 6. |
|
When upgrading less to the latest version 2, I get this error when running r.js:
This seems to be related to this issue: less/less.js#2278.
What are the plans for updating require-less to support less version 2?
The text was updated successfully, but these errors were encountered: