问题描述:

i am trying to connect my node js server using this script

var connect = require('connect');

var port = 3000;

connect.createserver(

connect.static(__dirname)

).listen(port);

console.log('connect via port'+ port);

this error is occur

TypeError: connect.static is not a function

相关阅读:
Top