title: Yarn Lockfile has incorrect entry for x
body: <p>My project is a monorepo using Yarn Workspaces.</p>
  <p>Why does my Yarn Lockfile give this warning?  How does it happen?  What can you do to fix it?</p>
  <p>Yarn version 1.22.19</p>
  <pre><code>warning Lockfile has incorrect entry for &quot;@typescript-eslint/parser@^2.34.0&quot;. Ignoring it.
  warning Lockfile has incorrect entry for &quot;@typescript-eslint/eslint-plugin@2.x&quot;. Ignoring it.
  warning Lockfile has incorrect entry for &quot;@typescript-eslint/parser@2.x&quot;. Ignoring it.
  warning Lockfile has incorrect entry for &quot;@pmmmwh/react-refresh-webpack-plugin@^0.4.3&quot;. Ignoring it.
  warning Lockfile has incorrect entry for &quot;tslib@^1.10.0&quot;. Ignoring it.
  warning Lockfile has incorrect entry for &quot;graphql@^14.5.8&quot;. Ignoring it.
  warning Lockfile has incorrect entry for &quot;tslib@^1.9.3&quot;. Ignoring it.
  warning Lockfile has incorrect entry for &quot;graphql@^14.7.0&quot;. Ignoring it.
  warning Lockfile has incorrect entry for &quot;browserslist@4.10.0&quot;. Ignoring it.
  warning Lockfile has incorrect entry for &quot;graphql-tag@2.12.4&quot;. Ignoring it.
  warning Lockfile has incorrect entry for &quot;browserslist@4.7.0&quot;. Ignoring it.
  warning Lockfile has incorrect entry for &quot;browserslist@^2.11.3&quot;. Ignoring it.
  warning Lockfile has incorrect entry for &quot;browserslist@4.1.1&quot;. Ignoring it.
  warning Lockfile has incorrect entry for &quot;tslib@~2.4.0&quot;. Ignoring it.
  warning Lockfile has incorrect entry for &quot;browserslist@^4.20.3&quot;. Ignoring it.
  warning Lockfile has incorrect entry for &quot;tslib@1.11.1&quot;. Ignoring it.
  warning Lockfile has incorrect entry for &quot;tslib@^1.11.1&quot;. Ignoring it.
  warning Lockfile has incorrect entry for &quot;prettier@~2.2.1&quot;. Ignoring it.
  warning Lockfile has incorrect entry for &quot;emeth@^1.0.2&quot;. Ignoring it.
  warning Lockfile has incorrect entry for &quot;tslib@^1.9.0&quot;. Ignoring it.
  warning Lockfile has incorrect entry for &quot;typescript@~4.1.3&quot;. Ignoring it.
  warning Lockfile has incorrect entry for &quot;browserslist@4.14.2&quot;. Ignoring it.
  warning Lockfile has incorrect entry for &quot;prettier@^1.9.2&quot;. Ignoring it.
  warning Lockfile has incorrect entry for &quot;tslib@~2.1.0&quot;. Ignoring it.
  warning Lockfile has incorrect entry for &quot;browserslist@^4.20.2&quot;. Ignoring it.
  warning Lockfile has incorrect entry for &quot;browserslist@^4.21.2&quot;. Ignoring it.
  warning Lockfile has incorrect entry for &quot;tslib@^1.8.1&quot;. Ignoring it.
  warning Lockfile has incorrect entry for &quot;tslib@~2.2.0&quot;. Ignoring it.
  warning Lockfile has incorrect entry for &quot;tslib@^1&quot;. Ignoring it.
  warning Lockfile has incorrect entry for &quot;browserslist@^3.2.6&quot;. Ignoring it.
  warning Lockfile has incorrect entry for &quot;eslint@^4.0.0&quot;. Ignoring it.
  warning Lockfile has incorrect entry for &quot;prettier@^1.7.0&quot;. Ignoring it.
  warning Lockfile has incorrect entry for &quot;typescript@^2.5.1&quot;. Ignoring it.
  warning Lockfile has incorrect entry for &quot;node-gyp@^5.0.2&quot;. Ignoring it.
  warning Lockfile has incorrect entry for &quot;tslib@^1.0.0&quot;. Ignoring it.
  </code></pre>