Closed tonister closed 6 years ago
even using lessc for compiling LESS, it gives error. Something wrong with lessc ?
tonister:~/workspace (master) $ lessc src/less/styles.less
SyntaxError: Value requires an array argument in /home/ubuntu/workspace/src/less/styles.less on line null, column 0:
1 @color-primary: #333;
oh well... after all... my LESS file was broken... Tried implementing some CSS tricks for explicitly targeting iPhone & Safari combination... seems they don't work with LESS or at all... Here are the snippets
/* Safari 6.1-10.0 (not 10.1, which is the latest version of Safari at this time) */
@media screen and (min-color-index:0) and(-webkit-min-device-pixel-ratio:0) {
@media {
.product {
display: block;
height: 100%;
.product-logo {
display: block;
height: 3em;
}
.content {
display: block;
height: calc(~"100% - 3em"); // height: 100%;
.header {
display: block;
height: auto;
}
.center {
display: block;
height: auto;
}
}
}
}
}
/* Safari 6.1-7.0 */
@media screen and (-webkit-min-device-pixel-ratio:0) and (min-color-index:0) {
.product {
(;
display: block;
height: 100%;
.product-logo {
display: block;
height: 3em;
}
.content {
display: block;
height: calc(~"100% - 3em"); // height: 100%;
.header {
display: block;
height: auto;
}
.center {
display: block;
height: auto;
}
}
color:#0000FF;
background-color:#CCCCCC;
);
}
}
Sorry, was at a conference, glad you figured it out.
I have noticed that mixed indentations completely breaks lessc, and is hard to determine.
Hey, so the issue is that since today morning, for whatever the reason, gulp-less started giving me this error on Cloud9:
This is the gulp task that I use:
I've tried removing any other dependency than gulp-less from this task and it still gives me the error. I've also tried reinstalling all the npm tools, but still the error occurs.
How to move forward ?