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 message #381

Closed
tjbenton opened this issue May 20, 2015 · 11 comments
Closed

Error message #381

tjbenton opened this issue May 20, 2015 · 11 comments

Comments

@tjbenton
Copy link

I keep getting this error message whenever I try to run csscomb.

TypeError: Cannot read property 'is' of undefined
    at /Users/tylerbenton/ui-development/isotonix-prototype/node_modules/gulp-csscomb/node_modules/csscomb/lib/options/space-before-combinator.js:27:46
    at Object.Node.forEach (/Users/tylerbenton/ui-development/isotonix-prototype/node_modules/gulp-csscomb/node_modules/csscomb/node_modules/gonzales-pe/lib/node.js:63:17)
    at /Users/tylerbenton/ui-development/isotonix-prototype/node_modules/gulp-csscomb/node_modules/csscomb/lib/options/space-before-combinator.js:26:28
    at Object.Node.forEach (/Users/tylerbenton/ui-development/isotonix-prototype/node_modules/gulp-csscomb/node_modules/csscomb/node_modules/gonzales-pe/lib/node.js:63:17)
    at module.exports.process (/Users/tylerbenton/ui-development/isotonix-prototype/node_modules/gulp-csscomb/node_modules/csscomb/lib/options/space-before-combinator.js:25:14)
    at Object.Node.map (/Users/tylerbenton/ui-development/isotonix-prototype/node_modules/gulp-csscomb/node_modules/csscomb/node_modules/gonzales-pe/lib/node.js:111:9)
    at /Users/tylerbenton/ui-development/isotonix-prototype/node_modules/gulp-csscomb/node_modules/csscomb/node_modules/gonzales-pe/lib/node.js:117:22
    at Array.forEach (native)
    at Object.Node.map (/Users/tylerbenton/ui-development/isotonix-prototype/node_modules/gulp-csscomb/node_modules/csscomb/node_modules/gonzales-pe/lib/node.js:115:22)
    at /Users/tylerbenton/ui-development/isotonix-prototype/node_modules/gulp-csscomb/node_modules/csscomb/node_modules/gonzales-pe/lib/node.js:117:22
    at Array.forEach (native)
    at Object.Node.map (/Users/tylerbenton/ui-development/isotonix-prototype/node_modules/gulp-csscomb/node_modules/csscomb/node_modules/gonzales-pe/lib/node.js:115:22)
    at /Users/tylerbenton/ui-development/isotonix-prototype/node_modules/gulp-csscomb/node_modules/csscomb/node_modules/csscomb-core/lib/core.js:189:18
    at Array.forEach (native)
    at processTree (/Users/tylerbenton/ui-development/isotonix-prototype/node_modules/gulp-csscomb/node_modules/csscomb/node_modules/csscomb-core/lib/core.js:188:19)
    at processString (/Users/tylerbenton/ui-development/isotonix-prototype/node_modules/gulp-csscomb/node_modules/csscomb/node_modules/csscomb-core/lib/core.js:395:16)
@tonyganch
Copy link
Member

Can you please share the code that fails so I could write a test?

@tjbenton
Copy link
Author

Are you wanting the gulp task or the css file?

@tonyganch
Copy link
Member

@tjbenton, css

@tonyganch
Copy link
Member

@tjbenton, maybe gist would be a better idea :)

@tjbenton
Copy link
Author

@tonyganch Yeah, you're probably right lol. Completely forgot about that.. I'll create one

@tjbenton
Copy link
Author

@tonyganch
Copy link
Member

@tjbenton, can you please try csscomb@3.1.3 and tell me whether the bug is fixed there?

@tjbenton
Copy link
Author

It looks like it solved the problem.

@tjbenton
Copy link
Author

Thank you for your quick fix!

@tonyganch
Copy link
Member

Great!

@tonyganch
Copy link
Member

@tjbenton, hi, I would like to let you know that this fix will be reverted in next version of csscomb, since having combinator before selector is not valid for css any more.

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