-
-
Notifications
You must be signed in to change notification settings - Fork 336
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
[build] LESS 4 is not supported by gulp-less->accord dependency #1893
Comments
not work. Print error (this install fomantic-ui@nightly) |
uhm, yes, maybe because the package.json still wants 3.7... you may try to adjust the line in package.json
by
|
I added a PR to support existing less 4.1.1 by #1894 |
however gulp-less still wants less 3.7 so unless gulp-less gets an update you may need to adjust the package.json manually or stick to less 3.x |
ok, my PR does not help, reason is the latest version of gulp-less 4.0.1 does not support less 4, so we are stuck at less 3.x until then. |
There already exists an issue request to support less 4 in gulp-less by gulp-community/gulp-less#312 and jescalan/accord#361 |
Can I use the less version (fomantic-ui-less) to build CSS and JS, just the components I need? If so, how can this be done? |
Did I understand correctly that I need to install the fomantic-ui beta with the "ignore_scripts" attribute, change the package.json inside the fomantic-ui folder, replace the value 3.7.0 with 4.1.1. |
As this will still use gulp-less (i believe this will still trigger the error
The LESS Repo is basically meant to be used inside other LESS related projects (where you would only include the semantic.less file) If you really only need some CSS/JS files with the default theme, then i suggest to fetch them precompiled either from the dist folder of this repo or the precompiled CSS Repo. This way you dont need to hassle with building/less at all Also available via CDN |
If I install Less version 3.7.0, can I bundle a CSS and JS framework with only the components I need into two files? |
LESS 4 will work once the following PR is merged into gulp-less because the accord repo which gulp-less uses is dead |
Bug Report
Error less in build to laravel 8 (phpstorm ide)
Steps to reproduce
Expected result
setup gulp
Actual result
Error: less version 4.1.1 is not currently supported
Version
last
The error is not clear why he swears at less which is in the root of the project, if the fomantic-ui folder has its own npm environment. There is less 3.7.0 in the modules inside the fomantic-ui folder.
And in the root of the project in node_modules less 4.1.1
How to be? How to build fomantic and why is it throwing an error?
The text was updated successfully, but these errors were encountered: