小编Abh*_*edi的帖子

无法使用node.js上的express框架执行server.js程序

在尝试执行server.js程序时,我收到以下错误:

var app = express();
Type error: object is not a function 
   at object.<anonymous>
Run Code Online (Sandbox Code Playgroud)

甚至尝试重新安装和更改快递的版本

npm install
npm uninstall express
npm install express@2.5.9
Run Code Online (Sandbox Code Playgroud)

但它导致了新的 error

fqdn = ~req.url.indexof(' ://')
Run Code Online (Sandbox Code Playgroud)

我使用Windows,我正在使用node.js版本0.8.4.

node.js express

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

标签 统计

express ×1

node.js ×1