express-socket.io-session
express-socket.io-session copied to clipboard
Parameter problem?
Could someone give me a hint about this?
url.js:73
throw new TypeError("Parameter 'url' must be a string, not " + typeof url);
^
TypeError: Parameter 'url' must be a string, not undefined
at Url.parse (url.js:73:11)
at urlParse (url.js:67:5)
at session (project/node_modules/express-session/index.js:98:24)
at project/node_modules/express-socket.io-session/index.js:66:7
No, not without a code sample |
explanation.
If you have not figured this out already, this bug is incredible simple as it's telling you exactly what the problem is. This is also a basic JS error and nothing to do with this module. Just making that clear for you and others, just in case anyone was wondering.
var url = 'http://www.yahoo.com' console.log(url)
you probably have...
url = 'http://www.yahoo.com/'
console.log(url)
needs to be ...
var url = 'http://www.yahoo.com'
@LaKing - Close ticket?