Typeerror: App.get Is Not A Function
I'm trying to use express in a prototype function ioServer() { } module.exports = ioServer; ioServer.prototype.start = function() { var app = require('express') va
Solution 1:
Your app
should be an instance of express.
For example, you could include it like this:
var app = require('express')();
Post a Comment for "Typeerror: App.get Is Not A Function"