ni icon indicating copy to clipboard operation
ni copied to clipboard

关于 `Trouble shooting` 修复 window PowerShell 冲突的脚本

Open Carina957 opened this issue 1 year ago • 1 comments

Describe the bug

当我把 脚本 添加到我的 PowerShell 配置文件中,尝试修复 Conflicts with PowerShell 时,发生了某些异常。

Reproduction

https://chis-blog.netlify.app/notes/reproduction/

System Info

System:
    OS: Windows 10 10.0.19044
    CPU: (12) x64 Intel(R) Core(TM) i5-10400 CPU @ 2.90GHz   
    Memory: 976.27 MB / 7.89 GB
  Binaries:
    Node: 16.19.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.19 - C:\Program Files\nodejs\yarn.CMD
    npm: 8.19.3 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Spartan (44.19041.1266.0), Chromium (111.0.1661.41)
    Internet Explorer: 11.0.19041.1202

Used Package Manager

npm

Validations

  • [X] Follow our Code of Conduct
  • [X] Read the Contributing Guide.
  • [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • [X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • [X] The provided reproduction is a minimal reproducible of the bug.

Carina957 avatar Mar 17 '23 08:03 Carina957

just open your profile and add Remove-Alias ni -Force...

so1ve avatar Mar 31 '23 12:03 so1ve