节点版本 11.13.0 npm 版本 6.9.0 我已经通过多种方式安装了纱线,首先使用npm install -g yarn,然后我尝试了 .msi 安装程序,我还尝试从提升的 shell 中使用 Chocolatey 安装。通常,当我尝试使用尚未安装的东西时,我会收到如下消息:
PS C:\Users\[me]> hello
hello : The term 'hello' 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 line:1 char:1
+ hello
+ ~~~~~
+ CategoryInfo : ObjectNotFound: (hello:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Run Code Online (Sandbox Code Playgroud)
然而, …