Skip to content

yarn check reports multiple errors due to duplicate versions in devDependency packages #12565

@rsimha

Description

@rsimha

Initial conditions:

  1. Sync to HEAD on master
  2. Install all packages by running yarn

Repro: run yarn check

Expected: no warnings or errors

Actual: See below. The info sections can be safely ignored, but the warning and error sections must be fixed.

rsimha@bobdylan (master):~/src/amphtml$ yarn check
yarn check v1.3.2
info fsevents@1.1.2: The platform "linux" is incompatible with this module.
info "fsevents@1.1.2" is an optional dependency and failed compatibility check. Excluding it from installation.
warning "babel-preset-env#browserslist@^2.1.2" could be deduped from "2.10.0" to "browserslist@2.10.0"
warning "babel-preset-env#browserslist#caniuse-lite@^1.0.30000718" could be deduped from "1.0.30000783" to "caniuse-lite@1.0.30000783"
warning "babel-preset-env#browserslist#electron-to-chromium@^1.3.18" could be deduped from "1.3.28" to "electron-to-chromium@1.3.28"
warning "postcss#chalk#supports-color@^4.0.0" could be deduped from "4.5.0" to "postcss#supports-color@4.5.0"
warning "karma-mocha-reporter#log-symbols#chalk@^2.0.1" could be deduped from "2.3.0" to "karma-mocha-reporter#chalk@2.3.0"
error "react-moment-proptypes#moment" not installed
info Found 5 warnings.
error Found 1 errors.
info Visit https://yarnpkg.com/en/docs/cli/check for documentation about this command.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions