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

Build fail #174

Closed
hunghvu opened this issue Oct 3, 2024 · 0 comments
Closed

Build fail #174

hunghvu opened this issue Oct 3, 2024 · 0 comments
Labels
bug Something isn't working v1

Comments

@hunghvu
Copy link
Owner

hunghvu commented Oct 3, 2024

Related issue: yarnpkg/yarn#9015

 > [linux/amd64 builder 5/6] RUN yarn global add turbo:
0.376 error This project's package.json defines "packageManager": "yarn@[email protected]". However the current global version of Yarn is 1.22.22.
0.377 
0.377 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.
0.377 Corepack must currently be enabled by running corepack enable in your terminal. For more information, check out https://yarnpkg.com/corepack.
------
Dockerfile:10
--------------------
   8 |     WORKDIR /app
   9 |     COPY . .
  10 | >>> RUN yarn global add turbo
  11 |     RUN turbo prune cms --docker
  12 |     
--------------------
ERROR: failed to solve: process "/bin/sh -c yarn global add turbo" did not complete successfully: exit code: 1
Error: buildx failed with: ERROR: failed to solve: process "/bin/sh -c yarn global add turbo" did not complete successfully: exit code: 1
@hunghvu hunghvu added bug Something isn't working v1 labels Oct 3, 2024
hunghvu added a commit that referenced this issue Oct 3, 2024
@hunghvu hunghvu closed this as completed in e99d4fd Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working v1
Projects
None yet
Development

No branches or pull requests

1 participant