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

标签 node.js powershell azure azure-sdk-.net

我尝试关注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/

相关文章:

mysql - Express session 和 SQL : Can I use the info from connect-session-sequelize to feed a login/logout table?

node.js - css 未在所有带有express-handlebars 的路线上呈现

powershell - 为什么我不能在 Powershell 5 中访问函数中的类变量?

javascript - Moment.js 24小时时间格式,处理24小时

javascript - 使用 http 身份验证从 IP 摄像机 url 获取图像

powershell - 写主机 => 导出到文件

c# - 在 C# 中将 PSObjects(或 PS 命令)转换为 JSON

azure - 如何将 Azure SQL 数据库中的函数应用程序列入白名单

azure - 将 Azure SQL Server 完全所有权权限分配给新用户

azure - MS bot服务消息端点可以检测用户的编辑行为吗?