如图
为什么会undefined is not a function?
自己 console 打印出来不就知道了?connect
下面只有一个 createServer
函数好么。你的使用方法有问题,自己去看人家的包说明去:https://www.npmjs.com/package/connect
如图
为什么会undefined is not a function?
自己 console 打印出来不就知道了?connect
下面只有一个 createServer
函数好么。你的使用方法有问题,自己去看人家的包说明去:https://www.npmjs.com/package/connect