小编Ham*_*obe的帖子

纱线已安装但不起作用。命令被识别,但没有任何纱线命令执行任何操作。Windows Powershell

节点版本 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)

然而, …

powershell npm-install yarnpkg

3
推荐指数
1
解决办法
2万
查看次数

标签 统计

npm-install ×1

powershell ×1

yarnpkg ×1