Yarn install fails in "composer (next major)" job
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3431269. -->
Reported by: [fjgarlin](https://www.drupal.org/user/2495842)
Related to !157
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>I noticed failures in the <code>composer (next major)</code> job here: <a href="https://git.drupalcode.org/project/decoupled_pages/-/jobs/1092114">https://git.drupalcode.org/project/decoupled_pages/-/jobs/1092114</a> (pipeline here: <a href="https://git.drupalcode.org/project/decoupled_pages/-/pipelines/122111">https://git.drupalcode.org/project/decoupled_pages/-/pipelines/122111</a>).</p>
<pre>$ yarn --cwd $_WEB_ROOT/core install<br>yarn install v1.22.19<br>[1/5] Validating package.json...<br>error Drupal@: The engine "yarn" is incompatible with this module. Expected version ">= 4.1.1". Got "1.22.19"<br>error Found incompatible module.</pre><p>Maybe core bumped its yarn/node version requirements recently?</p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>See if we need to upgrade the images or maybe do something to just upgrade yarn within the templates.</p>
<h3 id="summary-remaining-tasks">Remaining tasks</h3>
<p>MR.</p>
> Related issue: [Issue #3109556](https://www.drupal.org/node/3109556)
issue