小编Sco*_*ler的帖子

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

我安装了WebMatrix并按照这些说明在我的Windows 7计算机上安装IIS 7.

当我单击"运行"以运行我的快速节点应用程序时,浏览器会弹出并告诉我

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$" />
    </rule>

    <!-- Don't interfere with requests for node-inspector debugging -->
    <rule name="NodeInspector" patternSyntax="ECMAScript" stopProcessing="true">
      <match url="^app.js\/debug[\/]?" />
    </rule>

    <!-- First we consider whether the …
Run Code Online (Sandbox Code Playgroud)

runtime-error node.js webmatrix webmatrix-2

6
推荐指数
3
解决办法
6001
查看次数

Python中的numpy数组和多维列表之间的区别?

在简单地查看numpy数组之后,我不明白它们与普通Python列表的区别.有人可以解释这个区别,为什么我会使用numpy数组而不是列表?

python arrays numpy list multidimensional-array

1
推荐指数
1
解决办法
1915
查看次数