gpt4 book ai didi

node.js - Azure 的 Hello World Node.js 无法正常工作

转载 作者:行者123 更新时间:2023-12-03 06:04:35 27 4
gpt4 key购买 nike

我尝试关注this very basic introduction to Node.js, Azure and the Azure SDK for Node.js

一切都按计划进行,直到我做到这一点:

PS C:\node\helloworld\WebRole1> Start-AzureEmulator -Launch

Creating local package...
Starting Emulator...
Start-AzureEmulator : The system cannot find the file specified
At line:1 char:20
+ Start-AzureEmulator <<<< -Launch
+ CategoryInfo : CloseError: (:) [Start-AzureEmulator], Win32Exce
ption
+ FullyQualifiedErrorId : AzureDeploymentCmdlets.Cmdlet.StartAzureEmulator
Command

我是 Node.js 新手,正在从 PowerShell 调用模拟器,所以我真的不知道从哪里开始找出可能出现的问题。我无法在 Google 上找到这个确切的错误,所以我有点困惑。

有什么想法可以从这里开始吗?任何地方都有日志吗?

最佳答案

我能够在我的计算机上对其进行测试并看到模拟器正在启动,因此看起来像是 Windows Azure SDK 的安装问题。您能否从“http://go.microsoft.com/fwlink/?LinkId=254279&clcid=0x409”确保SDK已正确安装。安装适用于 Node.js 的 Windows Azure SDK:Windows 安装程序

如果这没有帮助,procmon 日志可能会帮助您深入了解丢失的文件。“http://technet.microsoft.com/en-us/sysinternals/bb896645

关于node.js - Azure 的 Hello World Node.js 无法正常工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14605292/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com