ERR_PNPM_PEER_DEP_ISSUES Unmet peer dependencies and The command '/bin/sh -c pnpm install' returned a non-zero code: 1
envgap__pnpm__pnpm-4684
Original GitHub issue ↗Opened 2022-05-06
01 / FAILURE SIGNATURE
As reported upstream
ERR_PNPM_PEER_DEP_ISSUES Unmet peer dependencies
Not a benchmark task.
- No curated issue-specific recipe or verified environment fix is available.
02 / ENVIRONMENT RECIPE
- Base commit
Not freshly verified- Manifest
package.json- Reproduce
Awaiting issue-specific recipe- Run under trace
Awaiting a meaningful runtime command
03 / ORIGINAL ISSUE TEXT
pnpm/pnpm #4684 · read the original issue
<!--
If this issue affects many people in a company/big team, create a post for your company in the following discussion:
https://github.com/pnpm/pnpm/discussions/3787
and link the issue in your post.
This will help us prioritize issues that affect more people.
-->
### pnpm version: unkown or the latest
### Code to reproduce the issue:
we installed the pnpm with dockerfile
dependencies:
+ @element-plus/icons-vue 0.2.7 (1.1.4 is available)
+ axios 0.24.0 (0.27.2 is available)
+ echarts 5.3.2
+ element-plus 2.1.11
+ js-web-screen-shot 1.6.2
+ mitt 3.0.0
+ ol 6.14.1
+ spark-md5 3.0.2
+ vue 3.2.33
+ vue-cache-data 1.5.1
+ vue-router 4.0.15
+ vuex 4.0.2
devDependencies:
+ @babel/core 7.17.10
+ @babel/preset-env 7.17.10
+ @vitejs/plugin-legacy 1.8.2
+ @vitejs/plugin-vue 2.3.2
+ @vue/compiler-sfc 3.2.33
+ @vue/eslint-config-standard 5.1.2 (6.1.0 is available)
+ @vue/test-utils 2.0.0-rc.21
+ @vue/vue3-jest 27.0.0
+ babel-eslint 10.1.0 deprecated
+ babel-jest 27.5.1 (28.0.3 is available)
+ babel-plugin-import 1.13.5
+ eslint 6.8.0 (8.14.0 is available)
+ eslint-plugin-import 2.26.0
+ eslint-plugin-node 11.1.0
+ eslint-plugin-promise 4.3.1 (6.0.0 is available)
+ eslint-plugin-standard 4.1.0 (5.0.0 is available)
+ eslint-plugin-vue 7.20.0 (8.7.1 is available)
+ jest 27.5.1 (28.0.3 is available)
+ jest-transform-stub 2.0.0
+ mockjs 1.1.0
+ regenerator-runtime 0.13.9
+ resize-observer-polyfill 1.5.1
+ sass 1.51.0
+ sass-loader 8.0.2 (12.6.0 is available)
+ unplugin-auto-import 0.6.9 (0.7.1 is available)
+ unplugin-vue-components 0.17.21 (0.19.3 is available)
+ vite 2.9.8
+ vite-plugin-compression 0.5.1
+ vite-plugin-mock 2.9.6
+ vite-plugin-optimize-persist 0.1.2
+ vite-plugin-package-config 0.1.1
ERR_PNPM_PEER_DEP_ISSUES Unmet peer dependencies
.
├─┬ @vue/eslint-config-standard
│ └─┬ eslint-import-resolver-webpack
│ └── ✕ missing peer webpack@>=1.11.0
├─┬ sass-loader
│ └── ✕ missing peer webpack@"^4.36.0 || ^5.0.0"
├─┬ unplugin-auto-import
│ └─┬ unplugin
│ ├── ✕ missing peer webpack@"4 || 5"
│ └── ✕ missing peer rollup@^2.50.0
├─┬ unplugin-vue-components
│ └─┬ unplugin
│ ├── ✕ missing peer webpack@"4 || 5"
│ └── ✕ missing peer rollup@^2.50.0
└─┬ vite-plugin-mock
└─┬ @rollup/plugin-node-resolve
├── ✕ missing peer rollup@^2.42.0
└─┬ @rollup/pluginutils
└── ✕ missing peer rollup@^1.20.0||^2.0.0
Peer dependencies that should be installed:
rollup@">=2.50.0 <3.0.0"
webpack@">=4.36.0 <5.0.0 || >=5.0.0 <6.0.0"
The command '/bin/sh -c pnpm install' returned a non-zero code: 1
### Expected behavior:
### Actual behavior:
### Additional information:
## dockerfile as follows
FROM node:16-buster-slim
COPY sources.list /etc/apt/
RUN apt-get update
WORKDIR /app
COPY package.json /app/package.json
RUN npm config set legacy-peer-deps true
RUN npm config set registry http://registry.npm.taobao.org
RUN npm install 04 / LABELS
Labels from the report text only; not yet run
conflictLabel rules and the text that matched
[
{
"category": "conflict",
"rule": "signature.incompatible_declared_requirements",
"source": "failure_signature",
"excerpt": "ERR_PNPM_PEER_DEP_ISSUES  Unmet peer dependencies"
}
]Issue-specific recipe and runtime smoke command require review against the complete issue and repository.
Legacy reproduction is generic install-only; match the actual issue failure before admission.