meteor - 安装巧克力时出错。我应该怎么办?

标签 meteor chocolatey

当我从 Windows 启动加载 cmd.exe 时,我默认进入命令提示符 c:\Users\gameoflife 目录。我是这台计算机的唯一人员和管理员。当我尝试安装 Chocolatey 时,出现此错误(下面包含屏幕截图)。
有人可以帮我弄清楚我可能缺少什么吗?非常感谢! enter image description here

最佳答案

按照安装页面上的说明:

https://chocolatey.org/install#installing-chocolatey

通过命令提示符或 PowerShell 进行的 Chocolatey 初始安装需要管理 shell。有关如何执行此操作的详细信息可以在此处找到:

https://www.howtogeek.com/194041/how-to-open-the-command-prompt-as-administrator-in-windows-8.1/

可以对 Chocolatey 进行非管理安装,如果您希望这样做,我建议您仔细阅读文档的这一部分:

https://chocolatey.org/install#non-administrative-install

但是,请记住以下声明:

This option should be a last resort and is considered to be a more advanced scenario - most things you do on Windows require administrative rights, especially surrounding software management, so you are going to be limited even in packages you attempt to install.

关于meteor - 安装巧克力时出错。我应该怎么办?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47397944/

相关文章:

javascript - 如何在 meteor 助手中返回 meteor 调用值

node.js - 如何在 Node Js 中使用 Mongodb Bulk 和多文档事务?

powershell - 为什么使用 Chocolatey/PowerShell DSC 时 OpenSSL 安装会挂起?

hyper-v - Windows 和 HyperV 上的 Minikube : Stuck on prompt "minikube login"

chocolatey - 如何找出chocolatey安装的包的文件位置?

javascript - react 商务 : TypeError: require(. ..).__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED 未定义

mongodb - 使用 meteor 中的嵌入对象更新集合

mongodb - Mongo 按动态字段排序

powershell - Vagrant Install-ChocolateyInstallPackage : $File parameter not recognized

powershell - 执行使用 Chocolatey 的 Powershell 脚本的空运行