You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using both express-namespace and express resource, I get the following error when trying to implement nested resources:
.../node_modules/express-namespace/index.js:64
fn.namespace = curr;
^
TypeError: Cannot set property 'namespace' of undefined
at HTTPServer. (.../node_modules/express-namespace/index.js:64:20)
at HTTPServer.namespace (.../node_modules/express-namespace/index.js:29:6)
at HTTPServer.get (.../node_modules/express-namespace/index.js:57:10)
at Resource.add (.../node_modules/express-resource/index.js:188:17)
at HTTPServer. (...)
at HTTPServer.namespace (.../node_modules/express-namespace/index.js:29:6)
at ...
E.g
var forums = app.resource('forums', require('resources/forums'), { load: Forum.get });
var threads = app.resource('threads', require('resources/threads'), { load: Thread.get });
When using both express-namespace and express resource, I get the following error when trying to implement nested resources:
.../node_modules/express-namespace/index.js:64
fn.namespace = curr;
^
TypeError: Cannot set property 'namespace' of undefined
at HTTPServer. (.../node_modules/express-namespace/index.js:64:20)
at HTTPServer.namespace (.../node_modules/express-namespace/index.js:29:6)
at HTTPServer.get (.../node_modules/express-namespace/index.js:57:10)
at Resource.add (.../node_modules/express-resource/index.js:188:17)
at HTTPServer. (...)
at HTTPServer.namespace (.../node_modules/express-namespace/index.js:29:6)
at ...
E.g
var forums = app.resource('forums', require('resources/forums'), { load: Forum.get });
var threads = app.resource('threads', require('resources/threads'), { load: Thread.get });
"express": "2.5.2",
"express-resource": "0.2.4",
"express-namespace": "0.0.4",
The text was updated successfully, but these errors were encountered: