Skip to content

bug: error package.json defines "packageManager": "yarn@pnpm@10.12.1" #4101

@MarcusWentz

Description

@MarcusWentz

Problem

Docker run error.

Impact

Critical since it prevents Docker from running services.

To reproduce

docker compose -f playground/docker-compose.fork.yml up --build

Expected behavior

Should run Docker with no errors.

Screenshots/logs

> [explorer node-build 5/6] RUN yarn install --frozen-lockfile --no-cache:
0.895 error This project's package.json defines "packageManager": "yarn@pnpm@10.12.1". However the current global version of Yarn is 1.22.22.
0.895 
0.895 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.895 Corepack must currently be enabled by running corepack enable in your terminal. For more information, check out https://yarnpkg.com/corepack.
------
Dockerfile.explorer:14

--------------------

  12 |     

  13 |     # Install npm dependencies

  14 | >>> RUN yarn install --frozen-lockfile --no-cache

  15 |     

  16 |     ENV REACT_APP_ORDER_BOOK_URLS='{"1":"http://localhost:8080"}'

--------------------

target explorer: failed to solve: process "/bin/sh -c yarn install --frozen-lockfile --no-cache" did not complete successfully: exit code: 1

services version/commit hash and environment

Version / commit hash: 2507e91

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtrack:maintenancemaintenance track

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions