<p>Your <code>composer.json</code> indicates that the <code>laravel/homestead</code> package couldn't be found. This is strange, as the package <a href="https://packagist.org/packages/laravel/homestead" rel="nofollow noreferrer">does exist</a>, even though you're requiring a heavily outdated version. Anyway, you can try requiring a current version of the dependency to see if that fixes it:</p>
<pre><code>composer require --update-with-all-dependencies laravel/homestead:^12.0
</code></pre>
<p>Another option would be to remove that dependency altogether, as it doesn't look like you need it anymore and you can still install Homestead on your local development machine.</p>

CC BY-SA 4.0
2021-12-09T16:14:23.763Z
This fixed the issue composer remove laravel/homestead
for development Instance
JohnC
CC BY-SA 4.0
2021-11-23T11:06:24.803Z
2021-11-23T11:06:24.803Z
MoritzLost
<p>I am trying to upgrade to the Craft CMS from 3.5.8 to 3.7.21. I am getting the below error. Any help really helpful.</p>
<p>Output:</p>
<pre><code>&lt;warning&gt;Package &quot;craftcms/vue-asset&quot; listed for update is not installed. Ignoring.&lt;/warning&gt;
&lt;warning&gt;Package &quot;yiisoft/yii2-shell&quot; listed for update is not installed. Ignoring.&lt;/warning&gt;
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - The requested package laravel/homestead could not be found in any version, there may be a typo in the package name.
  Problem 2
    - The requested package laravel/homestead could not be found in any version, there may be a typo in the package name.

Potential causes:
 - A typo in the package name
 - The package is not available in a stable-enough version according to your minimum-stability setting
   see &lt;https://getcomposer.org/doc/04-schema.md#minimum-stability&gt; for more details.
 - It's a private package and you forgot to add a custom repository to find it

Read &lt;https://getcomposer.org/doc/articles/troubleshooting.md&gt; for further common problems.
&lt;warning&gt;Running update with --no-dev does not mean require-dev is ignored, it just means the packages will not be installed. If dev requirements are blocking the update you have to resolve those problems.&lt;/warning&gt;
</code></pre>
<pre class="lang-json prettyprint-override"><code>{
    &quot;require&quot;: {
        &quot;aelvan/mailchimp-subscribe&quot;: &quot;3.0.3&quot;,
        &quot;craftcms/aws-s3&quot;: &quot;1.2.11&quot;,
        &quot;craftcms/cms&quot;: &quot;3.5.8&quot;,
        &quot;craftcms/contact-form&quot;: &quot;2.2.7&quot;,
        &quot;craftcms/redactor&quot;: &quot;2.7.4&quot;,
        &quot;vlucas/phpdotenv&quot;: &quot;^2.4.0&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.4&quot;
        }
    },
    &quot;scripts&quot;: {
        &quot;post-root-package-install&quot;: [
            &quot;@php -r \&quot;file_exists('.env') || copy('.env.example', '.env');\&quot;&quot;
        ]
    },
    &quot;require-dev&quot;: {
        &quot;laravel/homestead&quot;: &quot;^7.20&quot;
    }
}
</code></pre>

CC BY-SA 4.0
2021-11-22T15:07:52.383Z
Please post your `composer.json`, looks like a misconfiguration.
MoritzLost
CC BY-SA 4.0
2021-11-22T15:50:37.510Z
@MoritzLost Ok adding the file below
JohnC
<composer>
Composer error while upgrading from Craft CMS 3.5.8 to 3.7.21
# Composer error while upgrading from Craft CMS 3.5.8 to 3.7.21

(Asked by: username_0 on 2021-11-22)

I am trying to upgrade to the Craft CMS from 3.5.8 to 3.7.21. I am getting the below error. Any help really helpful.
Output:
Package "craftcms/vue-asset" listed for update is not installed. Ignoring.
Package "yiisoft/yii2-shell" listed for update is not installed. Ignoring.
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - The requested package laravel/homestead could not be found in any version, there may be a typo in the package name.
  Problem 2
    - The requested package laravel/homestead could not be found in any version, there may be a typo in the package name.

Potential causes:
 - A typo in the package name
 - The package is not available in a stable-enough version according to your minimum-stability setting
   see  for more details.
 - It's a private package and you forgot to add a custom repository to find it

Read  for further common problems.
Running update with --no-dev does not mean require-dev is ignored, it just means the packages will not be installed. If dev requirements are blocking the update you have to resolve those problems.

{
    "require": {
        "aelvan/mailchimp-subscribe": "3.0.3",
        "craftcms/aws-s3": "1.2.11",
        "craftcms/cms": "3.5.8",
        "craftcms/contact-form": "2.2.7",
        "craftcms/redactor": "2.7.4",
        "vlucas/phpdotenv": "^2.4.0"
    },
    "autoload": {
        "psr-4": {
            "modules\\": "modules/"
        }
    },
    "config": {
        "sort-packages": true,
        "optimize-autoloader": true,
        "platform": {
            "php": "7.4"
        }
    },
    "scripts": {
        "post-root-package-install": [
            "@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
        ]
    },
    "require-dev": {
        "laravel/homestead": "^7.20"
    }
}

**Tags:** composer
> **Comments:**
> **username_1**: Please post your `composer.json`, looks like a misconfiguration.  
> **username_0**: @MoritzLost Ok adding the file below  

---

## 1 answers

### Answer by username_1 on 2021-11-23. Score: 1

Your composer.json indicates that the laravel/homestead package couldn't be found. This is strange, as the package does exist, even though you're requiring a heavily outdated version. Anyway, you can try requiring a current version of the dependency to see if that fixes it:
composer require --update-with-all-dependencies laravel/homestead:^12.0

Another option would be to remove that dependency altogether, as it doesn't look like you need it anymore and you can still install Homestead on your local development machine.

> **Comments:**
> **username_0**: This fixed the issue composer remove laravel/homestead for development Instance  

---

