Tag: webmatrix 2

node.js代码完成/智能感知

我在webmatrix2 / visual studio2012 node.js代码完成有问题我已经阅读了所有的howtos,我可以find我找不到一个合适的解决scheme。 代码完成和intellisense作品有限。 主要是在主要的模块和对象上工作 var server = net.createServer(function (socket){ 并在“套接字”的情况下。 它不工作 或与其他解决scheme,完成工程,但intellisense没有。 我错过了什么? 我已阅读有关这些解决scheme: http://holtcode.blogspot.hu/2012/12/typescript-nodejs-development-part-1.html https://bitbucket.org/kurouninn/node.js-visualstudio-intellisense 谢谢!

在WebMatrix中运行节点应用程序时出错

我安装了WebMatrix并按照这些说明在我的Windows 7机器上安装了IIS 7。 当我点击“运行”运行我的快递节点的应用程序,浏览器popup并告诉我 iisnode模块无法启动node.exe进程。 确保node.exe可执行文件在web.config的system.webServer/iisnode/@nodeProcessCommandLine元素中指定的位置可用。 默认情况下,node.exe预计将安装在x86系统上的%ProgramFiles%\ nodejs文件夹和x64系统上的%ProgramFiles(x86)%\ nodejs文件夹中。 这是我的web.config: <configuration> <system.webServer> <handlers> <!– indicates that the app.js file is a node.js application to be handled by the iisnode module –> <add name="iisnode" path="app.js" verb="*" modules="iisnode" /> </handlers> <rewrite> <rules> <!– Don't interfere with requests for logs –> <rule name="LogFile" patternSyntax="ECMAScript" stopProcessing="true"> <match url="^[a-zA-Z0-9_\-]+\.js\.logs\/\d+\.txt$" /> […]