SyntaxError: Unmatched selector
See original GitHub issueI’m getting the following error while selecting an element:
SyntaxError: Unmatched selector: .et_social_all_button i.et_social_icon.et_social_icon_all_button
at parse (/Users/gijo/Desktop/workspace/flying-press-optimizer/node_modules/css-what/index.js:85:9)
at compileUnsafe (/Users/gijo/Desktop/workspace/flying-press-optimizer/node_modules/css-select/lib/compile.js:31:14)
at select (/Users/gijo/Desktop/workspace/flying-press-optimizer/node_modules/css-select/index.js:18:49)
at CSSselect (/Users/gijo/Desktop/workspace/flying-press-optimizer/node_modules/css-select/index.js:41:9)
at initialize.exports.find (/Users/gijo/Desktop/workspace/flying-press-optimizer/node_modules/cheerio/lib/api/traversing.js:40:21)
at initialize.module.exports (/Users/gijo/Desktop/workspace/flying-press-optimizer/node_modules/cheerio/lib/cheerio.js:88:18)
at new initialize (/Users/gijo/Desktop/workspace/flying-press-optimizer/node_modules/cheerio/lib/static.js:34:20)
at initialize (/Users/gijo/Desktop/workspace/flying-press-optimizer/node_modules/cheerio/lib/static.js:31:14)
at /Users/gijo/Desktop/workspace/flying-press-optimizer/src/optimizer/css/get-used-css.js:65:18
at Array.filter (<anonymous>)
The selector syntax .et_social_all_button i.et_social_icon.et_social_icon_all_button
seems to be valid. But what could be the reason for this error?
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Cheerio unmatched selector error while selecting plain text
map see the 'TEXT WITHOUT TAG', it throws an error like this: Unmatched selector: ... Which is expected because it hasn't any selectors....
Read more >SyntaxError: unmatched ')' Python Coding - YouTube
Welcome to my channel. Please Subscribe, like and share.It is greatly appreciated.#legendaryprogrammerAre you struggling with coding such as ...
Read more >Selectors - ESLint - Pluggable JavaScript Linter
A pluggable and configurable linter tool for identifying and reporting on patterns in JavaScript. Maintain your code quality with ease.
Read more >Cheerio unmatched selector error while selecting plain text ...
[Solved]-Cheerio unmatched selector error while selecting plain text-node.js. Search. score:0. Your element has class foo and selector not:
Read more >JSOC/base/export/webapps/js/jquery-2.1.0.js - view - 1.1
0 : cached.slice( 0 ); } soFar = selector; groups = []; preFilters = Expr.preFilter; while ( soFar ) { // Comma and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
There is a new RC that includes all changes.
@fb55 anyway I can use
1.0.0
in production? Maybe something likenpm i cheerio@next
is available?