title: How to remove yarn packages
body: <p>I followed the instructions at <a href="https://tailwindcss.com/docs/installation" rel="nofollow noreferrer">https://tailwindcss.com/docs/installation</a> and <a href="https://web-crunch.com/posts/how-to-install-tailwind-css-2-using-ruby-on-rails" rel="nofollow noreferrer">https://web-crunch.com/posts/how-to-install-tailwind-css-2-using-ruby-on-rails</a> to install tailwind as follows</p>
  <pre><code>~/code/example % yarn add tailwindcss@npm:@tailwindcss/postcss7-compat postcss@^7 autoprefixer@^9
  yarn add v1.22.4
  [1/4]   Resolving packages...
  [2/4]   Fetching packages...
  [3/4]   Linking dependencies...
  warning &quot; &gt; webpack-dev-server@3.11.0&quot; has unmet peer dependency &quot;webpack@^4.0.0 || ^5.0.0&quot;.
  warning &quot;webpack-dev-server &gt; webpack-dev-middleware@3.7.2&quot; has unmet peer dependency &quot;webpack@^4.0.0&quot;.
  [4/4]   Building fresh packages...
  success Saved 0 new dependencies.
  ✨  Done in 3.87s.
  </code></pre>
  <p>When I try to remove it to install the latest version I get this error:</p>
  <pre><code>~/code/example % yarn remove tailwindcss @tailwindcss/postcss7-compat
  yarn remove v1.22.4
  [1/3]   Removing module tailwindcss...
  [2/3]   Removing module @tailwindcss/postcss7-compat...
  error This module isn't specified in a package.json file.
  info Visit https://yarnpkg.com/en/docs/cli/remove for documentation about this command.
  </code></pre>
  <p>I don't fully understand how removing yarn packages work -- could someone help?</p>