DMXzone LESS CSS Compiler Support Product Page

Under investigation

@import

Reported 23 Dec 2013 15:44:33
6
have this problem
23 Dec 2013 15:44:33 Robert Grimes posted:
@import "gloss1.less" screen and (min-width: 1024px); does not seem to work. It appears that the compiler is searching 'C:/Program Files (x86)/Adobe/Adobe Dreamweaver CS6/Configuration/shared/DMXzone/Less Compiler/gloss1.less' rather than the local directory

Replies

Replied 06 Jan 2014 12:13:03
06 Jan 2014 12:13:03 Teodor Kuduschiev replied:
Hello Robert,
can you please explain what exactly the issue is, as this code seems to be working just fine?
Replied 06 Jan 2014 18:46:21
06 Jan 2014 18:46:21 Robert Grimes replied:
HI Teodor
The problem is that the less file contains the line:
@import "gloss3.less" screen and (max-width: 935px);
and when you save the file you get the error:
Error found in your LESS file!
Error, Error on line 4;
'file:///C|/Program Files (x86)/Adobe/Adobe Dreamweaver CS6/Configuration/ shared/DMXzone/Less Compiler/gloss3.less' wasn't found (404)
The problem is the file is in the same directory as the main LESS file.
It only works if I create the required directory and copy the LESS file there.
Replied 06 Jan 2014 19:21:44
06 Jan 2014 19:21:44 Teodor Kuduschiev replied:
The problem seems to be you have not defined a website in your dreamweaver, but just opening the less file from any folder..
Replied 07 Jan 2014 12:23:04
07 Jan 2014 12:23:04 Robert Grimes replied:
Teodor
No that is not the case.
It has a site and also a local server set up for testing.
FYI. The LESS compiler works fine when not importing.
Replied 07 Jan 2014 14:40:28
07 Jan 2014 14:40:28 Teodor Kuduschiev replied:
Can you please send a screenshot of the error message to
The @import seems to be working just fine here.
Replied 05 Aug 2015 18:18:29
05 Aug 2015 18:18:29 User  replied:
I'm having the same issue basically. I have style.less and bootstrap.less in the same folder. My style.less document starts with @import 'bootstrap.less'; and when I save, I get the same error.
Replied 22 Oct 2015 16:48:46
22 Oct 2015 16:48:46 User  replied:
Hello,



I have problem with less compiler for dreamweaver cs6, the same problem with this user Robert Grimes in the forum (2013) :

@import "gloss1.less" screen and (min-width: 1024px); does not seem to work. It appears that the compiler is searching 'C:/Program Files (x86)/Adobe/Adobe Dreamweaver CS6/Configuration/shared/DMXzone/Less Compiler/gloss1.less' rather than the local directory


But nobody has the solution. Can you help me please.


Best regard.
Replied 29 Apr 2016 15:45:08
29 Apr 2016 15:45:08 Dennis Pal replied:
I'm having the same issue with @import statements. We have multiple less files that we want to compile into a single minified css file. We created a new less file with a series of @import statements to aggregate all the required less files.

Any import statement generates the error: "Error found in your LESS file! Error, Error on line 335: unrecognised input"

This error still occurs if i just import one short less file with only 67 lines.

Can you help?
Best Regards
Replied 05 Apr 2017 18:05:52
05 Apr 2017 18:05:52 Lee Gellie replied:
I am still having this problem. Has anyone found a solution?

Reply to this topic