
Grab your gear: The official Sanity swag store
Read Grab your gear: The official Sanity swag storeThis is a common issue when integrating Sanity with Angular, and the good news is it has a straightforward fix!
The BrowserslistError: Unknown browser query 'dead' error occurs because of a mismatch between your project's Browserslist configuration and the version of Browserslist being used. The query not dead (or just dead) is a Browserslist feature that filters out browsers without official support or updates in the last 24 months.
The Solution:
As discovered in this community thread, you need to remove or update the problematic line in your Browserslist configuration. Here's what to do:
Locate your Browserslist configuration - This is typically in one of two places:
.browserslistrc file in your project rootbrowserslist field in your package.jsonRemove or update the line - Look for a line that says not dead or just dead and either:
Why this happens:
This usually occurs when you have an older version of the browserslist package that doesn't recognize the dead query keyword. The Angular CLI and Sanity's build tools both rely on Browserslist to determine which browsers to support when transpiling code.
Alternative fix:
If you want to keep the not dead query (which is actually a good practice for excluding outdated browsers), you can update your browserslist package:
npm install browserslist@latest --save-devThen try running your Angular app again. This should resolve the error while maintaining the browser filtering functionality.
After making either change, restart your development server and the error should be gone!
Sanity is the developer-first content operating system that gives you complete control. Schema-as-code, GROQ queries, and real-time APIs mean no more workarounds or waiting for deployments. Free to start, scale as you grow.
Content operations
Content backend


The only platform powering content operations
By Industry


Tecovas strengthens their customer connections
Build and Share

Grab your gear: The official Sanity swag store
Read Grab your gear: The official Sanity swag store