Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

yarn corepack issue running bare playbook #91

Open
feydreva opened this issue Jan 27, 2025 · 0 comments
Open

yarn corepack issue running bare playbook #91

feydreva opened this issue Jan 27, 2025 · 0 comments

Comments

@feydreva
Copy link

Hello,
I m running the play book but it stops at yan install.

TASK [web : Yarn install] ************************************************************************************************************************************************************************************************************
fatal: [185.182.184.200]: FAILED! => {"changed": true, "cmd": ["yarn", "install", "--pure-lockfile"], "delta": "0:00:00.178971", "end": "2025-01-28 00:31:19.552344", "msg": "non-zero return code", "rc": 1, "start": "2025-01-28 00:31:19.373373", "stderr": "error This project's package.json defines \"packageManager\": \"[email protected]\". However the current global version of Yarn is 1.22.22.\n\nPresence of the \"packageManager\" field indicates that the project is meant to be used with Corepack, a tool included by default with all official Node.js distributions starting from 16.9 and 14.19.\nCorepack must currently be enabled by running corepack enable in your terminal. For more information, check out https://yarnpkg.com/corepack.", "stderr_lines": ["error This project's package.json defines \"packageManager\": \"[email protected]\". However the current global version of Yarn is 1.22.22.", "", "Presence of the \"packageManager\" field indicates that the project is meant to be used with Corepack, a tool included by default with all official Node.js distributions starting from 16.9 and 14.19.", "Corepack must currently be enabled by running corepack enable in your terminal. For more information, check out https://yarnpkg.com/corepack."], "stdout": "", "stdout_lines": []}

Any suggestions ?

I am running a new VPS, with Ubuntu 20.04.6 LTS

cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.6 LTS"

Thank you !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant