Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/azure/11.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
使用Windows Azure Emulator安装Node.js的正确安装过程是什么_Node.js_Azure_Emulation - Fatal编程技术网

使用Windows Azure Emulator安装Node.js的正确安装过程是什么

使用Windows Azure Emulator安装Node.js的正确安装过程是什么,node.js,azure,emulation,Node.js,Azure,Emulation,这个问题与这个问题有关: 我需要在windows emulator中重新安装和启动node.js并运行的帮助 您好,我正在重新安装我的机器: Toshiha笔记本电脑 2GB内存 32位处理器 从开始到完成node.js开发的正确过程是什么,到目前为止什么都没有起作用,emulator(IIS Express)工作处理器不断崩溃。不管有多少实例,它们最终都会崩溃。直到两周前,我的节点开发工作正常,但我必须重新安装,从那时起,我就没有在windows emulator上进行任何node.js

这个问题与这个问题有关:

我需要在windows emulator中重新安装和启动node.js并运行的帮助

您好,我正在重新安装我的机器:

  • Toshiha笔记本电脑
  • 2GB内存
  • 32位处理器
从开始到完成node.js开发的正确过程是什么,到目前为止什么都没有起作用,emulator(IIS Express)工作处理器不断崩溃。不管有多少实例,它们最终都会崩溃。直到两周前,我的节点开发工作正常,但我必须重新安装,从那时起,我就没有在windows emulator上进行任何node.js开发,因为最新的2012年6月针对node.js的Azure SDK存在缺陷

以下是我采取的步骤:

1) 重新格式化HD 2) 插入Windows 7 N SP1 CD 3) 将计算机重新引导到CD安装中 4) 请遵循并等待安装Windows 7 5) 运行添加/删除程序+启用IIS+IIS管理工具 6) 运行Windows Update(已安装约53个更新) 7) 到这里来 8) 单击Windows安装程序2012年6月,然后安装Windows Azure SDK for Node.js-2012年6月 9) 运行Azure Powershell 10) 导航到c:\node\testSite\webrole1 11) 发布地点:启动azureemulator-发布 12) 在网站上玩(然后崩溃!)


我是否在辞职过程中遗漏了一个步骤?我是否拥有进行node.js windows azure emulator开发所需的所有文件?为什么IIS Express一直在崩溃?我是否仍可以在不使用IIS Express的情况下进行node.js windows azure emulator开发,并使用随附的本地windows 7 N(SP1)IIS 7.x?

要解决此问题,我执行了以下操作:

1) Reinstall Windows 7 N SP1
2) Run Add/Remove Programs
3) Select IIS (go through and enable all the bits)
4) Run Windows Update (53 mandatory updates)
5) Install MS Visual Studio 2012 RC Release
6) Run MS Visual Studio 2012 RC Release
7) Select New Project/Cloud
8) Click the button that says 'Install Windows Azure SDK'
9) Install Windows Azure SDK (this installs IIS Express 8.0)
10) In Web Platform Installer, select Powershell and Windows Azure SDK for Node.js - June 2012

现在IIS工作进程不再崩溃。分析情况后,可能是IIS 8.0版本解决了问题。

您只需在web pi中安装“Windows Azure SDK for Node.js”,这将链接所有需要的部分,包括适用于Windows Azure的模拟器和IIS Express 8的相应版本


要缩小问题范围,您可以做以下几件事:

(1) 在您的服务目录中,导航到local_package.csx\roles\\approot\bin并查看log.txt的内容->这是来自角色启动的日志,它将告诉您角色的初始配置是否存在任何问题(在角色配置时,复制iisnode_架构,并向iis express注册http模块)


(2) 在您的web角色目录中,查看iisnode目录中的日志文件,如果在您的节点应用程序中有任何数据打印到控制台,它将显示在此处

收回此答案,它仍在崩溃。和以前一样的错误。每次我重新启动应用程序时,这种情况发生得更频繁。非常令人沮丧。嗨,马克,谢谢你的建议,我买了一台64位的机器,并解决了其他一些问题,比如console.log,现在一切似乎都正常,干杯。
1) Reinstall Windows 7 N SP1
2) Run Add/Remove Programs
3) Select IIS (go through and enable all the bits)
4) Run Windows Update (53 mandatory updates)
5) Install MS Visual Studio 2012 RC Release
6) Run MS Visual Studio 2012 RC Release
7) Select New Project/Cloud
8) Click the button that says 'Install Windows Azure SDK'
9) Install Windows Azure SDK (this installs IIS Express 8.0)
10) In Web Platform Installer, select Powershell and Windows Azure SDK for Node.js - June 2012