-
- Notifications
You must be signed in to change notification settings - Fork 6.3k
Open
Description
Version
5.0.4
Reproduction link
Environment info
System: OS: Linux 5.10 Ubuntu 20.04.4 LTS (Focal Fossa) CPU: (32) x64 AMD Ryzen 9 5950X 16-Core Processor Binaries: Node: 16.14.2 - /usr/bin/node Yarn: 1.22.15 - /usr/bin/yarn npm: 8.6.0 - /usr/bin/npm Browsers: Chrome: Not Found Firefox: Not Found npmGlobalPackages: @vue/cli: 5.0.4 PNPM version is 7.0.0-rc.3 (I also tested rc.2)
Steps to reproduce
Regular vue create project-name
. Manual or default 3.x install doesn't matter.
In the end, choose PNPM as your package manager (or launch with --packageManager=pnpm)
What is expected?
A cleanly installed project
What is actually happening?
No install except the basic generation of the required package.json and other related files (no node_modules)
Error: command failed: pnpm install --reporter silent --shamefully-hoist at ChildProcess.<anonymous> (/usr/lib/node_modules/@vue/cli/lib/util/executeCommand.js:138:16) at ChildProcess.emit (node:events:526:28) at maybeClose (node:internal/child_process:1092:16) at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)``` --- I added a link to the Vue CLI docs as I didn't know where to start up this code. StackBlitz and Codepen both basically generate the project for you, but that step before is actually what's going wrong. <!-- generated by vue-issues. DO NOT REMOVE -->
mhlsky, ToddEmonster, annymosse, miniskurken, timongh and 3 more
Metadata
Metadata
Assignees
Labels
No labels