CircleCI-Public / CircleCI-Public/node-orb

Node 25 images do not have corepack enabled, causing yarn berry installs to fail

Open
#260 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Shell
Stars
57
Forks
76
PR merge metrics
No merged PRs in 30d

Description

## Orb version:

7.2.1

## What happened:

I upgraded my CI jobs from Node 24 to Node 25, while using yarn berry. This causes the yarn berry install to fail as corepack has been removed from Node 25.

```
/bin/bash: line 2: corepack: command not found
Using alternative corepack location
/bin/bash: line 4: corepack: command not found

Exited with code exit status 127
```

## Expected behavior:

Corepack should either be force enabled in the job if not present, or the CCI node 25 images should install corepack.

## Additional Information:

https://github.com/CircleCI-Public/node-orb/blob/43e43d50bca703f1867711c65f8b95e5e6c01901/src/scripts/packages/yarn-berry-install.sh#L5

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.