当我尝试检查是否netlify
已安装时,然后显示此错误:
: The term '' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path
was included, verify that the path is correct and try again.
At C:\Users\alami\AppData\Roaming\npm\netlify.ps1:1 char:1
+ ...
+ ~
+ CategoryInfo : ObjectNotFound: (:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
成功安装npm i -g netlify-cli
后,我得到此错误
我试图解决这个问题
有什么建议吗
确保您具有当前目录,然后打开命令窗口类型 npm install netlify-cli
如果仍然有问题,请从这里阅读文章:doc
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句