question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"supports" Query does not work

See original GitHub issue

According to the documentation it seems that this query should work, but it does not. Thoughts?

# npx browserslist --version
browserslist 4.13.0
# npx browserslist 'supports es6-modules'
browserslist: Unknown browser query `es6-modules`. Maybe you are using old Browserslist or made typo in query.

supports es6-module: browsers with support for specific features. es6-module here is the feat parameter at the URL of the Can I Use page. A list of all available features can be found at caniuse-lite/data/features.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:14 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
mreinsteincommented, Sep 16, 2020

@ai there is a typo in your command. It should be:

npx browserslist@latest 'supports es6-module'

(module is singular)

1reaction
aicommented, Jul 9, 2020

Try to call npx browserslist@latest "supports es6-modules" in your project dir.

I am afraid that there is something broken in your node_modules. Maybe you need to call npm update or yarn upgrade.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Solved: CSS @supports "not" Not Working With "and" or "or"
Get help diagnosing why the CSS @supports not operator might not be working.
Read more >
supports - CSS: Cascading Style Sheets - MDN Web Docs
The @supports CSS at-rule lets you specify CSS declarations that depend on a browser's support for CSS features. Using this at-rule is commonly ......
Read more >
Access error: "Query is corrupt" - Microsoft Support
When attempting to run an Update query, it may not run and displays the error: "Query 'query name' is corrupt". Error indicating query...
Read more >
Why my query is not working? - Stack Overflow
mysql_query() doesn't support multiple queries in a single call (which you are trying to inject): SELECT * FROM users WHERE id=1; ...
Read more >
How @supports Works | CSS-Tricks
There is “not” logic in @supports blocks, but that doesn't mean it should always be used. Notice the not operator in the first...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found