Error when trying to update Craft or install any plugin
&quot;repositories&quot;: [
    {
      &quot;type&quot;: &quot;path&quot;,
      &quot;url&quot;: &quot;plugins/redactor&quot;
    }
  ]

With that in your composer.json file, you're telling Composer to look in a plugins/redactor folder from the root of your project and use that to satisfy the &quot;craftcms/redactor&quot; dependency (instead of pulling it from packagist.org).
https://getcomposer.org/doc/05-repositories.md#path
That error is saying that the plugins/redactor folder doesn't exist. The most common use-case for that is you've got a separate fork of the plugin you're using, but if that's not the case, you can remove that whole repositories section and it'll start using the official redactor release from packagist.