DMXzone LESS CSS Compiler Support Product Page
Under investigation
@import
Reported 11 years ago
6
have this problem
11 years ago 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 11 years ago
11 years ago Teodor Kuduschiev replied:
Hello Robert,
can you please explain what exactly the issue is, as this code seems to be working just fine?
can you please explain what exactly the issue is, as this code seems to be working just fine?
Replied 11 years ago
11 years ago 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.
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 11 years ago
11 years ago 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 11 years ago
11 years ago 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.
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 11 years ago
11 years ago Teodor Kuduschiev replied:
Can you please send a screenshot of the error message to
teodor@dmxzone.com
The @import seems to be working just fine here.
The @import seems to be working just fine here.
Replied 9 years ago
9 years ago 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 9 years ago
9 years ago 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.
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 9 years ago
9 years ago 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
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 8 years ago
8 years ago Lee Gellie replied:
I am still having this problem. Has anyone found a solution?