^ TypeError: Cannot read property 'application' of undefined at Object.module.exports.start (D:\Demos\multimongoose1\node_modules\mongoose-multi\index.js:85:47) at Object.<anonymous> (D:\Demos\multimongoose1\example.js:20:24) at Module._compile (internal/modules/cjs/loader.js:688:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:699:10) at Module.load (internal/modules/cjs/loader.js:598:32) at tryModuleLoad (internal/modules/cjs/loader.js:537:12) at Function.Module._load (internal/modules/cjs/loader.js:529:3) at Function.Module.runMain (internal/modules/cjs/loader.js:741:12) at startup (internal/bootstrap/node.js:285:19) at bootstrapNodeJSCore (internal/bootstrap/node.js:739:3)
I am trying to run
mongoose-multi\example\production
this example then i am getting below errorD:\Demos\multimongoose1>node example.js
D:\Demos\multimongoose1\node_modules\mongoose-multi\index.js:85 startConnection(conName, url, schemaFile[conName], options);
^
TypeError: Cannot read property 'application' of undefined at Object.module.exports.start (D:\Demos\multimongoose1\node_modules\mongoose-multi\index.js:85:47) at Object.<anonymous> (D:\Demos\multimongoose1\example.js:20:24) at Module._compile (internal/modules/cjs/loader.js:688:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:699:10) at Module.load (internal/modules/cjs/loader.js:598:32) at tryModuleLoad (internal/modules/cjs/loader.js:537:12) at Function.Module._load (internal/modules/cjs/loader.js:529:3) at Function.Module.runMain (internal/modules/cjs/loader.js:741:12) at startup (internal/bootstrap/node.js:285:19) at bootstrapNodeJSCore (internal/bootstrap/node.js:739:3)