Skip to content
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: Please check the validity of the CSS block starting from the line #223 #331

Closed
darekarrb opened this issue Apr 4, 2017 · 2 comments

Comments

@darekarrb
Copy link

darekarrb commented Apr 4, 2017

Hi

I got this error from gulp-csso, but i don't understand the console log to fix the origin of the issue.
also try link - #206

Thanks in advance

C:\Proj\MyAppUI\node_modules\gulp-csso\node_modules\csso\lib\gonzales.cssp.node.js:404
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 # 223
at throwError (C:\Proj\MyAppUI\node_modules\gulp-csso\node_modules\csso\lib\gonzales.cssp.node.js:404:15)
at checkStylesheet (C:\Proj\MyAppUI\node_modules\gulp-csso\node_modules\csso\lib\gonzales.cssp.node.js:1926:22)
at Object.CSSPRules.stylesheet (C:\Proj\MyAppUI\node_modules\gulp-csso\node_modules\csso\lib\gonzales.cssp.node.js:370:40)
at _getAST (C:\Proj\MyAppUI\node_modules\gulp-csso\node_modules\csso\lib\gonzales.cssp.node.js:414:38)
at exports.srcToCSSP (C:\Proj\MyAppUI\node_modules\gulp-csso\node_modules\csso\lib\gonzales.cssp.node.js:2292:16)
at Object.exports.srcToCSSP (C:\Proj\MyAppUI\node_modules\gulp-csso\node_modules\csso\lib\gonzales.cssp.node.js:2297:16)
at exports.parse (C:\Proj\MyAppUI\node_modules\gulp-csso\node_modules\csso\lib\cssoapi.js:7:21)
at Object.exports.justDoIt (C:\Proj\MyAppUI\node_modules\gulp-csso\node_modules\csso\lib\cssoapi.js:21:41)
at Transform.stream._transform (C:\Proj\MyAppUI\node_modules\gulp-csso\index.js:39:34)
at Transform._read (_stream_transform.js:179:10)

@lahmatiy
Copy link
Member

lahmatiy commented Apr 4, 2017

You're using too old version of csso/gulp-csso. csso has a verbose error output starting with 1.6.0. The latest version is 3.0.1. Updating to latest version should help to solve the issue.

@darekarrb
Copy link
Author

Hi @lahmatiy
Thanks for the quick help. there is an issue in one of the application css file which causing the issue. that has been rectified and resolved.
Thanks Again,

  • D Rajendra

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants