-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vue add doesn't work with pnpm 6,report Error command failed:pnpm install --reporter silent --shamefully-hoist vue-cli-plugin-windicss -D #6476
Comments
I have similar error Version4.5.13 Environment info
Steps to reproduce
What is expected?add eslint plugin successfully What is actually happening?
Try to run
|
similar too. Version4.5.15
Steps to reproduce
What is expected?upgrade successfully. What is actually happening?got :
Any additional comments? (optional)add
|
same as vue-cli v5
|
any ideas why this does not work? |
As a workaround I renamed node_modules/.modules.yaml to node_modules/.modules.yaml_bak |
This is still a problem |
1 similar comment
This is still a problem |
|
Same problem happened to me when I run |
pnpm 7.0.0 Same problem
|
vue create vue-demo -m npm |
I set up a test environment in a container node v16 Using the PNPM 7.x version causes an error, PNPM 6.32.14 can successfully create a project |
I am having same issue with apple m1 macbook air, 8 gb ram |
Really thanks #6476 (comment) $ npm i pnpm@6 -g
$ vue create PROJECT Works great for me. |
Any update for pnpm@7? |
|
|
More:
|
I have vue-cli v5.0.8 and pnpm 7.8.0 and I can confirm this issue. I want to be able to use pnpm on my project because I have an old ADSL which speeds are concerning, and I was relived to see vue-cli has compatibility for pnpm. However it seems broken? 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:513:28)
at maybeClose (node:internal/child_process:1093:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5) |
This issue was fixed in #7265 and should be closed. |
|
Same issue still occurs |
有人已经解决了这个问题,是因为pnpm v7默认的配置导致的,vue 官方人员已经merge该commit到dev分支了,应该会在下一个版本发布时修复 |
@linghengqian @cl1107 Vue CLI v5.0.8 |
|
That was fast. I assume this is because it isn't released yet? |
It has not been published to npm yet. You need to build the dev branch and hook into your local repo or private repo. |
and how do you use dev branch? |
same error in Vue CLI v5.0.8. How to hook into my repo? |
@Benleie You need to complete |
Version
4.5.13
Environment info
Steps to reproduce
1.vue create tailing
2、rm -fr node_module
3、pnpm i
4、vue add windicss
What is expected?
add windicss successfully
What is actually happening?
ERROR command failed: pnpm install --reporter silent --shamefully-hoist vue-cli-plugin-windicss -D
The text was updated successfully, but these errors were encountered: