dxos icon indicating copy to clipboard operation
dxos copied to clipboard

incorrect peer dependencies in Docker build

Open nferch opened this issue 1 year ago • 11 comments

pnpm is reporting incorrect peer dependencies when doing the pnpm deploy step of the Docker build:

#14 28.48  ERR_PNPM_PEER_DEP_ISSUES  Unmet peer dependencies
#14 28.48 
#14 28.48 packages/devtools/cli
#14 28.48 └─┬ @dxos/observability 0.3.11-main.c865ffb
#14 28.48   └─┬ @dxos/react-client 0.3.11-main.c865ffb
#14 28.48     └─┬ @dxos/react-ui 0.3.11-main.c865ffb
#14 28.48       ├── ✕ missing peer @phosphor-icons/react@^2.0.5
#14 28.48       ├─┬ @dxos/react-input 0.3.11-main.c865ffb
#14 28.48       │ └─┬ @radix-ui/react-primitive 1.0.3
#14 28.48       │   └── ✕ missing peer @types/react-dom@"*"
#14 28.48       ├─┬ @fluentui/react-tabster 9.17.4
#14 28.48       │ └── ✕ missing peer @types/react-dom@">=16.9.0 <19.0.0"
#14 28.48       ├─┬ @radix-ui/react-context-menu 2.1.5
#14 28.48       │ ├── ✕ missing peer @types/react-dom@"*"
#14 28.48       │ └─┬ @radix-ui/react-menu 2.0.6
#14 28.48       │   ├── ✕ missing peer @types/react-dom@"*"
#14 28.48       │   ├─┬ @radix-ui/react-collection 1.0.3
#14 28.48       │   │ └── ✕ missing peer @types/react-dom@"*"
#14 28.48       │   ├─┬ @radix-ui/react-dismissable-layer 1.0.5
#14 28.48       │   │ └── ✕ missing peer @types/react-dom@"*"
#14 28.48       │   ├─┬ @radix-ui/react-focus-scope 1.0.4
#14 28.48       │   │ └── ✕ missing peer @types/react-dom@"*"
#14 28.48       │   ├─┬ @radix-ui/react-popper 1.1.3
#14 28.48       │   │ ├── ✕ missing peer @types/react-dom@"*"
#14 28.48       │   │ └─┬ @radix-ui/react-arrow 1.0.3
#14 28.48       │   │   └── ✕ missing peer @types/react-dom@"*"
#14 28.48       │   ├─┬ @radix-ui/react-portal 1.0.4
#14 28.48       │   │ └── ✕ missing peer @types/react-dom@"*"
#14 28.48       │   ├─┬ @radix-ui/react-presence 1.0.1
#14 28.48       │   │ └── ✕ missing peer @types/react-dom@"*"
#14 28.48       │   └─┬ @radix-ui/react-roving-focus 1.0.4
#14 28.48       │     └── ✕ missing peer @types/react-dom@"*"
#14 28.48       ├─┬ @radix-ui/react-dropdown-menu 2.0.5
#14 28.48       │ ├── ✕ missing peer @types/react-dom@"*"
#14 28.48       │ └─┬ @radix-ui/react-menu 2.0.5
#14 28.48       │   ├── ✕ missing peer @types/react-dom@"*"
#14 28.48       │   ├─┬ @radix-ui/react-dismissable-layer 1.0.4
#14 28.48       │   │ └── ✕ missing peer @types/react-dom@"*"
#14 28.48       │   ├─┬ @radix-ui/react-focus-scope 1.0.3
#14 28.48       │   │ └── ✕ missing peer @types/react-dom@"*"
#14 28.48       │   ├─┬ @radix-ui/react-popper 1.1.2
#14 28.48       │   │ └── ✕ missing peer @types/react-dom@"*"
#14 28.48       │   └─┬ @radix-ui/react-portal 1.0.3
#14 28.48       │     └── ✕ missing peer @types/react-dom@"*"
#14 28.48       ├─┬ @radix-ui/react-popover 1.0.6
#14 28.48       │ └── ✕ missing peer @types/react-dom@"*"
#14 28.48       ├─┬ @radix-ui/react-separator 1.0.3
#14 28.48       │ └── ✕ missing peer @types/react-dom@"*"
#14 28.48       └─┬ @radix-ui/react-switch 1.0.3
#14 28.48         └── ✕ missing peer @types/react-dom@"*"
#14 28.48 Peer dependencies that should be installed:
#14 28.48   @phosphor-icons/react@^2.0.5
#14 28.48   @types/react-dom@">=16.9.0 <19.0.0"
#14 28.48 
#14 28.48 hint: If you want peer dependencies to be automatically installed, add "auto-install-peers=true" to an .npmrc file at the root of your project.
#14 28.48 hint: If you don't want pnpm to fail on peer dependency issues, add "strict-peer-dependencies=false" to an .npmrc file at the root of your project.
#14 28.48 
#14 ERROR: process "/bin/sh -c pnpm deploy --filter=@dxos/cli --prod /prod/cli" did not complete successfully: exit code: 1
------
 > [monorepo 8/9] RUN pnpm deploy --filter=@dxos/cli --prod /prod/cli:
28.48       │ └── ✕ missing peer @types/react-dom@"*"
28.48       └─┬ @radix-ui/react-switch 1.0.3
28.48         └── ✕ missing peer @types/react-dom@"*"
28.48 Peer dependencies that should be installed:
28.48   @phosphor-icons/react@^2.0.5
28.48   @types/react-dom@">=16.9.0 <19.0.0"
28.48 
28.48 hint: If you want peer dependencies to be automatically installed, add "auto-install-peers=true" to an .npmrc file at the root of your project.
28.48 hint: If you don't want pnpm to fail on peer dependency issues, add "strict-peer-dependencies=false" to an .npmrc file at the root of your project.

https://github.com/dxos/dxos/actions/runs/7730300050/job/21075430951#step:13:2682

nferch avatar Jan 31 '24 21:01 nferch