Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BrowserslistError: Unknown browser query dead #22

Open
bcg opened this issue Oct 7, 2018 · 11 comments
Open

BrowserslistError: Unknown browser query dead #22

bcg opened this issue Oct 7, 2018 · 11 comments

Comments

@bcg
Copy link

bcg commented Oct 7, 2018

Was following the Tachyons And React Tutorial and ran into this error:

$ tachyons src/css/app.css > src/index.css --minify

/usr/local/lib/node_modules/tachyons-cli/node_modules/caniuse-api/node_modules/browserslist/index.js:37
    throw new BrowserslistError(name);
    ^
BrowserslistError: Unknown browser query `dead`
    at error (/usr/local/lib/node_modules/tachyons-cli/node_modules/caniuse-api/node_modules/browserslist/index.js:37:11)
    at /usr/local/lib/node_modules/tachyons-cli/node_modules/caniuse-api/node_modules/browserslist/index.js:222:9
    at Array.forEach (<anonymous>)
    at browserslist (/usr/local/lib/node_modules/tachyons-cli/node_modules/caniuse-api/node_modules/browserslist/index.js:196:13)
    at cleanBrowsersList (/usr/local/lib/node_modules/tachyons-cli/node_modules/caniuse-api/dist/utils.js:56:59)
    at setBrowserScope (/usr/local/lib/node_modules/tachyons-cli/node_modules/caniuse-api/dist/index.js:29:43)
    at Object.<anonymous> (/usr/local/lib/node_modules/tachyons-cli/node_modules/caniuse-api/dist/index.js:91:1)
    at Module._compile (internal/modules/cjs/loader.js:678:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:689:10)
    at Module.load (internal/modules/cjs/loader.js:589:32)

I think it might be resolved by

Dependencies:

└─┬ tachyons-cli@1.3.2
  ├─┬ authors-to-markdown@0.1.0
  │ ├─┬ is-blank@1.1.0
  │ │ ├── is-empty@0.0.1
  │ │ └── is-whitespace@0.3.0
  │ ├─┬ normalize-url@1.9.1
  │ │ ├── object-assign@4.1.1 deduped
  │ │ ├── prepend-http@1.0.4
  │ │ ├─┬ query-string@4.3.4
  │ │ │ ├── object-assign@4.1.1 deduped
  │ │ │ └── strict-uri-encode@1.1.0
  │ │ └─┬ sort-keys@1.1.2
  │ │   └── is-plain-obj@1.1.0 deduped
  │ └─┬ parse-author@0.2.2
  │   └── author-regex@0.2.1
  ├── chalk@2.4.1 deduped
  ├─┬ copy-files@0.1.0
  │ ├── async@0.9.2
  │ ├── lodash@2.4.2
  │ └── mkdirp@0.5.1 deduped
  ├─┬ css-mqpacker@6.0.2
  │ ├── minimist@1.2.0
  │ └── postcss@6.0.23 deduped
  ├─┬ cssstats@3.2.0
  │ ├── bytes@2.5.0
  │ ├── css-selector-tokenizer@0.7.0 deduped
  │ ├─┬ css-shorthand-expand@1.2.0
  │ │ ├── css-color-names@0.0.1
  │ │ ├── css-url-regex@0.0.1
  │ │ ├── hex-color-regex@1.1.0
  │ │ ├── hsl-regex@1.0.0
  │ │ ├── hsla-regex@1.0.0
  │ │ ├── map-obj@1.0.1
  │ │ ├── repeat-element@1.1.3
  │ │ ├── rgb-regex@1.0.1
  │ │ ├── rgba-regex@1.0.0
  │ │ └── xtend@4.0.1
  │ ├─┬ gzip-size@3.0.0
  │ │ └── duplexer@0.1.1 deduped
  │ ├── has-class-selector@1.0.0
  │ ├─┬ has-element-selector@1.0.0
  │ │ └─┬ css-selector-tokenizer@0.5.4
  │ │   ├── cssesc@0.1.0 deduped
  │ │   └── fastparse@1.1.1 deduped
  │ ├── has-id-selector@1.0.0
  │ ├─┬ has-pseudo-class@1.0.1
  │ │ └── pseudo-classes@0.0.1
  │ ├─┬ has-pseudo-element@1.0.0
  │ │ └── pseudo-elements@1.0.0
  │ ├─┬ is-blank@1.1.0
  │ │ ├── is-empty@0.0.1 deduped
  │ │ └── is-whitespace@0.3.0 deduped
  │ ├─┬ is-css-shorthand@1.0.1
  │ │ └── css-shorthand-properties@1.1.1
  │ ├── is-present@1.0.0 deduped
  │ ├─┬ is-vendor-prefixed@0.0.1
  │ │ └── vendor-prefixes@0.0.1
  │ ├── lodash@4.17.11 deduped
  │ ├─┬ postcss@5.2.18
  │ │ ├─┬ chalk@1.1.3
  │ │ │ ├── ansi-styles@2.2.1
  │ │ │ ├── escape-string-regexp@1.0.5 deduped
  │ │ │ ├── has-ansi@2.0.0 deduped
  │ │ │ ├── strip-ansi@3.0.1 deduped
  │ │ │ └── supports-color@2.0.0
  │ │ ├── js-base64@2.4.9
  │ │ ├── source-map@0.5.7
  │ │ └─┬ supports-color@3.2.3
  │ │   └── has-flag@1.0.0
  │ ├─┬ postcss-safe-parser@2.0.1
  │ │ └─┬ postcss@5.2.18
  │ │   ├─┬ chalk@1.1.3
  │ │   │ ├── ansi-styles@2.2.1
  │ │   │ ├── escape-string-regexp@1.0.5 deduped
  │ │   │ ├── has-ansi@2.0.0 deduped
  │ │   │ ├── strip-ansi@3.0.1 deduped
  │ │   │ └── supports-color@2.0.0
  │ │   ├── js-base64@2.4.9 deduped
  │ │   ├── source-map@0.5.7
  │ │   └─┬ supports-color@3.2.3
  │ │     └── has-flag@1.0.0
  │ └── specificity@0.3.2
  ├── dedent@0.7.0
  ├── file-exists@5.0.1
  ├─┬ immutable-css@1.1.2
  │ ├── extend-options@0.0.1
  │ ├── file-exists@0.1.1
  │ ├─┬ get-css-classes@1.1.0
  │ │ ├─┬ css-selector-tokenizer@0.5.4
  │ │ │ ├── cssesc@0.1.0 deduped
  │ │ │ └── fastparse@1.1.1 deduped
  │ │ └── lodash@4.17.11 deduped
  │ ├─┬ glob@5.0.15
  │ │ ├── inflight@1.0.6 deduped
  │ │ ├── inherits@2.0.3 deduped
  │ │ ├── minimatch@3.0.4 deduped
  │ │ ├── once@1.4.0 deduped
  │ │ └── path-is-absolute@1.0.1 deduped
  │ ├── has-class-selector@1.0.0 deduped
  │ ├── is-css@1.0.0
  │ ├─┬ meow@3.7.0
  │ │ ├─┬ camelcase-keys@2.1.0
  │ │ │ ├── camelcase@2.1.1
  │ │ │ └── map-obj@1.0.1 deduped
  │ │ ├── decamelize@1.2.0 deduped
  │ │ ├── loud-rejection@1.6.0 deduped
  │ │ ├── map-obj@1.0.1 deduped
  │ │ ├── minimist@1.2.0
  │ │ ├── normalize-package-data@2.4.0 deduped
  │ │ ├── object-assign@4.1.1 deduped
  │ │ ├─┬ read-pkg-up@1.0.1
  │ │ │ ├── find-up@1.1.2 deduped
  │ │ │ └─┬ read-pkg@1.1.0
  │ │ │   ├─┬ load-json-file@1.1.0
  │ │ │   │ ├── graceful-fs@4.1.11 deduped
  │ │ │   │ ├── parse-json@2.2.0 deduped
  │ │ │   │ ├── pify@2.3.0 deduped
  │ │ │   │ ├── pinkie-promise@2.0.1 deduped
  │ │ │   │ └── strip-bom@2.0.0 deduped
  │ │ │   ├── normalize-package-data@2.4.0 deduped
  │ │ │   └─┬ path-type@1.1.0
  │ │ │     ├── graceful-fs@4.1.11 deduped
  │ │ │     ├── pify@2.3.0 deduped
  │ │ │     └── pinkie-promise@2.0.1 deduped
  │ │ ├─┬ redent@1.0.0
  │ │ │ ├─┬ indent-string@2.1.0
  │ │ │ │ └── repeating@2.0.1 deduped
  │ │ │ └─┬ strip-indent@1.0.1
  │ │ │   └── get-stdin@4.0.1 deduped
  │ │ └── trim-newlines@1.0.0
  │ ├─┬ postcss@5.2.18
  │ │ ├─┬ chalk@1.1.3
  │ │ │ ├── ansi-styles@2.2.1
  │ │ │ ├── escape-string-regexp@1.0.5 deduped
  │ │ │ ├── has-ansi@2.0.0 deduped
  │ │ │ ├── strip-ansi@3.0.1 deduped
  │ │ │ └── supports-color@2.0.0
  │ │ ├── js-base64@2.4.9 deduped
  │ │ ├── source-map@0.5.7
  │ │ └─┬ supports-color@3.2.3
  │ │   └── has-flag@1.0.0
  │ └── specificity@0.1.6
  ├─┬ is-blank@2.1.0
  │ ├── is-empty@1.2.0
  │ └── is-whitespace@0.3.0
  ├─┬ is-present@1.0.0
  │ └─┬ is-blank@1.0.0
  │   ├── is-empty@0.0.1 deduped
  │   └── is-whitespace@0.3.0 deduped
  ├── lodash@4.17.11 deduped
  ├─┬ meow@4.0.1
  │ ├─┬ camelcase-keys@4.2.0
  │ │ ├── camelcase@4.1.0
  │ │ ├── map-obj@2.0.0
  │ │ └── quick-lru@1.1.0
  │ ├─┬ decamelize-keys@1.1.0
  │ │ ├── decamelize@1.2.0 deduped
  │ │ └── map-obj@1.0.1 deduped
  │ ├─┬ loud-rejection@1.6.0
  │ │ ├─┬ currently-unhandled@0.4.1
  │ │ │ └── array-find-index@1.0.2
  │ │ └── signal-exit@3.0.2
  │ ├── minimist@1.2.0
  │ ├─┬ minimist-options@3.0.2
  │ │ ├── arrify@1.0.1
  │ │ └── is-plain-obj@1.1.0
  │ ├─┬ normalize-package-data@2.4.0
  │ │ ├── hosted-git-info@2.7.1
  │ │ ├─┬ is-builtin-module@1.0.0
  │ │ │ └── builtin-modules@1.1.1
  │ │ ├── semver@5.5.1 deduped
  │ │ └─┬ validate-npm-package-license@3.0.4
  │ │   ├─┬ spdx-correct@3.0.2
  │ │   │ ├── spdx-expression-parse@3.0.0 deduped
  │ │   │ └── spdx-license-ids@3.0.1
  │ │   └─┬ spdx-expression-parse@3.0.0
  │ │     ├── spdx-exceptions@2.2.0
  │ │     └── spdx-license-ids@3.0.1 deduped
  │ ├─┬ read-pkg-up@3.0.0
  │ │ ├─┬ find-up@2.1.0
  │ │ │ └── locate-path@2.0.0 deduped
  │ │ └─┬ read-pkg@3.0.0
  │ │   ├─┬ load-json-file@4.0.0
  │ │   │ ├── graceful-fs@4.1.11 deduped
  │ │   │ ├─┬ parse-json@4.0.0
  │ │   │ │ ├── error-ex@1.3.2 deduped
  │ │   │ │ └── json-parse-better-errors@1.0.2 deduped
  │ │   │ ├── pify@3.0.0
  │ │   │ └── strip-bom@3.0.0
  │ │   ├── normalize-package-data@2.4.0 deduped
  │ │   └─┬ path-type@3.0.0
  │ │     └── pify@3.0.0 deduped
  │ ├─┬ redent@2.0.0
  │ │ ├── indent-string@3.2.0
  │ │ └── strip-indent@2.0.0
  │ └── trim-newlines@2.0.0
  ├─┬ mkdirp@0.5.1
  │ └── minimist@0.0.8
  ├─┬ single-trailing-newline@1.0.0
  │ └─┬ detect-newline@1.0.3
  │   ├── get-stdin@4.0.1
  │   └── minimist@1.2.0
  └─┬ tachyons-build-css@1.8.1
    ├─┬ autoprefixer@8.6.5
    │ ├─┬ browserslist@3.2.8
    │ │ ├── caniuse-lite@1.0.30000889 deduped
    │ │ └── electron-to-chromium@1.3.75 deduped
    │ ├── caniuse-lite@1.0.30000889 deduped
    │ ├── normalize-range@0.1.2 deduped
    │ ├── num2fraction@1.2.2 deduped
    │ ├── postcss@6.0.23 deduped
    │ └── postcss-value-parser@3.3.0 deduped
    ├── css-mqpacker@6.0.2 deduped
    ├─┬ cssnano@3.10.0
    │ ├─┬ autoprefixer@6.7.7
    │ │ ├─┬ browserslist@1.7.7
    │ │ │ ├── caniuse-db@1.0.30000889 deduped
    │ │ │ └── electron-to-chromium@1.3.75 deduped
    │ │ ├── caniuse-db@1.0.30000889
    │ │ ├── normalize-range@0.1.2 deduped
    │ │ ├── num2fraction@1.2.2 deduped
    │ │ ├── postcss@5.2.18 deduped
    │ │ └── postcss-value-parser@3.3.0 deduped
    │ ├── decamelize@1.2.0 deduped
    │ ├── defined@1.0.0
    │ ├── has@1.0.3 deduped
    │ ├── object-assign@4.1.1 deduped
    │ ├─┬ postcss@5.2.18
    │ │ ├─┬ chalk@1.1.3
    │ │ │ ├── ansi-styles@2.2.1
    │ │ │ ├── escape-string-regexp@1.0.5 deduped
    │ │ │ ├── has-ansi@2.0.0 deduped
    │ │ │ ├── strip-ansi@3.0.1 deduped
    │ │ │ └── supports-color@2.0.0
    │ │ ├── js-base64@2.4.9 deduped
    │ │ ├── source-map@0.5.7
    │ │ └─┬ supports-color@3.2.3
    │ │   └── has-flag@1.0.0
    │ ├─┬ postcss-calc@5.3.1
    │ │ ├── postcss@5.2.18 deduped
    │ │ ├── postcss-message-helpers@2.0.0
    │ │ └─┬ reduce-css-calc@1.3.0
    │ │   ├── balanced-match@0.4.2
    │ │   ├── math-expression-evaluator@1.2.17
    │ │   └─┬ reduce-function-call@1.0.2
    │ │     └── balanced-match@0.4.2
    │ ├─┬ postcss-colormin@2.2.2
    │ │ ├─┬ colormin@1.1.2
    │ │ │ ├─┬ color@0.11.4
    │ │ │ │ ├── clone@1.0.4
    │ │ │ │ ├── color-convert@1.9.3 deduped
    │ │ │ │ └─┬ color-string@0.3.0
    │ │ │ │   └── color-name@1.1.3 deduped
    │ │ │ ├── css-color-names@0.0.4
    │ │ │ └── has@1.0.3 deduped
    │ │ ├─┬ postcss@5.2.18
    │ │ │ ├─┬ chalk@1.1.3
    │ │ │ │ ├── ansi-styles@2.2.1
    │ │ │ │ ├── escape-string-regexp@1.0.5 deduped
    │ │ │ │ ├── has-ansi@2.0.0 deduped
    │ │ │ │ ├── strip-ansi@3.0.1 deduped
    │ │ │ │ └── supports-color@2.0.0
    │ │ │ ├── js-base64@2.4.9 deduped
    │ │ │ ├── source-map@0.5.7
    │ │ │ └─┬ supports-color@3.2.3
    │ │ │   └── has-flag@1.0.0
    │ │ └── postcss-value-parser@3.3.0 deduped
    │ ├─┬ postcss-convert-values@2.6.1
    │ │ ├─┬ postcss@5.2.18
    │ │ │ ├─┬ chalk@1.1.3
    │ │ │ │ ├── ansi-styles@2.2.1
    │ │ │ │ ├── escape-string-regexp@1.0.5 deduped
    │ │ │ │ ├── has-ansi@2.0.0 deduped
    │ │ │ │ ├── strip-ansi@3.0.1 deduped
    │ │ │ │ └── supports-color@2.0.0
    │ │ │ ├── js-base64@2.4.9 deduped
    │ │ │ ├── source-map@0.5.7
    │ │ │ └─┬ supports-color@3.2.3
    │ │ │   └── has-flag@1.0.0
    │ │ └── postcss-value-parser@3.3.0 deduped
    │ ├── postcss-discard-comments@2.0.4 deduped
    │ ├─┬ postcss-discard-duplicates@2.1.0
    │ │ └─┬ postcss@5.2.18
    │ │   ├─┬ chalk@1.1.3
    │ │   │ ├── ansi-styles@2.2.1
    │ │   │ ├── escape-string-regexp@1.0.5 deduped
    │ │   │ ├── has-ansi@2.0.0 deduped
    │ │   │ ├── strip-ansi@3.0.1 deduped
    │ │   │ └── supports-color@2.0.0
    │ │   ├── js-base64@2.4.9 deduped
    │ │   ├── source-map@0.5.7
    │ │   └─┬ supports-color@3.2.3
    │ │     └── has-flag@1.0.0
    │ ├─┬ postcss-discard-empty@2.1.0
    │ │ └─┬ postcss@5.2.18
    │ │   ├─┬ chalk@1.1.3
    │ │   │ ├── ansi-styles@2.2.1
    │ │   │ ├── escape-string-regexp@1.0.5 deduped
    │ │   │ ├── has-ansi@2.0.0 deduped
    │ │   │ ├── strip-ansi@3.0.1 deduped
    │ │   │ └── supports-color@2.0.0
    │ │   ├── js-base64@2.4.9 deduped
    │ │   ├── source-map@0.5.7
    │ │   └─┬ supports-color@3.2.3
    │ │     └── has-flag@1.0.0
    │ ├─┬ postcss-discard-overridden@0.1.1
    │ │ └─┬ postcss@5.2.18
    │ │   ├─┬ chalk@1.1.3
    │ │   │ ├── ansi-styles@2.2.1
    │ │   │ ├── escape-string-regexp@1.0.5 deduped
    │ │   │ ├── has-ansi@2.0.0 deduped
    │ │   │ ├── strip-ansi@3.0.1 deduped
    │ │   │ └── supports-color@2.0.0
    │ │   ├── js-base64@2.4.9 deduped
    │ │   ├── source-map@0.5.7
    │ │   └─┬ supports-color@3.2.3
    │ │     └── has-flag@1.0.0
    │ ├─┬ postcss-discard-unused@2.2.3
    │ │ ├─┬ postcss@5.2.18
    │ │ │ ├─┬ chalk@1.1.3
    │ │ │ │ ├── ansi-styles@2.2.1
    │ │ │ │ ├── escape-string-regexp@1.0.5 deduped
    │ │ │ │ ├── has-ansi@2.0.0 deduped
    │ │ │ │ ├── strip-ansi@3.0.1 deduped
    │ │ │ │ └── supports-color@2.0.0
    │ │ │ ├── js-base64@2.4.9 deduped
    │ │ │ ├── source-map@0.5.7
    │ │ │ └─┬ supports-color@3.2.3
    │ │ │   └── has-flag@1.0.0
    │ │ └── uniqs@2.0.0
    │ ├─┬ postcss-filter-plugins@2.0.3
    │ │ └─┬ postcss@5.2.18
    │ │   ├─┬ chalk@1.1.3
    │ │   │ ├── ansi-styles@2.2.1
    │ │   │ ├── escape-string-regexp@1.0.5 deduped
    │ │   │ ├── has-ansi@2.0.0 deduped
    │ │   │ ├── strip-ansi@3.0.1 deduped
    │ │   │ └── supports-color@2.0.0
    │ │   ├── js-base64@2.4.9 deduped
    │ │   ├── source-map@0.5.7
    │ │   └─┬ supports-color@3.2.3
    │ │     └── has-flag@1.0.0
    │ ├─┬ postcss-merge-idents@2.1.7
    │ │ ├── has@1.0.3 deduped
    │ │ ├─┬ postcss@5.2.18
    │ │ │ ├─┬ chalk@1.1.3
    │ │ │ │ ├── ansi-styles@2.2.1
    │ │ │ │ ├── escape-string-regexp@1.0.5 deduped
    │ │ │ │ ├── has-ansi@2.0.0 deduped
    │ │ │ │ ├── strip-ansi@3.0.1 deduped
    │ │ │ │ └── supports-color@2.0.0
    │ │ │ ├── js-base64@2.4.9 deduped
    │ │ │ ├── source-map@0.5.7
    │ │ │ └─┬ supports-color@3.2.3
    │ │ │   └── has-flag@1.0.0
    │ │ └── postcss-value-parser@3.3.0 deduped
    │ ├─┬ postcss-merge-longhand@2.0.2
    │ │ └─┬ postcss@5.2.18
    │ │   ├─┬ chalk@1.1.3
    │ │   │ ├── ansi-styles@2.2.1
    │ │   │ ├── escape-string-regexp@1.0.5 deduped
    │ │   │ ├── has-ansi@2.0.0 deduped
    │ │   │ ├── strip-ansi@3.0.1 deduped
    │ │   │ └── supports-color@2.0.0
    │ │   ├── js-base64@2.4.9 deduped
    │ │   ├── source-map@0.5.7
    │ │   └─┬ supports-color@3.2.3
    │ │     └── has-flag@1.0.0
    │ ├─┬ postcss-merge-rules@2.1.2
    │ │ ├─┬ browserslist@1.7.7
    │ │ │ ├── caniuse-db@1.0.30000889 deduped
    │ │ │ └── electron-to-chromium@1.3.75 deduped
    │ │ ├─┬ caniuse-api@1.6.1
@bcg
Copy link
Author

bcg commented Oct 7, 2018

Was able to resolve by removing this

"browserslist": [
  ">0.2%",
  "not dead",
  "not ie <= 11",
  "not op_mini all"
]

from package.json. That list was constructed by create-react-app:

$ create-react-app --version
2.0.3

@fraincs
Copy link

fraincs commented Oct 10, 2018

Was able to resolve by removing this

"browserslist": [
  ">0.2%",
  "not dead",
  "not ie <= 11",
  "not op_mini all"
]

from package.json. That list was constructed by create-react-app:

$ create-react-app --version
2.0.3

from which package.json, isn't that list necessary in order to autoprefix stuff

@bcg
Copy link
Author

bcg commented Oct 10, 2018

It is the package.json that create-react-app creates for new applications. I didn't mean to indicate it was resolved, I was just adding some additional notes.

I think it is because a downstream dependency is using a really old version of browserslist.

@fraincs
Copy link

fraincs commented Oct 22, 2018

Any news on this, seems that without this list the compiled css will not work on some browsers.

My temporary fix in my case was to create an empty .browserslistrc at the root of tachyons

@ahmadatallah
Copy link

If no one got a solution for this issue, yet, I think there is a one!
update the browserslist version to be > 3.0 in each of these dependencies:

  • tachyons-cli/node_modules/caniuse-api/
  • tachyons-cli/node_modules/postcss-merge-rules/
  • tachyons-cli/node_modules/postcss-merge-rules/node_modules/caniuse-api/

@Fl4v10
Copy link

Fl4v10 commented Mar 4, 2019

If no one got a solution for this issue, yet, I think there is a one!
update the browserslist version to be > 3.0 in each of these dependencies:

  • tachyons-cli/node_modules/caniuse-api/
  • tachyons-cli/node_modules/postcss-merge-rules/
  • tachyons-cli/node_modules/postcss-merge-rules/node_modules/caniuse-api/

Can you explain how should I do this?

@ahmadatallah
Copy link

ahmadatallah commented Mar 8, 2019

If no one got a solution for this issue, yet, I think there is a one!
update the browserslist version to be > 3.0 in each of these dependencies:

  • tachyons-cli/node_modules/caniuse-api/
  • tachyons-cli/node_modules/postcss-merge-rules/
  • tachyons-cli/node_modules/postcss-merge-rules/node_modules/caniuse-api/

Can you explain how should I do this?

this is an explicit solution for the problem that you need to change browserslist version through your local node_modules in the previously mentioned packages and hence, this should not be applicable for your app release it should be fixed in the next versions of tachyons-cli itself!

there is another solution for this if tachyons-cli don't fix this in a next version. you can fork their repo, apply the fix by yourself (say in a new branch) and install it by github not from npmjs.com
as following in this link

@EdwardDiehl
Copy link

Looks like the issue originates from cssnano package which is used by tachyons-build-css
browserslist/browserslist#266 (comment)

I think that tachyons-build-css need to upgrade cssnano to the version 4. For that moment it uses "cssnano": "^3.10.0",

I've opened an issue in the tachyons-build-css repository, upvote it please if you think that it is relevant.
tachyons-css/tachyons-build-css#21
@ahmadm-atallah @bcg @fraincs @Fl4v10

@frontendplace
Copy link

my solution was updating "cssnano": "4.1.10", and "autoprefixer": "9.6.1",

@wangzongming
Copy link

Unknown browser query dead

I have the same problem,Has anybody solved it? I tried your method, but it didn't work.

@wangzongming
Copy link

Unknown browser query dead

I have the same problem,Has anybody solved it? I tried your method, but it didn't work.
I've already solved that problem
solution: del caiuse-api/node_modules/browsersList

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants