Skip to content

BrowserslistError: Unknown browser query dead #22

@bcg

Description

@bcg

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions