<pre><code> &quot;repositories&quot;: [
    {
      &quot;type&quot;: &quot;path&quot;,
      &quot;url&quot;: &quot;plugins/redactor&quot;
    }
  ]
</code></pre>
<p>With that in your composer.json file, you're telling Composer to look in a <code>plugins/redactor</code> folder from the root of your project and use that to satisfy the <code>&quot;craftcms/redactor&quot;</code> dependency (instead of pulling it from packagist.org).</p>
<p><a href="https://getcomposer.org/doc/05-repositories.md#path" rel="nofollow noreferrer">https://getcomposer.org/doc/05-repositories.md#path</a></p>
<p>That error is saying that the <code>plugins/redactor</code> 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 <code>repositories</code> section and it'll start using the official redactor release from packagist.</p>

CC BY-SA 4.0
2021-05-06T00:30:24.410Z
That was it. I removed the repositories section and was able to update Craft, a few existing plugins, and install a new plugin I had been unable to install.  Thank you for your help.
Jake1293
CC BY-SA 4.0
2021-05-06T00:16:20.967Z
2021-05-06T00:16:20.967Z
Brad Bell
<p>When I try to update Craft, or install any plugin from the plugin store, I get the following error):</p>
<pre><code>Composer was unable to install the updates.

Error: The url supplied for the path (plugins/redactor) repository does not exist

Composer output: Package &quot;craftcms/vue-asset&quot; listed for update is not installed. Ignoring.
Loading composer repositories with package information
</code></pre>
<p>If I try installing a plugin through the command line, I get a similar error:</p>
<pre><code> [RuntimeException]
 The 'url' supplied for the path (plugins/redactor) repository does not exist
</code></pre>
<p>Here are the contents of my composer.json file:</p>
<pre><code>{
  &quot;require&quot;: {
  &quot;craftcms/cms&quot;: &quot;3.5.2&quot;,
  &quot;craftcms/contact-form&quot;: &quot;2.2.7&quot;,
  &quot;craftcms/feed-me&quot;: &quot;4.2.3&quot;,
  &quot;craftcms/redactor&quot;: &quot;2.6.1&quot;,
  &quot;craftcms/simple-text&quot;: &quot;2.0.2&quot;,
  &quot;vlucas/phpdotenv&quot;: &quot;^3.4.0&quot;
},
  &quot;require-dev&quot;: {
  &quot;yiisoft/yii2-shell&quot;: &quot;^2.0.3&quot;
},
  &quot;autoload&quot;: {
    &quot;psr-4&quot;: {
    &quot;modules\\&quot;: &quot;modules/&quot;
   }
},
  &quot;config&quot;: {
    &quot;sort-packages&quot;: true,
    &quot;optimize-autoloader&quot;: true,
    &quot;platform&quot;: {
    &quot;php&quot;: &quot;7.0&quot;
  }
},
&quot;scripts&quot;: {
  &quot;post-root-package-install&quot;: [
    &quot;@php -r \&quot;file_exists('.env') || copy('.env.example', '.env');\&quot;&quot;
  ]
},
  &quot;repositories&quot;: [
    {
      &quot;type&quot;: &quot;path&quot;,
      &quot;url&quot;: &quot;plugins/redactor&quot;
    }
  ]
}
</code></pre>
<p>The redactor plugin is already installed and working properly, so I'm not sure why it's causing an issue. Does anyone know what's causing this issue and how to fix it? Any help is appreciated.</p>

CC BY-SA 4.0
2021-05-05T23:59:18.907Z
Can you edit your question and share the contents of your composer.json file?
Brad Bell
CC BY-SA 4.0
2021-05-06T00:04:14.267Z
Edited. Thank you for looking into it.
Jake1293
<plugins><redactor><installation><composer>
Error when trying to update Craft or install any plugin
# Error when trying to update Craft or install any plugin

(Asked by: username_0 on 2021-05-05)

When I try to update Craft, or install any plugin from the plugin store, I get the following error):
Composer was unable to install the updates.

Error: The url supplied for the path (plugins/redactor) repository does not exist

Composer output: Package "craftcms/vue-asset" listed for update is not installed. Ignoring.
Loading composer repositories with package information

If I try installing a plugin through the command line, I get a similar error:
 [RuntimeException]
 The 'url' supplied for the path (plugins/redactor) repository does not exist

Here are the contents of my composer.json file:
{
  "require": {
  "craftcms/cms": "3.5.2",
  "craftcms/contact-form": "2.2.7",
  "craftcms/feed-me": "4.2.3",
  "craftcms/redactor": "2.6.1",
  "craftcms/simple-text": "2.0.2",
  "vlucas/phpdotenv": "^3.4.0"
},
  "require-dev": {
  "yiisoft/yii2-shell": "^2.0.3"
},
  "autoload": {
    "psr-4": {
    "modules\\": "modules/"
   }
},
  "config": {
    "sort-packages": true,
    "optimize-autoloader": true,
    "platform": {
    "php": "7.0"
  }
},
"scripts": {
  "post-root-package-install": [
    "@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
  ]
},
  "repositories": [
    {
      "type": "path",
      "url": "plugins/redactor"
    }
  ]
}

The redactor plugin is already installed and working properly, so I'm not sure why it's causing an issue. Does anyone know what's causing this issue and how to fix it? Any help is appreciated.

**Tags:** plugins, redactor, installation, composer
> **Comments:**
> **username_1**: Can you edit your question and share the contents of your composer.json file?  
> **username_0**: Edited. Thank you for looking into it.  

---

## 1 answers

### Answer by username_1 on 2021-05-06. Score: 1 | Accepted answer

"repositories": [
    {
      "type": "path",
      "url": "plugins/redactor"
    }
  ]

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 "craftcms/redactor" 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.

> **Comments:**
> **username_0**: That was it. I removed the repositories section and was able to update Craft, a few existing plugins, and install a new plugin I had been unable to install.  Thank you for your help.  

---

