Skip to content

Demo doesn't build correctly #1462

@carlosjgp

Description

@carlosjgp

Description

 => CACHED [demo 26/32] RUN cp index.ts packages/web-tracing/src                                                                 0.0s
 => CACHED [demo 27/32] RUN rm index.ts                                                                                          0.0s
 => ERROR [demo 28/32] RUN SKIP_GEN_VERSION=1 yarn install --pure-lockfile                                                       0.3s
------
 > [demo 28/32] RUN SKIP_GEN_VERSION=1 yarn install --pure-lockfile:
0.244 error This project's package.json defines "packageManager": "[email protected]". However the current global version of Yarn is 1.22.22.
0.245 
0.245 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.245 Corepack must currently be enabled by running corepack enable in your terminal. For more information, check out https://yarnpkg.com/corepack.
------
failed to solve: process "/bin/sh -c SKIP_GEN_VERSION=1 yarn install --pure-lockfile" did not complete successfully: exit code: 1

Steps to reproduce

  1. Checkout main
git rev-parse --short HEAD                         
2bc52a0
  1. docker compose --profile demo up -d

Expected behavior

Demo application builds correctly

Actual behavior

Errors

Environment

  • *OS: Ubuntu 24.04
  • *Browser: Firefox

Demo

N/A

Context

docker version                     
Client: Docker Engine - Community
 Version:           27.5.1
 API version:       1.47
 Go version:        go1.22.11
 Git commit:        9f9e405
 Built:             Wed Jan 22 13:41:31 2025
 OS/Arch:           linux/amd64
 Context:           default

Server: Docker Engine - Community
 Engine:
  Version:          27.5.1
  API version:      1.47 (minimum version 1.24)
  Go version:       go1.22.11
  Git commit:       4c9b3b0
  Built:            Wed Jan 22 13:41:31 2025
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.7.25
  GitCommit:        bcc810d6b9066471b0b6fa75f557a15a1cbf31bb
 runc:
  Version:          1.2.4
  GitCommit:        v1.2.4-0-g6c52b3f
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

Metadata

Metadata

Assignees

Labels

bugReport a bug

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions