草庐IT

CommandNotFoundException

全部标签

windows - 启动 PowerShell session 时出错

我正常使用PowerShell(正在使用poshgit,只是提一下),突然发生了一个奇怪的行为,我试图重新启动session,当我这样做时,我得到了很多错误,它们是:Split-Path:Theterm'Split-Path'isnotrecognizedasthenameofacmdlet,function,scriptfile,oroperableprogram.Checkthespellingofthename,orifapathwasincluded,verifythatthepathiscorrectandtryagain.AtC:\Users\aymen.daoudi\Do

FullyQualifiedErrorId : CommandNotFoundException(vue 报错,已安装了vue脚手架)

 可能是因为你的node路径更换位置了,需要重新配置环境变量。在搜索栏中搜索vue.cmd复制路径,然后在系统环境变量path中添加vue.cmd的路径保存。就OK了。