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.

Unknown browser query error

See original GitHub issue

Just after a fresh install:

npx create-nuxt-app my-app
cd my-app
npm run dev

I have the following error: ERROR Unknown browser query android all. Maybe you are using old Browserslist or made typo in query.

> nuxt


   โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
   โ”‚                                             โ”‚
   โ”‚   Nuxt.js v2.8.1                            โ”‚
   โ”‚   Running in development mode (universal)   โ”‚
   โ”‚                                             โ”‚
   โ”‚   Listening on: http://localhost:3000/      โ”‚
   โ”‚                                             โ”‚
   โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

โ„น Preparing project for development                                                                        09:42:59
โ„น Initial build may take a while                                                                           09:42:59
โœ” Builder initialized                                                                                      09:42:59
โœ” Nuxt files generated                                                                                     09:42:59

 ERROR  Unknown browser query android all. Maybe you are using old Browserslist or made typo in query.     09:43:00

  at unknownQuery (node_modules/browserslist/index.js:204:10)
  at node_modules/browserslist/index.js:296:11
  at Array.reduce (<anonymous>)
  at resolve (node_modules/browserslist/index.js:237:18)
  at browserslist (node_modules/browserslist/index.js:361:16)
  at supportedBrowsers.some.supportedBrowser (node_modules/postcss-preset-env/index.js:438:105)
  at Array.some (<anonymous>)
  at stagedFeatures.filter.feature (node_modules/postcss-preset-env/index.js:438:80)
  at Array.filter (<anonymous>)
  at postcss$1.plugin.opts (node_modules/postcss-preset-env/index.js:438:44)
  at creator (node_modules/postcss/lib/postcss.js:133:35)
  at config.plugins.sortPlugins.map (node_modules/@nuxt/webpack/dist/webpack.js:4128:18)
  at Array.map (<anonymous>)
  at PostcssConfig.loadPlugins (node_modules/@nuxt/webpack/dist/webpack.js:4122:10)
  at PostcssConfig.config (node_modules/@nuxt/webpack/dist/webpack.js:4158:14)
  at StyleLoader.postcss (node_modules/@nuxt/webpack/dist/webpack.js:4215:39)

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:5
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
TonSDecommented, Jun 18, 2019

I have same issue.

0reactions
clarkdocommented, Jun 24, 2019

This is an issue from caniuse-lite, itโ€™s duplicate of https://github.com/nuxt/create-nuxt-app/issues/262, letโ€™s trace in that ticket.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unknown browser query `dead` in React/Express App - Stack ...
It happens if you have another tool, which uses very old Browserslist. Call npm ls , find who use Browserslist < 4 and...
Read more >
Module build failed: BrowserslistError: Unknown browser ...
When run npm install, and then run npm start or ng serve, it will popup error "Module build failed: BrowserslistError: Unknown browser queryย ......
Read more >
Unknown browser query `dead`โ€ #React #npm | Mixster
Sovling the browserlist error in ReactJS, angular, nodejs, npm and Vue through a simple quick fix.
Read more >
Browserslist on Twitter: "If you have โ€œUnknown browser query ...
app or postcss-preset-env update to Browserslist 4.6.3. It have dirty fix for the issue. ... BrowserslistError: Unknown browser query `android allย ...
Read more >
Angular Error - BrowserslistError:... - Sanity.io community
Angular Error - BrowserslistError: Unknown Browser Query `Dead` ยท K I am trying to add sanity to a new angular app and i...
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