vue add doesn't work with pnpm 6,report Error command failed:pnpm install --reporter silent --shamefully-hoist vue-cli-plugin-windicss -D
See original GitHub issueVersion
4.5.13
Environment info
Environment Info:
System:
OS: macOS 11.3.1
CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
Binaries:
Node: 14.16.1 - ~/.nvm/versions/node/v14.16.1/bin/node
Yarn: 1.22.10 - /usr/local/bin/yarn
npm: 6.14.12 - ~/.nvm/versions/node/v14.16.1/bin/npm
Browsers:
Chrome: 90.0.4430.93
Edge: 90.0.818.56
Firefox: 87.0
Safari: 14.1
npmPackages:
@vue/cli-plugin-babel: ~4.5.0 => 4.5.13
@vue/cli-plugin-eslint: ~4.5.0 => 4.5.13
@vue/cli-service: ~4.5.0 => 4.5.13
eslint-plugin-vue: ^6.2.2 => 6.2.2
vue: ^2.6.11 => 2.6.12
vue-cli-plugin-windicss: ~0.2.0 => 0.2.0
vue-eslint-parser: 7.6.0
vue-template-compiler: ^2.6.11 => 2.6.12
npmGlobalPackages:
@vue/cli: 4.5.13
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
Issue Analytics
- State:
- Created 2 years ago
- Reactions:15
- Comments:28
Top Results From Across the Web
node.js - Problems with NPM INSTALL command in Vue project
Now that I want to run the project separately and already having the whole document I get the following error. λ npm install...
Read more >pnpm install --reporter silent --shamefully-hoist 错误解决办法_ ...
ERROR Error : command failed: pnpm install --reporter silent --shamefully-hoist 错误解决办法_凡人2705的博客-CSDN博客
Read more >pnpm install --reporter silent --shamefully-hoist @vue/cli-service
npm i pnpm@6 -g Using the PNPM 7.x version causes an error, PNPM 6.32.14 can successfully create a project.
Read more >Installation - Vue.js
There are four primary ways of adding Vue.js to a project: Import it as a CDN package on the page; Download the JavaScript...
Read more >New Vuex Client / Starting Project / Guide / Logux
Logux is a client-server communication tool for collaborative web applications with optimistics UI, offline first and live updates.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
pnpm 7.0.0 Same problem
Really thanks https://github.com/vuejs/vue-cli/issues/6476#issuecomment-1137174677 Fixed via
Works great for me.