yarnpkg / yarn

The 1.x line is frozen - features and bugfixes now happen on https://github.com/yarnpkg/berry
https://classic.yarnpkg.com
Other
41.39k stars 2.72k forks source link

【bug report】yarn global vue-cli3 command cannot be used in powershell #7069

Open cooper1x opened 5 years ago

cooper1x commented 5 years ago

Do you want to request a feature or report a bug? report a bug

What is the current behavior? Type vue --version in powershell. The result is a string of red errors

If the current behavior is a bug, please provide the steps to reproduce. From powershell, type the following commands

  1. yarn add global @vue/cli
  2. vue --version

What is the expected behavior? image

Please mention your node.js, yarn and operating system version. node v11.8.0 Windows10 1809

agentschmitt commented 5 years ago

This could be same issue as in https://github.com/yarnpkg/yarn/issues/6902