芜湖哪些公司做公司网站,网站建设毕业设计总结,如何选择武进网站建设,高端品牌服装问题
全局安装 ni 之后#xff0c;第一次使用会有这个问题 解决
在 powershell 中输入
Remove-Item Alias:ni -Force -ErrorAction Ignore之后再次运行 ni Windows 11 下的 Powershell 环境配置
可以参考 https://github.com/antfu-collective/ni?tabreadme-ov-file#how …问题
全局安装 ni 之后第一次使用会有这个问题 解决
在 powershell 中输入
Remove-Item Alias:ni -Force -ErrorAction Ignore之后再次运行 ni Windows 11 下的 Powershell 环境配置
可以参考 https://github.com/antfu-collective/ni?tabreadme-ov-file#how 下的解决办法
先输入 $profile 获取文件位置如果没有可以手动创建文件夹以及文件 然后把官网上的代码复制进去保存 if (-not (Test-Path $profile)) {New-Item -ItemType File -Path (Split-Path $profile) -Force -Name (Split-Path $profile -Leaf)
}$profileEntry Remove-Item Alias:ni -Force -ErrorAction Ignore
$profileContent Get-Content $profile
if ($profileContent -notcontains $profileEntry) {(n $profileEntry) | Out-File $profile -Append -Force -Encoding UTF8
}