BrowserslistError: Unknown browser query `dead`
See original GitHub issue/xxx/node_modules/postcss-cssnext/node_modules/browserslist/index.js:164
throw new BrowserslistError('Unknown browser query `' + selection + '`')
^
BrowserslistError: Unknown browser query `dead`
at /xxx/node_modules/postcss-cssnext/node_modules/browserslist/index.js:164:11
at Array.reduce (<anonymous>)
at resolve (/xxx/node_modules/postcss-cssnext/node_modules/browserslist/index.js:132:18)
at browserslist (/xxx/node_modules/postcss-cssnext/node_modules/browserslist/index.js:224:16)
at cleanBrowsersList (/xxx/node_modules/postcss-cssnext/node_modules/caniuse-api/dist/utils.js:56:59)
at setBrowserScope (/xxx/node_modules/postcss-cssnext/node_modules/caniuse-api/dist/index.js:26:43)
at Object.<anonymous> (/xxx/node_modules/postcss-cssnext/node_modules/caniuse-api/dist/index.js:88:1)
at Module._compile (internal/modules/cjs/loader.js:688:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:699:10)
at Module.load (internal/modules/cjs/loader.js:598:32)
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
env
"chalk": "2.4.1",
"css-loader": "1.0.0",
"cssnano": "^4.1.7",
"dotenv": "6.0.0",
"dotenv-expand": "4.2.0",
"postcss-aspect-ratio-mini": "0.0.2",
"postcss-cssnext": "^3.1.0",
"postcss-flexbugs-fixes": "4.1.0",
"postcss-loader": "3.0.0",
"postcss-preset-env": "6.0.6",
"postcss-px-to-viewport": "0.0.3",
"postcss-safe-parser": "4.0.1",
"postcss-viewport-units": "^0.1.6",
"postcss-write-svg": "^3.0.1",
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Unknown browser query `dead` in React/Express App - Stack ...
I just got this when I tried to do a production build of my app. Looks like it is an issue with the...
Read more >Module build failed: BrowserslistError: Unknown browser ...
It happpens because of old cssnano (it uses old Browserslist without dead query). We are triting to release cssnano 4 (with new Browserslist) ......
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 “BrowserslistError ...
If you have “BrowserslistError: Unknown browser query `dead`”,. @vipulgupta2048. wrote a good article about how to fix this issue.
Read more >Unknown browser query `dead` in React/Express App-Reactjs
Coding example for the question BrowserslistError: Unknown browser query `dead` in React/Express App-Reactjs.
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
Here I have a quick fix.
"browserslist": { "production": [ ">0.2%", "not dead", "not op_mini all" ], "development": [] }
Delete items inside the development array inside browser list.this one worked for me. thanks @rishabhnigamoyo “browserslist”: { “production”: [ “>0.2%”, “not dead”, “not op_mini all” ], “development”: [] }