VS code终端读取或写入失败该怎么办?在线求解

求阙者

关注

阅读 215

2022-05-03

读取或写入历史记录文件“C:\Users\szcfy168\AppData\Roaming\Microsoft\Windows\PowerShell\PSReadLine\ConsoleHost_history.txt”时出错: 对路径“C:\Users\szcfy168\AppData\Roaming\Microsoft\Windows\PowerShell\PSReadLine\ConsoleHost_history.txt”的访问被拒绝。
?mnmp : 无法将“nmp”项识别为 cmdlet、函数、脚本文件或可运行程序的名称。请检查名称的拼写,如果 
包括路径,请确保路径正确,然后再试一次。
所在位置 行:1 字符: 1
+ nmp init
+ ~~~
    + CategoryInfo          : ObjectNotFound: (nmp:String) [], CommandNotFoundException      
    + FullyQualifiedErrorId : CommandNotFoundException

精彩评论(0)

0 0 举报