Closed pi43r closed 2 years ago
Same issue here, no way to fix as the proposed solution is to create a config .npmrc to ignore peer deps issues but Slidev is in charge of creating the folder.
Solution is probably to auto-install peer deps as we are in the context of scaffolding a project, there is probably a CLI option.
ERR_PNPM_PEER_DEP_ISSUES Unmet peer dependencies
.
└─┬ @slidev/cli
└─┬ @slidev/client
└─┬ @vueuse/motion
└── ✕ missing peer @nuxt/kit@npm:@nuxt/kit-edge@latest
Peer dependencies that should be installed:
@nuxt/kit@npm:@nuxt/kit-edge@latest
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.
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.
Error: Command failed with exit code 1: pnpm install
at makeError (/home/eric-burel/.config/yarn/global/node_modules/create-slidev/node_modules/execa/lib/error.js:60:11)
at handlePromise (/home/eric-burel/.config/yarn/global/node_modules/create-slidev/node_modules/execa/index.js:118:26)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async init (/home/eric-burel/.config/yarn/global/node_modules/create-slidev/index.js:120:5) {
shortMessage: 'Command failed with exit code 1: pnpm install',
command: 'pnpm install',
escapedCommand: 'pnpm install',
exitCode: 1,
signal: undefined,
signalDescription: undefined,
stdout: undefined,
stderr: undefined,
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}
Done in 23.29s
This problem still exists in version 0.35.4. Exactly the same error message.
pnpm version used: 7.9.0
Scaffolding seems to be complete, though. I could run the dev and build scripts successfully
Describe the bug pnpm fails installation
To Reproduce Steps to reproduce the behavior:
pnpm create slidev
Error message:
Desktop (please complete the following information):