Skip to content

vue add doesn't work with pnpm 6,report Error command failed:pnpm install --reporter silent --shamefully-hoist vue-cli-plugin-windicss -D #6476

Closed
@cl1107

Description

@cl1107

Version

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions