-
Notifications
You must be signed in to change notification settings - Fork 187
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
Error CSS validity #206
Comments
Please check your line #1994 at the original css file that generates this problem, it is usually somewhere inside .tmp folder, depends on your configs. I got the same problem today, the line that causes same error for me is: Wondering what your broken line looks like? Also, it seems like the main devs for this project are quite busy atm, too many opened issues just makes me consider using alternatives for better consistency.. |
Hi, |
Have the same problem. |
I have the same problem with .oldie .flexnav li:hover > ul {
display: block;
width: 100%;
overflow: visible;
} |
I have the same problem. detail is below: /path/to/node_modules/gulp-csso/node_modules/csso/lib/gonzales.cssp.node.js:399
throw new Error('Please check the validity of the CSS block starting f
Error: Please check the validity of the CSS block starting from the line #1
at throwError (/path/to/node_modules/gulp-csso/node_modules/csso/lib/gonzales.cssp.node.js:399:15)
at checkStylesheet (/path/to/node_modules/gulp-csso/node_modules/csso/lib/gonzales.cssp.node.js:1921:22)
at Object.CSSPRules.stylesheet (/path/to/node_modules/gulp-csso/node_modules/csso/lib/gonzales.cssp.node.js:365:40)
at _getAST (/path/to/node_modules/gulp-csso/node_modules/csso/lib/gonzales.cssp.node.js:409:38)
at exports.srcToCSSP (/path/to/node_modules/gulp-csso/node_modules/csso/lib/gonzales.cssp.node.js:2287:16)
at Object.exports.srcToCSSP (/path/to/node_modules/gulp-csso/node_modules/csso/lib/gonzales.cssp.node.js:2292:16)
at exports.parse (/path/to/node_modules/gulp-csso/node_modules/csso/lib/cssoapi.js:7:21)
at Object.exports.justDoIt (/path/to/node_modules/gulp-csso/node_modules/csso/lib/cssoapi.js:21:41)
at Transform.stream._transform (/path/to/node_modules/gulp-csso/index.js:39:34)
at Transform._read (_stream_transform.js:179:10) and then �I check #1 in refer to @marani 's comment below:
Here is my style below:
|
@marani Yep, parser don't support for selector list in @CristianMR Your example parsing ok. |
While old - just want to saw thanks here. I was suddenly getting a screwy error with csso and from the notes here alerted me to possible css stuff = in my case, I had an ":ev" instead of ":even" that seemed to be tripping it up |
Hi
i got this error from gulp csso, but i dont understand the console log to fix the origin of the issue 👍 thks for any help
/Users/Tsun/Sites/alpha/node_modules/gulp-csso/node_modules/csso/lib/gonzales.cssp.node.js:399
throw new Error('Please check the validity of the CSS block starting f
^
Error: Please check the validity of the CSS block starting from the line #1994
at throwError (/Users/Tsun/Sites/alpha/node_modules/gulp-csso/node_modules/csso/lib/gonzales.cssp.node.js:399:15)
at checkStylesheet (/Users/Tsun/Sites/alpha/node_modules/gulp-csso/node_modules/csso/lib/gonzales.cssp.node.js:1921:22)
at Object.CSSPRules.stylesheet (/Users/Tsun/Sites/alpha/node_modules/gulp-csso/node_modules/csso/lib/gonzales.cssp.node.js:365:40)
at _getAST (/Users/Tsun/Sites/alpha/node_modules/gulp-csso/node_modules/csso/lib/gonzales.cssp.node.js:409:38)
at exports.srcToCSSP (/Users/Tsun/Sites/alpha/node_modules/gulp-csso/node_modules/csso/lib/gonzales.cssp.node.js:2287:16)
at Object.exports.srcToCSSP (/Users/Tsun/Sites/alpha/node_modules/gulp-csso/node_modules/csso/lib/gonzales.cssp.node.js:2292:16)
at exports.parse (/Users/Tsun/Sites/alpha/node_modules/gulp-csso/node_modules/csso/lib/cssoapi.js:7:21)
at Object.exports.justDoIt (/Users/Tsun/Sites/alpha/node_modules/gulp-csso/node_modules/csso/lib/cssoapi.js:21:41)
at Transform.stream._transform (/Users/Tsun/Sites/alpha/node_modules/gulp-csso/index.js:39:34)
at Transform._read (_stream_transform.js:179:10)
The text was updated successfully, but these errors were encountered: